Re: Re: !xStatsGraphShowPerformancePicker and setting evar
"Jochen Ritzel" <[email protected]>
| Newsgroups | gmane.comp.windows.shells.litestep |
|---|---|
| Message-ID | <op.tuels5cnd9nuum@w00t> |
On Sun, 24 Jun 2007 04:01:42 +0200, Paul <[email protected]> wrote: > Brian Wolven wrote: >> Paul wrote: >>> fractal.design wrote: >>>> On Sat, 23 Jun 2007 17:34:54 +1200, Paul <[email protected]> >>>> wrote: >>>> >>>>> fractal.design wrote: >>>>>> If your using xlabel (or xstatsclass) then you can use >>>>>> [clipboardText] in your scripts too ;) >>>>> >>>>> I am really tired and I am nodding off, so maybe I am missing the >>>>> obvious. I cannot get this, all I get is [clipboardtext] >>>>> >>>>> *Alias !SetCPU !Execute [!xTextSaveEvar @$ConfigDir$\themevars.rc@ >>>>> @CpuString@ @[[ClipBoardText]]@] >>>>> >>>>> Going to bed now... >>>>> >>>> >>>> !parseevars !alert "%[clipboardtext]%" >>>> >>>> >>>> *Alias !SetCPU !Execute [!ParseEvars !xTextSaveEvar >>>> @$ConfigDir$\themevars.rc@ @CpuString@ @"%[ClipBoardText]%"@] >>>> should work? >>> >>> *Alias !SetCPU !Execute [!ParseEvars !xTextSaveEvar >>> @$ConfigDir$\themevars.rc@ @CpuString@ @"%[ClipBoardText]%"@] >>> >>> That does the same thing, "[clipboardtext]" in the themevars. >>> >>> Maybe this doesn't work exept as text in a label? >> This worked fine for me: >> !parseevars !alert "%[clipboardtext]%" >> Maybe try it without the quotes, since @ serves as the quote escape >> character? > > I tried that alert, it sent litestep CPU up to 98% and froze the system. > WTF? > hehe, thats because you had "!parseevars !alert "%[clipboardtext]%"" in your clipboard, therefore the string is parsed and parsed again: !parseevars !alert "%[clipboardtext]%" ==> !parseevars !alert "!parseevars !alert "%[clipboardtext]%"" ==> !parseevars !alert "!parseevars !alert "!parseevars !alert "%[clipboardtext]%""" ==> !parseevars !alert "!parseevars !alert "!parseevars !alert "!parseevars !alert "%[clipboardtext]%"""" ad infinum :) Kinda funny^^ --------------------------------------------------------------------- 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