Page 1 of 1

Custom file extensions

Posted: 29 Sep 2017, 17:35
by derz00
Hi, I have set up a custom file extension for AHK_v2, and I would like to be able run these files from Studio. It doesn't seem to work. Pressing Alt + R does nothing. Any tips? I don't really know this works.

Re: Custom file extensions

Posted: 02 Oct 2017, 07:17
by RUNIE
You can edit this plugin maestrith wrote in another thread here:

Code: Select all

;menu Basic Run
#SingleInstance,Force
x:=Studio()
File:=x.Current(2).file
SplitPath,File,Filename,Dir
Run,%Filename%,%Dir%
ExitApp
Simply make it run the v2 exe, put it in the plugins directory and use the Edit Hotkeys gui to bind a key to that plugin.