Re: Mouse X Y Coordinates?
Brian Wolven <[email protected]>
| Newsgroups | gmane.comp.windows.shells.litestep |
|---|---|
| Message-ID | <[email protected]> |
Paul wrote: > Hale, Paul wrote: >>> From: Mattias Westlund >>> [mailto:[email protected]] >>> Because those are mzscript vars and you need to use !exec? >>> >> >> No. That's not it. :) Dammit I feel stupid. I told you it was a brain >> fart. >> >>> Hale, Paul wrote: >>>> I am having a brain fart here people. I want a label to >>> appear at the >>>> current mouse position. Here is a part of the event: >>>> >>>> !ParseEvars !Execute [!LabelMove InfoTips_ %#mousex%# %#mousey%#] >>>> >>>> Why doesn't that work? >>>> >>>> Paul Hale > > So is there a way to do this? Cuz I can't figure it out. > Where are you getting mousex and mousey from, if not mzscript? I use those variables in my desktop switching hotspots (or hotregions, or hotbars, or whatever), but I have to define them first with a !labelInfoExport, like so: moveLonLeftClick !execute [!labelInfoExport %#mousey%# "[after(mousepos,'y: ')]"][!vwmLeft ][!parseEvars !mousemove -1 %#mousey%#][!parseEvars !sounds%#Sounds%# $soundsdir$moveLeft.wav] I don't think they're defined by default, unless you're using the mzscript version. --------------------------------------------------------------------- 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