yusufmothman Posted January 27, 2008 Report Share Posted January 27, 2008 In short words,I need a docklet that does a button shortcut,e.g. Click on the docklet and it activates "F8" (for instance).I just need one so that with that press of the button it launches my dashboard (:Can anyone help me with this?Thanks.And oh yeah, I was also hoping that it can also do keystrokes like Alt-Tab or something. Link to comment
Dodgers Posted January 27, 2008 Report Share Posted January 27, 2008 Open notepad and paste the following:set WshShell = CreateObject("WScript.Shell")WshShell.SendKeys "{F6}"Where you see "F6" written change it to e.g. F1. Then save it as a .vbs file and name it e.g. "F1.vbs" which in this case will bring up windows help.About the keystrokes part, I don't know if it's possible. Maybe someone more experienced than me knows.Hope this helps, Dodgers.EDIT: Solution to Alt+Tab...Copy this and save as a .vbs file:set WshShell = CreateObject("WScript.Shell")WshShell.SendKeys ("%{TAB}") Link to comment
yusufmothman Posted January 27, 2008 Author Report Share Posted January 27, 2008 Thanks so much Dodgers!!That helps really much.Hope somebody finds out how to make keystrokes (: Link to comment
Dodgers Posted January 27, 2008 Report Share Posted January 27, 2008 Glad I could help. I hope you saw my edit:-).Dodgers. Link to comment
Ghostwalker Posted January 27, 2008 Report Share Posted January 27, 2008 Hope somebody finds out how to make keystrokesyou can do copy, paste any and all that you can do with keys you can do with vb script using sendkeys. what in particular were you looking for by "keystrokes" Link to comment
frangio Posted January 28, 2008 Report Share Posted January 28, 2008 you can download MacroRunner from de CD Art Display forums, it's really easy to use Link to comment
yusufmothman Posted January 28, 2008 Author Report Share Posted January 28, 2008 Lol, nah, thanks anyway Ghostwalker and frangio.But Dodgers gave me all the help i needed.Thanks so much. Link to comment
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now