Why have XProp Window? Thread last updated on 2003-02-20 08:30:08

Posted by member 7746 on 2003-02-18 10:32:59

I don't know if it's called an XProp Window in all themes, but it is in the Lapiz Lazuli theme that I currently use.

What is this XProp Window good for?
I havn't figured out when to use it, it just zooms the mouse position.

Posted by member 44 on 2003-02-18 15:28:05 link

a color picker is actually very useful when doing graphics (web design, LS themeing, etc.)

if you don´t like it just comment the line that loads the module.

Posted by member 417 on 2003-02-18 15:52:22 link

Yeah, I find I can't live without it. But if you don't like it, I would just comment it out of the step.rc file. Sorry about that.

Hey moshi, how does one persist settings to a file? Lets say I add a hotkey for !hidexpropwindow. How can I have my theme remember to hide the window when it is next recycled?

Thanks.

Posted by member 44 on 2003-02-18 16:29:36 link

you can do this with mzscript.

make xprop hidden by default.

define a variable like:
var_xprop_show 1

now everytime you hide/show xprop also change this variable (either with an mzscript constructed bang or !Execute).

with mzscript you can set events that happen at startup/recycle. use a conditional statement with the variable to show xprop (!showpropwindow) when var_xprop_show is 1

i am doing this in my Glacier theme (available here). also have a close look at the mzscript documentation. it´s written in a far better English than i would be able to explain here.

Posted by member 2184 on 2003-02-18 16:54:45 link

Dont take it out, get to know it.
I couldent live without it myself.

Posted by member 5669 on 2003-02-18 19:04:08 link

you can do it with textedit2 as well

Posted by member 417 on 2003-02-19 12:18:45 link

But moshi, does mzscript write to a file to persist these settings? Or do I have to use textedit2, as mojomonkee says?

Posted by member 44 on 2003-02-19 14:16:08 link

no need for textedit2. create a var.rc file. it´s all in the docs.

Posted by member 7746 on 2003-02-20 04:44:07 link

Thanx for the replies.
I already commented it out of the step file, but at least I know when it is useful now!

Posted by member 333 on 2003-02-20 07:23:37 link

I find that xprop.dll is indeed very useful, but as I don't use it all the time, I prefer not having it loaded by default and rather bind it to a hotkey (or popup-entry) with !reLoadmodule $modules$xprop.dll (and one for unloading it... duh). That way it doesn't stay loaded behind the scenes, which isn't necessary (at least not for me)

Posted by member 44 on 2003-02-20 08:30:08 link

yeah, the re/unloadmodule bangs are pretty cool. the only way to toggle LSNotes btw.