We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c755333 commit df15491Copy full SHA for df15491
src/windows.vbs
@@ -32,7 +32,10 @@ sub createFile()
32
objLink.WorkingDirectory = strCwd
33
objLink.IconLocation = strIcon
34
objLink.WindowStyle = strWindowMode
35
- objLink.Hotkey = strHotkey
+ ' We must skip setting the hotkey if the trimmed value is an empty string to avoid errors (#96).
36
+ If Trim(strHotkey) <> "" Then
37
+ objLink.Hotkey = strHotkey
38
+ End If
39
objLink.Save
40
end sub
41
0 commit comments