Button Shortcut Docklet

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.

#489287

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}")

#489299

Thanks so much Dodgers!!

That helps really much.

Hope somebody finds out how to make keystrokes (:

#489301

Glad I could help. I hope you saw my edit:-).

Dodgers.

#489303

Hope somebody finds out how to make keystrokes

you 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"

#489316

you can download MacroRunner from de CD Art Display forums, it's really easy to use

#489336

Lol, nah, thanks anyway Ghostwalker and frangio.

But Dodgers gave me all the help i needed.

Thanks so much.

#489344