FreeZZa
Threadersteller
Dabei seit: 15.04.2010
Ort: -
Alter: -
Geschlecht: -
|
Verfasst Mo 19.04.2010 14:08
Titel AppleScript - Activate zieht nicht |
|
|
Hallöle
Ich hab ein Script geschrieben, welches mir den Firefox öffnet, die betriebsinterne Website für's Mail und die für den Rapport öffnet und mich auch gleich einloggt. Doch leider will das nicht ganz. Wenn der Firefox offen ist, aber kein Fenster offen ist, dann gehts. Aber wenn der Firefox noch nicht gestartet wurde, geht nur die 2te Seite auf. Die andere Seite öffnet er iwie nicht :S.
Hier das Script:
tell application "System Events"
tell application "Firefox"
activate
tell application "System Events" to keystroke "Adresse.com"
tell application "System Events" to keystroke return
delay 3
tell application "System Events" to keystroke "Name"
tell application "System Events" to keystroke tab
tell application "System Events" to keystroke "Passwort"
tell application "System Events" to keystroke return
end tell
end tell
Den zweiten Teil hab ich nicht mit reinkopiert, da dieser ja funzt.
Was ist da dran falsch?
//EDIT:
Hat sich erledigt, sorry für den unnötigen Beitrag!!
Für die die's interessiert:
Ich hab nach
tell application "firefox" noch ein activate und ein delay 2 eingefügt. Jetzt gehts.
Zuletzt bearbeitet von FreeZZa am Mo 19.04.2010 14:15, insgesamt 1-mal bearbeitet
|
|