Hello!
I`m trying to pause a macro until a window appears and then move it.
Finding the window work as expected if used separatly.
Moving the window work as expected if used separatly.
If both commands are in the same macro, it finds the window, but it DOES NOT move it.
Any ideas?
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Find window & move window
Re: Find window & move window
Keep them separate (Jump To)?malinduta wrote: Finding the window work as expected if used separatly.
Moving the window work as expected if used separatly.
If both commands are in the same macro, it finds the window, but it DOES NOT move it.
Any ideas?
eventghost.net
Be there or be square.
Be there or be square.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Find window & move window
I tried it following way: and it works well.
Pako
Pako
Re: Find window & move window
I tried like you, Pako, and it`s working well.Pako wrote:I tried it following way: and it works well.
Pako
After many hours of testing I realised it has nothing to do with finding window and moving it.
It has to do with On Screen Explorer.
If I put "Wait" for 5-10 sec after OSE, it`s working, but not always.
I guess OSE is somehow "locking" the window. Not very sure.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Find window & move window
I'm trying it this way:And it works very smoothly, always.
Pako
Pako
Re: Find window & move window
Pako, "Search invisible items also" was the trick. Now it works.
But not as expected.
If I move window to Monitor 1, everithing is ok.
If I move window to Monitor 2, the window dissapear (sometimes). It`s somewhere on Monitor 2, but it can`t be seen. The coordinates are X=0, Y=0. Also tried different coordinates on Monitor 2, same results.
I tried to right click on taskbar and select "move". Sometimes the window comes from outside the monitor (right side), sometimes it never shows.
Any thoughts?
But not as expected.
If I move window to Monitor 1, everithing is ok.
If I move window to Monitor 2, the window dissapear (sometimes). It`s somewhere on Monitor 2, but it can`t be seen. The coordinates are X=0, Y=0. Also tried different coordinates on Monitor 2, same results.
I tried to right click on taskbar and select "move". Sometimes the window comes from outside the monitor (right side), sometimes it never shows.
Any thoughts?
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Find window & move window
I have not got the opportunity to test this behavior.
So I can not help.
Did you try to use the action Bring to front after action Move Absolute ?
Pako
So I can not help.
Did you try to use the action Bring to front after action Move Absolute ?
Pako
Re: Find window & move window
I managed to "trick" it 
My 1st monitor resolution is set to 1280x1024.
The command is to move window to Monitor 1 at 1900x300. It`s working!
My 1st monitor resolution is set to 1280x1024.
The command is to move window to Monitor 1 at 1900x300. It`s working!