AutoHotkey Community

It is currently May 26th, 2012, 10:44 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: September 16th, 2009, 5:20 pm 
This is probably a simple solution but I cannot seem to solve it. I have a Citrix ICA that I want to lauch with a keystroke; however, when I use the Run command to the path it will not launch.

My code like as such:

; Provantis 7
#6:: Run \\brwsdata1.pharma.aventis.com\groups\DRUGSAFE\FORMULARY\Provantis 7.1.1.10 GV-BW

Any help would be appreciated.

Thanks


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 16th, 2009, 5:25 pm 
Offline

Joined: December 24th, 2008, 3:25 am
Posts: 1401
Location: :noitacoL
Two little things;

1.) #6 = Windows-Key 6 (not the actual number 6, incase you did not know that, no offense).
2.) Your file path does not look complete, what is the file path for the icon you would click on, on the Hard Drive (EG: C:\Program Files\AutoHotke\AU3_Spy.exe)


Quote:
The pound sign [#] stands for the Windows key, which is known as a modifier:

#n::
Run Notepad
return

In the final line above, "return" serves to finish the hotkey. However, if a hotkey needs to execute only a single line, that line can be listed to the right of the double-colon. In other words, the return is implicit:

#n::Run Notepad


So:
#6::Full_file_path_here ;windowsKey + #6 launches your program


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: JSLover, Miguel, rbrtryn, XstatyK and 56 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group