Send CTRL+S to the active window?
#1
Posted 31 May 2009 - 03:15 PM
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}")
#2
Posted 31 May 2009 - 03:24 PM
Your sends are faulty, it should beHey!
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}")
Send("^s")
to send Ctrl s. Some applications need to have the Case correct so try "^s" and "^S".
#3
Posted 31 May 2009 - 03:40 PM
Thanks!Your sends are faulty, it should be
Send("^s")
to send Ctrl s. Some applications need to have the Case correct so try "^s" and "^S".
Worked now
#4
Posted 31 May 2009 - 04:04 PM
Thanks!
Worked now
That's ok.
Glad it's working.
#5
Posted 23 April 2011 - 12:55 AM
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 ?
#6
Posted 23 April 2011 - 01:24 PM
#7
Posted 26 April 2011 - 08:17 AM
and 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
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





