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

Re: [StrongED] Invoking scripts



In message <4bbb792053.iyojohn@xxxxxxxxxxxxxxxxxxxxx> you wrote:

> Is there a reason why it is necessary to hold down a key when invoking 
> a script with StronGED?

> Is it possible to change the behaviour so that drag-drop does not 
> require a supplementary key?

Sure. Copy !StrongED.Defaults.Modes.BaseMode to
!StrED_cfg.UserPrefs.Modes if it is not there already. Then open
!StrED_cfg.UserPrefs.Modes.BaseMode.ModeFile and search for a
line (it is all one line and has TABs in it):

  ^Drag  SetTmp() Process(,"<StrongED$Tmp_ToolPath>.!ScriptSED.Tools.Despatch 
<StrongED$Tmp_DragFile>",,NoReplace) Run("Filer_Run <StrongED$ScrapDir>.in") 

Delete the ^ in front of Drag, making sure to preserve the TAB to the
left of it. Save the file. At the StrongED iconbar menu click
        Rescan->Modes
There you have it.   
-- 
Gavin Wraith (gavin@xxxxxxxxxxxxxxx)
Home page: http://www.wra1th.plus.com/

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