Launch Website

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
everhart07
Newbie
Posts: 1
Joined: Tue Dec 04, 2007 12:49 am

Launch Website

Post by everhart07 » Tue Dec 04, 2007 12:51 am

Hey guys,

I was wondering how I can create a macro to open up a website when a certain key is pressed on the keyboard. Can anyone help me out?

Thanks,
Nick

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Dec 04, 2007 8:10 am

This code will open a website:

ExecuteFile>http://www.mjtnet.com/

You could create a macro with just that line of code. Assign the macro to the hotkey of your choice.

If you want more control over the keystroke you want to use, you could use an OnEvent>KEY_DOWN handler. See the help file for OnEvent and search the forum for examples.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts