[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] Re: StrongED and Lua



On 19 Sep 2013  David Pitt <pittdj@xxxxxxxxxxxx> wrote:

> In message <2b0c9c8d53.fjgraute@xxxxxxxxx>
>   Fred Graute <fjgraute@xxxxxxxxx> wrote:

>> 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.

> I did a vanilla installation of StrongED 4.69 specifically to ensure
> that all was up to date, present and correct, and so that no obsolete
> stuff was left behind waiting to trip things up. User preferences were
> then reapplied.

Yes, that's what I did. I learned that by bitter experience.

>>> 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.

> Those two ModeLock parameters default to 'A', 'Ask', when the Mode is
> first run in the new scheme of things. 'N's may give the original
> problem. The vanilla installation ensured I had an up to ModeLock.

I've been assuming that this refers to the BaseMode line in ModeLock. 
I'd already changed both the Process and Run were sent to Y.

With best wishes,

Peter.

-- 
Peter Young (zfc W) and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
pnyoung@xxxxxxxxxxxx

--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx