| Author |
Message |
Topic: Running another program then retrieving a value |
fooz
Replies: 11
Views: 1416
|
Forum: Ask for Help Posted: Mon Jan 23, 2006 6:15 pm Subject: Running another program then retrieving a value |
| Great to hear about the file i/o benchmarking results. Thanks! |
Topic: Running another program then retrieving a value |
fooz
Replies: 11
Views: 1416
|
Forum: Ask for Help Posted: Mon Jan 23, 2006 4:35 pm Subject: Running another program then retrieving a value |
Both the file and clipboard methods seem sloppy to me.
The php file I'm calling is a database api that I run many times a second to pull information from the database. Using file i/o would certainl ... |
Topic: looking for a (postgre) SQL API |
fooz
Replies: 2
Views: 364
|
Forum: Ask for Help Posted: Sat Jan 21, 2006 9:25 pm Subject: looking for a (postgre) SQL API |
Thanks.
I've actually gone the PHP route and needing only an integer value from the database returned, I'm able to pass it from the PHP to AHK via the exit code. |
Topic: CMDret - return output from console progs [DLL version] |
fooz
Replies: 102
Views: 19375
|
Forum: Utilities & Resources Posted: Fri Jan 20, 2006 6:47 pm Subject: CMDret - return output from console progs [DLL version] |
Hi,
Crossposting the following from this post:
CMDout=
CMDerr=
ProgramName := "C:\php\php.exe getVPIP.php 5"
Ret := RunWaitEx(ProgramName, NULL, TextIn, CMDout, CM ... |
Topic: Running another program then retrieving a value |
fooz
Replies: 11
Views: 1416
|
Forum: Ask for Help Posted: Fri Jan 20, 2006 6:42 pm Subject: Running another program then retrieving a value |
| Ok. I got method 1 to work, but I'd still like to learn more about how CMDret works. The first method is acceptable because my passed value can be an integer, but in the future it would help to have t ... |
Topic: Running another program then retrieving a value |
fooz
Replies: 11
Views: 1416
|
Forum: Ask for Help Posted: Fri Jan 20, 2006 4:21 pm Subject: Running another program then retrieving a value |
Thanks for the reply.
Changing the return syntax as you suggest doesn't seem to matter. I think the nuance may be whether or not you follow Return with a comma.
Return, %RetVal%
...as opposed t ... |
Topic: Running another program then retrieving a value |
fooz
Replies: 11
Views: 1416
|
Forum: Ask for Help Posted: Fri Jan 20, 2006 9:17 am Subject: Running another program then retrieving a value |
I have the following ahk script that is supposed to execute my php program, passing the value 5. Then the ahk script should receive a single value from the program.
None of the 3 methods I've tried ... |
Topic: looking for a (postgre) SQL API |
fooz
Replies: 2
Views: 364
|
Forum: Ask for Help Posted: Thu Jan 19, 2006 9:09 pm Subject: looking for a (postgre) SQL API |
Hi,
I have a pretty simple SQL call I want to make to my postgreSQL db, and I'm looking for any direction you can give. I'm guessing some sort of api (hopefully already written) is what I need.
... |
| |