mulletmandan Posted July 27, 2005 Posted July 27, 2005 (edited) Okay, I ran into another issue with my script. I am trying to tell the script to wait until Enter is pressed (i.e. send a message saying "Adjust the crop and press enter" then tell the script to wait) so the user can adjust the cropping of the prescanned photo, then press enter. I would assume I use SetHotKey, but my scripts always seem to have errors. Any help would be greatly apreciated! Oh, and I have searched around here and the help files. Edited July 27, 2005 by mulletmandan
seandisanti Posted July 27, 2005 Posted July 27, 2005 (edited) Okay, I ran into another issue with my script. I am trying to tell the script to wait until Enter is pressed so the user can adjust the cropping of the prescanned photo, then press enter. I would assume I use SetHotKey, but my scripts always seem to have errors. Any help would be greatly apreciated! Oh, and I have searched around here and the help files.<{POST_SNAPBACK}>are you able to post your code? without code, this is my best suggestion...HotKeySet("{ENTER}","UnPause") ;program statements to execute before pause while 1 sleep(100) wend Func UnPause() ;statements to execute after pause EndFunc***edit*** i always forget to add the code close tag... Edited July 27, 2005 by cameronsdad
mulletmandan Posted July 27, 2005 Author Posted July 27, 2005 Worked like a charm Thanks for putting up with my newbiness
seandisanti Posted July 28, 2005 Posted July 28, 2005 Thanks for putting up with my newbiness <{POST_SNAPBACK}>lol, np, glad i could help. and don't worry about newbiness, it washes off pretty quick if you watch the forums here. i can't tell you how much i've learned in the last month or so that i've been participating where i can.
Errorlevel_03 Posted July 28, 2005 Posted July 28, 2005 (edited) HotKeySet("{ENTER}","UnPause") ;program statements to execute before pause while 1 sleep(100) wend Func UnPause() ;statements to execute after pause EndFunc May I ask what "wend" is? Edited July 28, 2005 by Errorlevel_03 I hope you know what a spoiler is...[u]"title WOOPS:Var_start "WOOPS" %0goto Var_"-A true n00b at work[/u]
buzz44 Posted July 28, 2005 Posted July 28, 2005 (edited) Basic computing keyword and also pseudocode.For every While you have you must also have an Wend. Just like for every If you have an EndIf.While 1 ;... Error While 1 ;No error Wend Edited July 28, 2005 by Burrup qq
Errorlevel_03 Posted July 28, 2005 Posted July 28, 2005 Basic computing keyword and also pseudocode.For every While you have you must also have an Wend. Just like for every If you have an EndIf.While 1 ;... Error While 1 ;No error Wend<{POST_SNAPBACK}> ahhhh ok thanks alot! I hope you know what a spoiler is...[u]"title WOOPS:Var_start "WOOPS" %0goto Var_"-A true n00b at work[/u]
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