Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New $FileDrive Supported customized parameter #182

Closed
cycle4passion opened this issue Sep 27, 2017 · 3 comments
Closed

New $FileDrive Supported customized parameter #182

cycle4passion opened this issue Sep 27, 2017 · 3 comments

Comments

@cycle4passion
Copy link

I run my test code and Autohotkey language executable off a USB drive. The drive letter changes depending on the computer it is plugged into.

I am requesting a new $FileDrive custom parameter, in order to define the drive letter from the file being run, and this I can use it to find/execute the language executable on the same drive.

Example:
Try to run test.ahk, whose path is F:\AHK\Testing\test.ahk
autohotkey.exe is at F:\AHK\AutoHotKey Portable\Autohotkey.exe

$FileDrive would give me "F:"
and I could do ""$FileDrive\AHK\AutoHotKey Portable\Autohotkey.exe""

@formulahendry
Copy link
Owner

Hi @cycle4passion , I am thinking this request may be to specific. And this seems only useful for Windows. You could simply update the config in each computer to specify the path of Autohotkey.exe.
Keep this issue open for discussion.

@cycle4passion
Copy link
Author

I agree it's specific L, but I am also running vscode portably off the USB drive so the coderunner user preferences file would have to be updated every time I plug into a new computer.

@formulahendry
Copy link
Owner

@cycle4passion , a new $driveLetter is added per your request, please install the latest version and have a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants