ycomp Posted April 23, 2008 Share Posted April 23, 2008 Hi, I'm using Send to send !{F3}... occasionally the window only seems to receive F3 instead of !{F3}.. that is, usually it works properly and the ALT F3 action is executed... but occasionally I see that an F3 action is executed. Because it is intermittent it is hard to debug. Does anyone know why this occurs, and if there is a workaround? Would ControlSend perhaps be more reliable? Link to comment Share on other sites More sharing options...
d4rk Posted April 23, 2008 Share Posted April 23, 2008 (edited) Send({Alt Down}) Send({F3}) sleep(100) Send({Alt Up}) Edited April 23, 2008 by d4rk [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
marble127 Posted April 23, 2008 Share Posted April 23, 2008 The way to go in ANY case is to use ControlSend! However, I'v noticed some functions not to respond to that as well. In most cases this is due to timing issues (as in speed). In the past I delt with this by adding a short pause in executing the script, like so: ;some code Sleep(111) ; this will pause the script for .11 seconds ;some code Sleep(111) ;some code etc. Hope this helps, Martin Link to comment Share on other sites More sharing options...
ycomp Posted April 23, 2008 Author Share Posted April 23, 2008 great, I will try suggestions on this page.. thanks guys Link to comment Share on other sites More sharing options...
martin Posted April 23, 2008 Share Posted April 23, 2008 great, I will try suggestions on this page.. thanks guysMight be worth looking up SendKeyDelay and SendKeyDownDelay in AutoItSetOption. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. 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