Hints, tips and tricks for newbies
Moderators: Dorian (MJT support), JRL
-
macroman
- Pro Scripter
- Posts: 91
- Joined: Mon Jun 02, 2014 5:32 am
Post
by macroman » Sun Jun 08, 2014 8:04 pm
Hi All,
New at this but been reading the forum however, I can't seem to find a consistant solution to keep my firefox window maximized when open at all times.
my screen resolution is 1024x768
here is my code:
Code: Select all
WaitWindowOpen>FireFox*
SetFocus>FireFox*
Press LWinKey
Press Up
Release LWinKey
Release Up
-
Djek
- Pro Scripter
- Posts: 148
- Joined: Sat Feb 05, 2005 11:35 pm
- Location: Holland
-
Contact:
Post
by Djek » Sun Jun 08, 2014 9:55 pm
hi macroman,
just to simplify it:
try
run>C:\Program Files (x86)\Mozilla Firefox\firefox.exe -height 768 -width 1024
that way you can make your window the size you want.
kind regards
Djek
-
CyberCitizen
- Automation Wizard
- Posts: 721
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Post
by CyberCitizen » Mon Jun 09, 2014 11:14 pm
What about something like this (typed on the fly from phone).
Code: Select all
Label>Start
IfWindowOpen>firefox*
WindowAction>1,firefox*
Else
Goto>End
EndIF
Wait>1
//Goto>Start
Label>End
FIREFIGHTER