display dialog "Please enter your group's login information."
--Lead
set firstString to text returned of (display dialog "Enter your Lead Account" default answer "")
set secondString to text returned of (display dialog "Enter your Lead Password" default answer "")
--1st Slave
set thirdString to text returned of (display dialog "Enter your First Slave's Account" default answer "")
set fourthString to text returned of (display dialog "Enter your First Slave's Password" default answer "")
--2nd Slave
set fifthString to text returned of (display dialog "Enter your Second Slave's Account" default answer "")
set sixthString to text returned of (display dialog "Enter your Second Slave's Password" default answer "")
--3rd Slave
set seventhString to text returned of (display dialog "Enter your Third Slave's Account" default answer "")
set eigthString to text returned of (display dialog "Enter your Third Slave's Password" default answer "")
--4th Slave
set ninthString to text returned of (display dialog "Enter your Fourth Slave's Account" default answer "")
set tenthString to text returned of (display dialog "Enter your Fourth Slave's Password" default answer "")
--Start clonekeys and Lead's instance of wow
tell application "System Events"
tell application "CloneKeys" to activate
end tell
tell application "System Events"
tell application "World of Warcraft" to activate
keystroke tab
keystroke "a" using {command down}
keystroke firstString
keystroke tab
keystroke secondString
keystroke return
end tell
--adjusts the size of the rest of the wow accounts, launches them, and then resets the scale back to default size
do shell script "defaults write NSGlobalDomain AppleDisplayScaleFactor 0.5"
tell application "System Events"
tell application "World of Warcraft2" to activate
keystroke tab
keystroke "a" using {command down}
keystroke thirdString
keystroke tab
keystroke fourthString
keystroke return
end tell
tell application "System Events"
tell application "World of Warcraft3" to activate
keystroke tab
keystroke "a" using {command down}
keystroke fifthString
keystroke tab
keystroke sixthString
keystroke return
end tell
tell application "System Events"
tell application "World of Warcraft4" to activate
keystroke tab
keystroke "a" using {command down}
keystroke seventhString
keystroke tab
keystroke eigthString
keystroke return
end tell
tell application "System Events"
tell application "World of Warcraft5" to activate
keystroke tab
keystroke "a" using {command down}
keystroke ninthString
keystroke tab
keystroke tenthString
keystroke return
end tell
do shell script "defaults write NSGlobalDomain AppleDisplayScaleFactor 1.0"
it assumes you have "remember me" clicked and your first dialog box full of text when you start wow
again, hit run and it will do it's thing
just thought people with macs deserved the maximizing abilities pcs have is all...
Last edited by Ihavemyneeds : 09-14-2009 at 05:02 AM
Connect With Us