Thank you lax.
Ok, I am playing EQ2, and I am stand in front of the could station in Drednever Crash Site
(known as Actor[name,flight_path_island1] ,but ISXeq2 doesn't allow me to Actor[name,flight_path_island1]:RightClick)
and I want to fly to Shattered Weir.So I have to use IS command.
BTW: Could you tell me how to use the popup menu, I mean which UI file it uses ,if I could ask here.
But
Code: Select all
function main()
{
wait 50
Mouse:SetPosition[512,384]
wait 1
MouseClick -hold right
wait 1
MouseClick -release right
wait 20
Mouse:SetPosition[538,470]
wait 1
MouseClick -hold left
wait 1
MouseClick -release left
wait 1
}
really doesn't work while EQ2 background. It works while EQ2 is foreground.
I test by moving the mouse to right of the screen. and alt tab the another eq2 box. then 10 -15 seconds later I switch back ,and the mouse is still there. I am not in Shattered Weir. But if it's foreground there's no problem.