autohotkey 中的模糊搜索路径
Fuzzy searching path in autohotkey
由于我正在使用 jetbrains 产品并且他们的更新更改了安装目录的文件路径,因此我必须不断更新可执行文件路径。有没有办法进行模糊搜索?
例如不必更改:
Run "C:\Program Files\JetBrains\WebStorm 2016.3.2\bin\webstorm.exe"
Run 'C:\Program Files\JetBrains\WebStorm 2017.1.1\bin\webstorm.exe"
我只想做:
Run 'C:\Program Files\JetBrains\WebStorm*\bin\webstorm.exe"
执行 C:\Program Files\JetBrains\WebStorm*\bin\webstorm.exe
Loop C:\Program Files\JetBrains\WebStorm*, 2
Run %A_LoopFileFullPath%\bin\webstorm.exe
由于我正在使用 jetbrains 产品并且他们的更新更改了安装目录的文件路径,因此我必须不断更新可执行文件路径。有没有办法进行模糊搜索?
例如不必更改:
Run "C:\Program Files\JetBrains\WebStorm 2016.3.2\bin\webstorm.exe"
Run 'C:\Program Files\JetBrains\WebStorm 2017.1.1\bin\webstorm.exe"
我只想做:
Run 'C:\Program Files\JetBrains\WebStorm*\bin\webstorm.exe"
执行 C:\Program Files\JetBrains\WebStorm*\bin\webstorm.exe
Loop C:\Program Files\JetBrains\WebStorm*, 2
Run %A_LoopFileFullPath%\bin\webstorm.exe