Sign in to follow this  
Followers 0
vikingnor

How To Make A Shortcut.

9 posts in this topic

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

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

gahh thx i am so confused when i see it ^^

but it helped me a lot with other things.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :( )

[center]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.[/center]

Share this post


Link to post
Share on other sites

:) you had to say this? xP

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

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

:) 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

[center]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.[/center]

Share this post


Link to post
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..

Share this post


Link to post
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
Sign in to follow this  
Followers 0