Jump to content

How To Make A Shortcut.


Recommended Posts

straight from help

; Sets a shortcut with ctrl+alt+t hotkey
FileCreateShortcut(@WindowsDir & "\Explorer.exe",@DesktopDir & "\Shortcut Test.lnk",@WindowsDir,"/e,c:\", "This is an Explorer link;-)", @SystemDir & "\shell32.dll", "^!t", "15", @SW_MINIMIZE)

try help first

8)

NEWHeader1.png

Link to comment
Share on other sites

hi i really look for a shortcut code.. if someone knows one please tell :D

if u dont fully understand what i mean... i mean a shortcut icon on the desktop..

Get the latest Beta and check the help file. I believe there is a CreateShortcut() or some-such in there now. I'm not around any windows boxes at the moment (hence the low stress level), so I can't look right now.

:oops:

Edit: Beat to it by Valuater... :) Must type faster! :(

Edited by PsaltyDS
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

  • Moderators

k i got one more problem.. :)

i try to make it have path to my WOW folder but i cant make it work with the globals... anyone know how?

etc like

$wowpath

That's a variable not a global, care to elaborate (with a script perhaps :( )

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Moderators

:) you had to say this? xP

still i tested many ways.... still no luck Oo

Glad you're still testing, but you asked a question, no matter how ebonic it seems/seemed, the easiest and most proficient way to get an answer is by providing the script or snipplet of the "non-working" script that your having an issue with, and out lining what it is your having issues with in detail.

Edit:

Typo

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

youre right, my fault :(

btw here is the little code :)

Global $wowpath = "c:\"

FileCreateShortcut(@WindowsDir & "\Explorer.exe",@DesktopDir & "\Chronos Tool.lnk",$wowpath,"Chronos tool.exe", "Click here to start Chronos tool", @SystemDir & "\shell32.dll", "^!t", "15", @SW_MINIMIZE)

the c:\ is an example..

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...