qwee Posted May 31, 2009 Posted May 31, 2009 Hey! Working on a restarter, and I've fixed so it starts and quits the program. But now I need a way to send CTRL+S to the application when it starts (the active window!!) Tried: Send("{CTRL down}") Send("{S}") Send("{CTRL up}") But it didn't work. Neihter did: Send("{^s}")
martin Posted May 31, 2009 Posted May 31, 2009 Hey!Working on a restarter, and I've fixed so it starts and quits the program. But now I need a way to send CTRL+S to the application when it starts (the active window!!)Tried: Send("{CTRL down}")Send("{S}")Send("{CTRL up}")But it didn't work. Neihter did:Send("{^s}")Your sends are faulty, it should beSend("^s")to send Ctrl s. Some applications need to have the Case correct so try "^s" and "^S". 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.
qwee Posted May 31, 2009 Author Posted May 31, 2009 Your sends are faulty, it should beSend("^s")to send Ctrl s. Some applications need to have the Case correct so try "^s" and "^S".Thanks!Worked now spoo 1
martin Posted May 31, 2009 Posted May 31, 2009 Thanks!Worked now That's ok.Glad it's working. 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.
Asuranii Posted April 23, 2011 Posted April 23, 2011 i'm sorry to bring back this topic to life but i really need to know how to make a script (an .exe ?) that do CTRL+S I work in photoshop, and I want to CTRL+S every 10min can someone help ?
somdcomputerguy Posted April 23, 2011 Posted April 23, 2011 @Asuranii - you could put the Send and Sleep functions in a While..WEnd loop, or you could read thru the Help file and some tutorials and get yourself learnt! - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
Asuranii Posted April 26, 2011 Posted April 26, 2011 I know ... but it's time consuming... I'm already full time on other stuffand since I only need a CTRL+S every 10min, I though someone could have helped me by giving me the code. (like I help people in my Adobe forum/board)/sorry for the bad english
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