AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

script - that shows filepath,windowsname,command

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
vijaya_ls123



Joined: 20 Oct 2007
Posts: 1

PostPosted: Sat Oct 20, 2007 10:43 am    Post subject: script - that shows filepath,windowsname,command Reply with quote

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 Crying or Very sad
Back to top
View user's profile Send private message Send e-mail
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sat Oct 20, 2007 11:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Sat Oct 20, 2007 8:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group