lizardly Posted June 19, 2007 Share Posted June 19, 2007 I need to Select the text (file) path from a text box in an application. I want it as a variable (string) so I can use the path for file operations. I've seen the Send("{SHIFTDOWN}{DOWN 1}{SHIFTUP}{CTRLDOWN}c{CTRLUP}") root but haven't had a chance to play with it yet and don't see how to get it into a variable. Any hints? TIA Link to comment Share on other sites More sharing options...
herewasplato Posted June 20, 2007 Share Posted June 20, 2007 I need to Select the text (file) path from a text box in an application.I want it as a variable (string) so I can use the path for file operations.I've seen the Send("{SHIFTDOWN}{DOWN 1}{SHIFTUP}{CTRLDOWN}c{CTRLUP}") rootbut haven't had a chance to play with it yet and don't see how to get it into a variable.Any hints?TIAWelcome to the forum.Take a look in the help file under ClipGet() [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
lizardly Posted June 20, 2007 Author Share Posted June 20, 2007 Welcome to the forum.Take a look in the help file under ClipGet()That got me there!Thanks!Send("!O") ; OptionsSend("p") ; PreferencesFor $i = 0 to 6 Step 1 ; tabs to log file path Send("{Tab}") Sleep(100)Next; Select the old path text to put these two missing files in! Send("{SHIFTDOWN}{DOWN 1}{SHIFTUP}{CTRLDOWN}c{CTRLUP}")$SessionPath = ClipGet() Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now