Re: drop down box or something like it.

Brian Wolven <[email protected]>
Newsgroups gmane.comp.windows.shells.litestep
Message-ID <[email protected]>
Hale, Paul wrote:
>> -----Original Message-----
>> From: news [mailto:[email protected]] On Behalf Of Brian Wolven
>> Sent: Thursday, June 07, 2007 4:13 PM
>> To: litestep-HzvBz7w1J3cIFlVeWT/[email protected]
>> Subject: [Litestep] Re: drop down box or something like it.
>>
>> Something like this will give you a single "top-level" popup, 
>> despite the fact that it looks like it'd be a subfolder 
>> (honest, I actually *tried* it!):
>>
>> *Popup "Select color scheme" !new !popupSchemes
>>    *Popup "Select color scheme" 
>> !popupDynamicACtionFolder:!apply_colors:"$SchemesDir$"
>> *Popup ~New
>>
> 
> Wow... That is perfect actually. Okay, now how about saving the filename
> as an evar? As it is now, I will get the whole path and that causes
> problems when doing a !xTextSaveEvar.
> 
> What I will eventually do is have a label with the name of the current
> scheme/surface/location as the label text. When changing the file, it
> would give the user the option to apply now or continue making changes.
> ( I already have a script like that.) If the user does not apply
> immediately, I would still want the label text to change.

That's why I defined bangs like these:

  *alias !saveSetting !execute [!setEvar %1 %2][!xtextSaveEvar @$settingsFile$@ 
@%1@ @%2@]
  *alias !stripPath   !execute [!xtextReplace @$settingsFile$@ @(^%1 
\=)(.*\\)(.*\..*\=)_@ @\1\3@]
  *alias !stripExtn   !execute [!xtextReplace @$settingsFile$@ @(^%1 
\=.*)(\..*\=)_@       @\1\=@]


---------------------------------------------------------------------
    Can't Unsubscribe? Check http://desktopian.org/listunsub.html
        LS List Homepage: http://wuzzle.org/list/litestep.php
            Get the LS FAQ: http://lsfaq.shellfront.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.