Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. ifwinexist, ahk_class IEFrame
  2. {
  3. Winactivate
  4. send #{up} ;ensures correct resize.
  5. sleep 200 ;waits 0.2 Secs for resize to occur.
  6. y := (A_ScreenHeight*0.5) ;simply half the screen height.
  7. WinMove,,%y% ;move the window to position defined in line above.
  8. }
  9. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement