home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 February / PCWorld_2006-02_cd.bin / software / vyzkuste / triky / triky.exe / autoit-v3-setup.exe / Examples / FileGetShortcut.au3 < prev    next >
Text File  |  2004-09-22  |  369b  |  7 lines

  1. ; Sets a shortcut with ctrl+alt+t hotkey
  2. FileCreateShortcut(@WindowsDir & "\Explorer.exe",@DesktopDir & "\Shortcut Test.lnk",@WindowsDir,"/e,c:\", "This is an Explorer link;-)", @SystemDir & "\shell32.dll", "^!t", "15", @SW_MINIMIZE)
  3.  
  4. ; Read in the path of a shortcut
  5. $details = FileGetShortcut(@DesktopDir & "\Shortcut Test.lnk")
  6. MsgBox(0, "Path:", $details[0])
  7.