PDA

View Full Version : Text Registers



Ron
October 13th, 2002, 03:55 PM
No not dense, I just didn't have the docs to go along :smile:

howto set a text regsiter


Add command
Set action type to Girder->Set Text Reg
Choose reg num (1-25)
Type text for regsiter in "Icon/device"


Now how to use the contents of a text regsiter

You can use text registers with any action/plugin that supports the [reg 1] notation. To get text regsiter 1 you would type [treg 1].

note, 1st the number regsiters are expanded then the text regstisters thus:

lets say

reg1=10
reg2=11
treg10="hello"
treg11="hello again"


typing the following things into the "popupOSD" or "Question" dialog
would yield:


[treg [reg 1]] = "hello"
[treg [reg 2]] = "hello again"

Ron
October 13th, 2002, 03:55 PM
Sorry the text register can't be compared yet. I'll add this functionality

Mark F
October 13th, 2002, 03:55 PM
I wish I knew the answer. :sad:

Caffiend
October 13th, 2002, 03:55 PM
I'm sure I'm being dense, but I can't get the new text registers to do anything. I've tried the Set Text Reg command, but I can't seem to put anything in it. What am I missing here?

thanks,
-will

Caffiend
October 13th, 2002, 03:55 PM
Great, working now! The 't' part was what got me. Thanks, this'll help me a lot!

-will

Caffiend
October 13th, 2002, 03:55 PM
Did you try "Check Reg"? It looks like there aren't any operations for Text Registers though. Couldn't you use a regular register?

-will

ScottK
October 13th, 2002, 03:55 PM
OK. I know I'm being a pest. But I am getting so close now.

WinDVD is bending to my will. This is one of the best utilities I've ever discovered!

I want to test against a text register. I want to execute different commands conditionally on whether or not the text register contains "00" or not.

I appreciate any help. Thanks!

ScottK
October 13th, 2002, 03:55 PM
Just moving this to top.


I can't imagine this is that tough of a question...!

ScottK
October 13th, 2002, 03:55 PM
Hm. That sounds too easy. Why are there text registers, then?

Who knows. I'll give it a try! May also give a try to CHECKREG == ("[tregx]" == "00")

Assuming the register is 0 to begin with...

ScottK
October 13th, 2002, 03:55 PM
Thanks Ron! I know you're busy with all that Plasma and stuff. Be careful not to get any on ya...