How do you propose I do steps 2-6 if I can not find the file path?

On Dec 2, 2009, at 4:33 PM, Jerry Daniels wrote:

> Gen,
> 
> Why would you need the file path? You've got the text staring you in the face 
> in tText. Look at the two samples that come with the product. They take text 
> from one tab, munge it and then put it into another tab.
> 
> Best,
> 
> Jerry Daniels
> 
> The latest Rev Editor Video:
> http://reveditor.com/feature-friday-drag-n-drop-stacks-0
> 
> On Dec 2, 2009, at 2:39 PM, Generic Email wrote:
> 
>> I thought I would like to write a tText plugin that would execute the script 
>> being edited and put the output into another tab.
>> I didn't see a way to retrieve the full path of the file currently being 
>> edited.
>> 
>> So the flow would be something like this:
>> 
>> 1) Get the full path to the file
>> 2) see if it is executable
>> 3) If yes, then execute the file and put output into new tab and exit
>> 4) if no, parse first line for #!/path/to/binary
>> 5) if binary found, then execute the binary with the file as a parameter and 
>> put output into new tab and exit
>> 6) if no, answer with helpful text, then exit
>> 
>> Anyway, that was the idea.
>> 
>> 
>> _______________________________________________
>> use-revolution mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to