- Registriert
- 29.04.15
- Beiträge
- 3
Hallo Allerseits!
Ich brauche den Inhalt einer Webseite, der "im Handbetrieb" durch CMD-C erzeugt wird (nicht Source, nicht Text). Dieser Inhalt der Zwischenablage soll dann in ein FileMaker-Feld abgelegt werden.
Folgendes Script funktioniert nicht richtig, auch der Teil in den System Events ...
tell application "Safari"
activate
tell application "System Events"
keystroke "a" using command down
delay 1
keystroke "c" using command down
end tell
end tell
tell application "FileMaker Pro Advanced"
activate
show layout "xyz" of database "abc.fmp12"
set data cell "WebKopie" to the clipboard
end tell
Wer kann helfen? Vielen Dank im Voraus!
Herzliche Grüße
since1984
Ich brauche den Inhalt einer Webseite, der "im Handbetrieb" durch CMD-C erzeugt wird (nicht Source, nicht Text). Dieser Inhalt der Zwischenablage soll dann in ein FileMaker-Feld abgelegt werden.
Folgendes Script funktioniert nicht richtig, auch der Teil in den System Events ...
tell application "Safari"
activate
tell application "System Events"
keystroke "a" using command down
delay 1
keystroke "c" using command down
end tell
end tell
tell application "FileMaker Pro Advanced"
activate
show layout "xyz" of database "abc.fmp12"
set data cell "WebKopie" to the clipboard
end tell
Wer kann helfen? Vielen Dank im Voraus!
Herzliche Grüße
since1984