Bonjour,
J'ai un AppleScript qui marche correctement dans l'éditeur de Script :
Mais quand je veux l'exécuter depuis FileMaker Pro 7, ce même script me met une erreur (voir image jointe)
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 set myDelay to 1 tell application "FileMaker Pro" to activate tell application "System Events" tell process "FileMaker Pro" keystroke "p" using command down delay myDelay click menu button "PDF" of window "Imprimer" click menu item "Enregistrer en format PDF..." of menu 1 of menu button "PDF" of window "Imprimer" --click button "Save" of window "Save" end tell end tell
Quelqu'un aurait une idée ?
Merci.
Partager