Technical Support Forums

Technical Support Forums » Araneae

Feature request (2 posts)


About this Topic

Tags

No tags yet.

  1. Dan
    Member
    Posted 1 year ago

    Hi Mark,

    Hope things are going well!

    I wanted to suggest a feature for a future version of Araneae. In the Tools and Viewers settings, it would be cool if I could pass an environment variable like {{CURRENT_FILE_NAME_AND_PATH}} (which would output the current file name with an absolute path) in the viewer path as a parameter; I've been doing some Ruby development lately and I would love to be able to point the file at the Ruby compiler or a batch file.

    Dan

  2. Anonymous

    Posted 1 year ago

    You can actually do something like this with a .bat file. For example, I program in Lua and when I hit F4 I want it to run the current file with the Lua standalone interpreter. So I made a .bat file in the extensions directory (just because) and put this in it:

    @echo off
    echo %1%
    lua %1%
    pause

    Araneae sends the current file/path as the first argument, so %1% works. Hope this helps!


Reply

(required)