KHMan | 1 Feb 2012 12:21
Picon

Re: Re: Running SciTE with file parameter won't load last session

On 2/1/2012 6:55 PM, zetah wrote:
> I'm on Linux and can probably make my file associations with
> "preloading" session file, but that doesn't seem like right solution
> similarly as overwriting session file doesn't seem to me like great
> decision. At least option to cache session file before overwriting and
> reload on possible user demand would be more sensitive approach
>
> I'm not sure if Lua start-up script can be used to copy session file
> to temp folder in case SciTE overwrites it, or more precisely if
> session file is removed prior Lua start-up script initiation

I separate SciTE processes/windows when used for widely separate 
tasks by changing SciTE_HOME using autohotkey, then the one where 
I want the session saved is separate from 'normal' SciTE processes.

The ahk file has 2 lines only, for example:
   EnvSet,SciTE_HOME,D:\MyApps\wscite\mplab
   Run,D:\MyApps\wscite\SciTE.exe

Of course, this needs a separate set of configuration files. I use 
it when running with a different asm.properties, but later found 
it convenient for saving sessions as well.

The above may or may not be suitable for everyone, but at least it 
is another way of approaching a similar issue.

> On Feb 1, 11:07 am, Vlastimil Ovčáčík wrote:
>> Zetah,
>> I am using loadsession in batch file to preload the session before opening
>> a file. It's not elegant but it works.
>>[snip snip]

-- 
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.


Gmane