Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- #NoTrayIcon
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- IfWinNotExist, ahk_class MozillaWindowClass
- {
- Run "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -p default
- }
- loop
- {
- IfWinExist, ahk_class MozillaWindowClass
- {
- break
- }
- }
- WinActivate, ahk_class MozillaWindowClass
- WinSet, Style, -0xC40000
- WinMove, A, , 0, 0, 1680, 1030
- ExitApp
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement