ScriptUO
Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: LV on October 15, 2012, 03:03:06 PM
-
Hi everyone,
I have a question. Is it possible to grab the current menu window coords (not contpos, the menu). I don't seem to be able to find a mechanism for it, and in my current project I wanted a way to save the current menu position.
LV
-
Are you talking about menu window coords from within a EUO user interface, or the client display?
-
The menu window coords.
For example:
menu show 100 100 100 100
will create a window at 100 100. if a user moves that window to a preferred location, i wanted to be able to trap the new coords the user prefers and save them as a preference on exit.
I am dawdling at releasing a script :)
-
Hmm, yeh I don't think that's information that's available from within EUO.
-
yeah, i have never run accross it either. i mean i could make external exe that grabs windows handle and determines coords, passes it back through registry...but um, no. just thought maybe i was missing somthing simple. thanks!
-
why not just make 2 vars %MenuX %menuY and place them at the top of the script for users to customize if they wish. Thats what i do anyways.
-
thanks endless night.
yeah, that's what i basically have, was just looking for a way to make better but always physical limitations. I guess i am running out of reasons for not releasing the script lol.