programgeniusyu Posted September 6, 2007 Share Posted September 6, 2007 Hi..!!! I work in a firm as a Grphic designer. Thay make some program for checking in when we come to work... I try to explain that in our work time that we spend in front of computer is not inportant... The most inportant thing is "idea", NOT the time and control.. I try to make some script of my oun, but, I`m not a programmer... So, I need script that runs like this... At start up there is a MAC OS X log-in screen 1. Log-in as me... "my user name and psw" 2. enter 2. start Safari 3. open web page 111 4. type user name and psw in "web LogIn form" on page 111 5. click OK 6. click on a link for checking on a work 7. click on a button for Check In 8. click on a Log-out button 9. close Safari Thank`s in advance.....!!!! HELP me to beat the system.... Link to comment Share on other sites More sharing options...
programgeniusyu Posted September 7, 2007 Author Share Posted September 7, 2007 Haaa.... it`s done.... With a litle help of AppleScript and iCal for setting up the time of start... on run tell application "Finder" activate delay 1 open file "Untitled.rtf" of folder "Desktop" of folder "sasha" of folder "Users" of startup disk delay 1 tell application "System Events" to keystroke "a" using {command down} tell application "System Events" to keystroke "c" using {command down} quit application "TextEdit" end tell tell application "Safari" activate open location "http://192.168.10.2:82" delay 4 tell application "System Events" to keystroke "v" using {command down} delay 1 tell application "System Events" to key code 48 delay 1 tell application "System Events" to keystroke "v" using {command down} delay 1 tell application "System Events" to key code 36 delay 3 open location "http://192.168.10.2:82/CheckIO.aspx" delay 3 tell application "System Events" to key code 48 tell application "System Events" to key code 36 delay 1 quit application "Safari" end tell end run hope that is help to anyone.... Link to comment Share on other sites More sharing options...
Recommended Posts