-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDolphin File Locator.AHK.bak
More file actions
34 lines (31 loc) · 984 Bytes
/
Dolphin File Locator.AHK.bak
File metadata and controls
34 lines (31 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn
SendMode Input
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance ignore
#WinActivateForce
DetectHiddenWindows, on
CoordMode, Pixel, Relative
IfExist, Dolphin - Shortcut.lnk
{
MsgBox, Note: Make sure you don't have a "Dolphin - Shortcut" file in "%A_ScriptDir%"! before this process
exit
}
IfNotExist, Dolphin - Shortcut
MsgBox, Show me where your FM folder is!
;~ loop{
FileSelectFolder, FMLocation,, 4
If FMLocation =
{
MsgBox, You didn't select a folder.
;~ Break
}
Else {
MsgBox, 4,, You selected folder "%FMLocation%" is this your FasterMelee folder?
IfMsgBox, yes
FileCreateShortcut, %FMLocation%\Dolphin.exe, Dolphin - Shortcut.lnk, %A_ScriptDir%
MsgBox, If FasterMelee ever updates or you move your FasterMelee folder you must redo this process
;~ break
}
;~ }
return