Guest User

Untitled

a guest
Jan 19th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #NoEnv
  2. #NoTrayIcon
  3. SendMode Input
  4. SetWorkingDir %A_ScriptDir%
  5. IfWinNotExist, ahk_class MozillaWindowClass
  6. {
  7. Run "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -p default
  8. loop
  9. {
  10. IfWinExist, ahk_class MozillaWindowClass
  11. {
  12. break
  13. }
  14. }
  15. }
  16. WinActivate, ahk_class MozillaWindowClass
  17. WinMove, A, , 0, 0, 1679, 1022
  18. WinSet, Style, ^0xC40000
  19. WinMove, A, , 0, 0, 1680, 1022
  20. WinRestore, ahk_class MozillaWindowClass
  21. ExitApp
  22. Return
Advertisement
Add Comment
Please, Sign In to add comment