Advertisement
Guest User

Untitled

a guest
Jan 4th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. #NoTrayIcon
  3. ; #Warn ; Enable warnings to assist with detecting common errors.
  4. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  5. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  6. IfWinNotExist, ahk_class MozillaWindowClass
  7. {
  8. Run "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -p default
  9. }
  10. loop
  11. {
  12. IfWinExist, ahk_class MozillaWindowClass
  13. {
  14. break
  15. }
  16. }
  17. WinActivate, ahk_class MozillaWindowClass
  18. WinSet, Style, -0xC40000
  19. WinMove, A, , 0, 0, 1680, 1030
  20. ExitApp
  21. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement