[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] Re: StrongED and Lua
In message <8b40838d53.pittdj+@xxxxxxxxxxx>
David Pitt <pittdj@xxxxxxxxxxxx> wrote:
> In message <d5c14e8d53.fjgraute@xxxxxxxxx>
> Fred Graute <fjgraute@xxxxxxxxx> wrote:
>
> > In message <b6c3228d53.pnyoung@xxxxxxxxxxxxxxxxxxxx>
> > Peter Young <pnyoung@xxxxxxxxxxxx> wrote:
>
> >> On 16 Sep 2013 Gavin Wraith <gavin@xxxxxxxxxxxxxxx> wrote:
>
> [snip]
>
> >>> I too have StrongED 4.69 and dragging to the Apply icon worked straight
> >>> off after I had installed the new version of StrongED. It is the
> >>> application !ScriptSED in !StrongED.Defaults.Tools that sorts out
> >>> all the dragging to the Apply icon stuff. In !ScriptSED.Languages.lua
> >>> the *command "lua" is used. This command gets defined when !lua is
> >>> filer_booted. If !lua has not been filer booted then nothing will
> >>> happen because the system macro "lua" will be an empty string.
> >>
> >>> Let me know if this information does not sort your problem out.
> >>
> >> Yes, the lua tool is indeed in !StrongED.Defaults.Tools, but the
> >> scripts still won't run for me.
>
> > Does anything happen?
>
> lua scripts seem to be being applied by StrongED 4.69 without much
> assistance from me. Is there really supposed to be a tool in
> !StrongED.Defaults.Tools, or even !StrED_cfg.UserPrefs.Tools, because
> there isn't here and it still works.
The tool is ScriptSED which comes with the StrongED distribution. It's
called by BaseMode when you drag a script to the Apply icon. You should
have it too as otherwise you'd get an error when you drag a script in.
> BTW It is a SHIFT-drag that is required.
Yes, it's Shift-drag to substitute the current text and Ctrl-drag to
create a new text for the output.
Oh, and make sure the permissions for Process and Run are not set to 'N'
in the ModeLock file or StrongED will silently ignore the drag.
--
Fred Graute
http://www.stronged.iconbar.com/
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx