 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
vijaya_ls123
Joined: 20 Oct 2007 Posts: 1
|
Posted: Sat Oct 20, 2007 10:43 am Post subject: script - that shows filepath,windowsname,command |
|
|
TO
MR HELP
After RUN, C:\SUBDIRECTORY\APPLICATION
would like to know what other windows and controls it opens
How to read text and compare with another string and
send required text to the field
Amatuer  |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Sat Oct 20, 2007 11:32 am Post subject: |
|
|
Dear Vijaya,
Welcome to the world of AHK.
Unfortunately your question is very vague, so it is hard for me to answer it in detail. The best way to start is to read the manual. It is very good and explains a lot.
You have many options to get a text from the user. Please look up: InputBox, Input, GUI, IniRead, FileRead
To compare the strings you can use the "=" command, or StrLen(), InStr()
To send a string to a field, you can either send it over the clipboard, or with Send, SendInput, SendPlay, ControlSend
You see there are several possible actions. Please help us to help you by being more specific. Thank you and have fun scripting. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Sat Oct 20, 2007 8:17 pm Post subject: |
|
|
you can use the PID parameter in run command to capture the PID of the target program, then use ahk_pid %PIDvar% in any command where WinTitle is a parameter. (Winget, controllist) _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|