Hello, is there any form to edit existing shorcuts from each programs to change their properties? Just for know. Because i can't find nothing. I hope for any answer, Regards.
Announcement
Collapse
No announcement yet.
Any form to edit Shortcuts?
Collapse
X
-
LUACom Plugin
Code:luacom=require'luacom' WshShell = luacom.CreateObject("WScript.Shell") lshortcut=WshShell:CreateShortcut(_DesktopFolder .. "\\yourshortcut.lnk") shortcut.WindowStyle = 4 (normal) (3 maximized) (7 minimized) shortcut.IconLocation = "youricon path" shortcut.TargetPath = "yourexe path" shortcut.Hotkey = "ALT+CTRL+Z" shortcut:Save()
-
-
You can also use :
Shell.CreateShortcut(_DesktopFolder, "My Shortcut", "C:\\Program Files\\MyApp\\app.exe", "", "", "C:\\Program Files\\MyApp\\myicon.ico", 0, SW_MAXIMIZE, nil);
Creates a shortcut on the user's Desktop with the "myicon.ico" file icon and the label "My Shortcut." The shortcut is set to point to the file "app.exe" and will launch it in "maximized" mode.
Note: _DesktopFolder is a built-in variable that contains the path to the user's "Desktop" folder.
from HELP file
-
👍 1
Comment
-
Comment