I'm just messing with WinCustomize's personal site stuff. I have no idea what the heck I'm doing so this would be my site.... with pretty much nothing on it seeing as I don't have Photoshop. I just got here so I could comment people really...
Do any of you know of a neat little application that will emulate a keyboard shortcut when you open it? I desperately need one of those for my dock. I use Virtual Desktop Manager. it's kind of like Spaces except not as fancy and it's for windows. It's actually a Microsoft PowerToy. but anyways, I'd like for there to be an icon in my dock that when you click it, it runs a keyboard shortcut. I have the free version of OD so don't call me an idiot if there's something like that for OD+ (idk whether there is or not but whatever) Frankell recommended using a macro, but when I googled it (macro keyboard shortcut) I got ... well mac stuff and Microsoft crap. any suggestions?
Comments
on Feb 10, 2008
If that's all you're looking for then a simple script using the Sendkeys Method should do it.

Something like this:
This would be ctrl+s

Code: vbscript
  1. var WshShell = WScript.CreateObject("WScript.Shell");
  2. WshShell.SendKeys("^s");


Code: javascript
  1. var WshShell = WScript.CreateObject("WScript.Shell");
  2. WshShell.SendKeys("^s");
on Feb 11, 2008
Hi
using AutohotKey:
you can make the .exe for your little macro
+ run the shortcut .exe in OD

WWW Link
on Feb 11, 2008
frankell




Beat me to it.



Autohotkey is way cool.



on Feb 11, 2008
Ooh, thanks!!! I have to ask though. does the sleep command work OK for you guys? i can't get it to work. The expose works great. I figured I could make AutohotKey do the sleep function for me. I've tried both #us and {sleep}. I'd like for there to be a way how to have pauses in between the keys because in order to do #us, (winkey, u key, s key for standby) there has to be a slight pause in between each key