-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDolphin File Locator.AHK
More file actions
30 lines (27 loc) · 939 Bytes
/
Dolphin File Locator.AHK
File metadata and controls
30 lines (27 loc) · 939 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
#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!
FileSelectFolder, FMLocation,, 4
If FMLocation =
{
MsgBox, You didn't select a folder.
}
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
}
return