Re: OK Brian - weather conversion to script Question

Brian Wolven <[email protected]>
Newsgroups gmane.comp.windows.shells.litestep
Message-ID <[email protected]>
Hale, Paul wrote:
>> Hehe - you can't do that. =P
>>
>> The "%1" and "%2" are the way that the arguments to the alias 
>> module are tokenized. Mzscript syntax is different (%{\1}, 
>> %{\2}, at least for certain versions), so for starters you'd 
>> need to change all of those. Something like this *might* work:
>>
>> *Script bang !savesetting
>>      *scriptexec !SetEvar %{\1} %{\2}
>>      *sciptexec !ReloadTEM
>>      *sciptexec !xTextSaveEvar @$SettingsFile$@ @%{\1}@ @%{\2}@
>>      *sciptexec !UnloadTEM
>> *script ~bang
>>
>> Look at all the other translated aliases: lather, rinse, repeat. YMMV.
>>
> 
> Hehe... I thin I found a way to do this without any of my scripting or
> your Aliases. In the true redneck hillbilly ways of my upbringing in
> Solitude Indiana, I have removed all elegance and sophistication from
> your weather doo-hickey.
> 
> Now all that is left:
> 
> WeatherNotDLL.vbs
> weather.xml (replaces city.xml)
> weather.rc (replaces weatherloc1.txt)
> storedwxString.xml
> 
> Changing cities may be done by textedit boxes, I haven't decided.
> 
> Brian, your work is amazing, but it is just too much for my little
> brain.

I swap locations too much: work, home, parent's home, sister's home, travel, 
etc. But yep, it's probably overkill if you just want to 'set it and forget it'. =)


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