I'm struggling to find a way to open a file in a program through a shortcut and i need your help .
I want to open audio files (mp3,wav,flac,aiff) in a Acoustic Spectrum Analyser called SPEK (http://spek.cc/), by pressing CTRL+S.
I successfully managed to do that but I got stuck in another problem. Every time I open a file through this program, a separate instance opens. I don't want this, I want to open it in the same windows (instance).
This is my current script:
Code: Select all
^s:: ; ctrl+s
Clipboard =
Send ^c
ClipWait ;waits for the clipboard to have content
Run, C:\Program Files (x86)\Spek\spek.exe `"%clipboard%`"
return