Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

How to launch program by clicking?

  • Please log in to reply
3 replies to this topic
Colin Reid
  • Guests
  • Last active:
  • Joined: --
Hi people!

I need a help. Does anyone know how I can make it so when I click the auto-hotkey script a program is launched?

For example I make the script called "Internet.ahk"

I then put in it the script like I duno somthing like:

~ When double clicked:: Run www.google.com ~

and save.

So when I double click on the "internet.ahk" script google launches.

I don't want it so I have to double click to run the script AND have to press a hotkey.

Thanks In advance =]

Colin Ried
  • Guests
  • Last active:
  • Joined: --
please somebody?

  • Members
  • 1391 posts
  • Last active: Jun 08 2011 05:31 AM
  • Joined: 18 Apr 2008
Run, <!-- w -->www.google.com<!-- w -->

...and that's it. If that's the entirety of your script, it will run google as soon as it is run.

  • Members
  • 936 posts
  • Last active: Aug 13 2019 02:50 AM
  • Joined: 09 Jun 2008
heres what you do...

if you want to run a program you right click th program and go to properties. There will be a bar with somethign like

C:someonescomputer/suchandsuchafolder/programname.ahk or exe or phk or what ever.

Run, C:someonescomputer/suchandsuchafolder/programname.ahk 
adn when the code is ran that program will open.

some times the "C:" is broken up into parts.

The location, (C:someonescomputer/suchandsuchafolder)
The Name, (programname)
The . something, (exe, ahk or phk)

if you want a web page...

Run, http://www.google.ca

Posted Image
I know i have 6 legs. It's cuz I'm special.