G
gerhard huber
Neues Mitglied
Thread Starter
- Dabei seit
- 05.01.2004
- Beiträge
- 13
- Reaktionspunkte
- 0
Hallo zusammen,
ich möchte gerne den Inhalt der Zwischenablage (eine kopierte Adresse) per AppleScript in das Suchfeld von GoogleMaps einsetzen und danach "return" drücken lassen, so daß die gesuchte Adresse in GoogleMaps erscheint.
Ich habs mal probiert, aber es funkltioniert komischerweise nur MANCHMAL (??).
------
tell application "Safari"
activate
make new document at end of documents
set URL of document 1 to "http://maps.google.de/maps"
tell application "System Events"
tell process "Safari"
keystroke "v" using command down
keystroke return
end tell
end tell
end tell
--------
Im voraus vielen Dank für Eure Hilfe!
Gerhard
ich möchte gerne den Inhalt der Zwischenablage (eine kopierte Adresse) per AppleScript in das Suchfeld von GoogleMaps einsetzen und danach "return" drücken lassen, so daß die gesuchte Adresse in GoogleMaps erscheint.
Ich habs mal probiert, aber es funkltioniert komischerweise nur MANCHMAL (??).
------
tell application "Safari"
activate
make new document at end of documents
set URL of document 1 to "http://maps.google.de/maps"
tell application "System Events"
tell process "Safari"
keystroke "v" using command down
keystroke return
end tell
end tell
end tell
--------
Im voraus vielen Dank für Eure Hilfe!
Gerhard