I'm musician. I'm very begginer using autohotkey.
I'm trying to create a script that when I select a text (a song's name), pressing a combination of keys, the script search it on my Ableton Project Folder (and subfolders) and open the project with that name in it.
I create this and it's working amazing:
Code: Select all
^A::
clip := clipboard
send, ^c
url := "C:\Ableton Projects\"
joined_url = %url%%clipboard% project\%clipboard%.als
run, %joined_url%
return
But in that way I have to rename 100 ableton projects. I would love that selecting the text "Valerie" and pressing Ctrl+A, the script could search on the "C:\Ableton Projects\" folder for any .als file that contains "Valerie", and execute it...
Or best yet: select the text "Valerie (Amy Winehouse)", then press Ctrl+A, and the script could search on that folder and opens the file named "Amy Winehouse - Valerie.als". That would be the best option.
I would appreciate very much your help.
Thank you very much!