Re: !xStatsGraphShowPerformancePicker and setting evar

Paul <[email protected]>
Newsgroups gmane.comp.windows.shells.litestep
Message-ID <[email protected]>
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 have tried it every which way possible, it just doesn't work. But I am 
OK with it. I found a workaround. Why not just use:

CpuString "\\$ComputerName$\Processor(_Total)\% Processor Time"
MemString "\\$ComputerName$\Memory\% Committed Bytes In Use"

instead of trying to paste it? It works for me. The only thing is that 
the network card doesn't seem to work. I can get the card name in the 
!alert, but it won't work as a $var$. So I am just using 
"[before(netinout('0'),'_')]" with xstatsclass. (thank you yet again Brian).

Anyways, if someone is using xLabel, might as well use the escape 
sequenses like that. Saves me from having to make a selector for the users.

Paul


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