Jump to content

FileCreateShortcut Hotkey Options


Recommended Posts

Hi,

I want my application to launch when pressing the Alt + F2 keys are

pressed. Ctr + Alt +F2 is NOT OK for me because all my users are

aready used to using just Alt+F2 keystrokes.

When I created this test script the properties of my link show the

Hot keys as Ctrl + Alt + F2.

$FILE=@WindowsDir & "\Explorer.exe"

$LNK=@DesktopDir & "\Shortcut Test.lnk"

$WORKDIR="@WindowsDir"

$ARGS="/e,c:\"

$DESC="This is an Explorer link;-)"

$ICON=@SystemDir & "\shell32.dll"

$HOTKEY="!{F2}"

$ICNUM="16"

$STATE=@SW_MINIMIZE

FileCreateShortcut

($FILE,$LNK,$WORKDIR,$ARGS,$DESC,$ICON,$HOTKEY,$ICNUM,$STATE)

My previous au2 script,using a helper program worked, but I want

to rewrite my program for au3.

Thanks

Link to comment
Share on other sites

Hmm... it appears changes were made to FileCreateShortcut after I wrote some of the documentation (the remarks section)....

I cannot even get Ctrl+NumPad0 hotkeys to be created correctly.... AutoIt's FileCreateShorcut insists on using Ctrl+Alt...

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...