GetWindowSize
Moderators: JRL, Dorian (MJT support)
GetWindowSize
I am looking to get the size of a window without it needing to be the active window. GetActiveWindow is the only thing I could find that gets the window size, but that requires the window to be on top. GetWindowPos doesn't require the window to be on top, but doesn't get the window size.
I will be looking around for some VB that does this, but I think a 'GetWindowSize' command would be a good addition to MS, or just adding W,H variables to 'GetWindowPos'.
I will be looking around for some VB that does this, but I think a 'GetWindowSize' command would be a good addition to MS, or just adding W,H variables to 'GetWindowPos'.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
I'll add GetWindowSize to the wish list. In the mean time, you could focus the window, use GetActiveWindow and then put focus back again.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
I see you looked into the '/NOSYSTRAY' issue, but i should have clarified before I commented on that. That issue arises when compiling, so that when the complied program is run, it gives an error message 'Line: 0 Error with Let>/NOSYS@RAY, = missing' even though the include parameters have '/NOSYSTRAY' in it. Could this be due to the switch from .txt to unicode?
*edit*
It seems to happen to everything set in the 'Include parameters' line (/HIDE, /NOSTOPKEY, etc.).
*edit*
It seems to happen to everything set in the 'Include parameters' line (/HIDE, /NOSTOPKEY, etc.).
*Wonders if the issue in MS11 with running a compiled macro showing the MS icon and 'Shift+Esc to stop' in the taskbar will be fixed as well. (Instead of the icon set to be used in the 'compile' window and the name given to the window in the code. eg., Window pops up showing the correct icon and name, but the tab in the taskbar shows the MS icon and 'Shift+Esc to stop')*
*Also wonders if the great devs might also fix the 'find' feature closing after hitting the 'OK' button once.*
*Starts to wonder if mtettmar wants to strangle him for finding issues in the nice program and pointing them out in a random spot on the forums.*

*Also wonders if the great devs might also fix the 'find' feature closing after hitting the 'OK' button once.*
*Starts to wonder if mtettmar wants to strangle him for finding issues in the nice program and pointing them out in a random spot on the forums.*

- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
*wonders why these problems aren't being reported in the beta forum so that we can fix them. We aren't psychic.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Don't forget you can change the APP TITLE (what appears in the task bar) with:
LET>APP_TITLE=whatever
LET>APP_TITLE=whatever
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Can you elaborate on this? Which Find feature are you referring to?*Also wonders if the great devs might also fix the 'find' feature closing after hitting the 'OK' button once.*
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?