Hi folks,
I started to write a script that imports Vcards into the Address Book.
The problem I have right now is how to handle the dialog box's buttons.
As long as I want to simulate the default button all works fine.
How can I specify to activate different button then the default one ?
b.r.
/petron
I started to write a script that imports Vcards into the Address Book.
The problem I have right now is how to handle the dialog box's buttons.
As long as I want to simulate the default button all works fine.
Code:
#open vcf file
tell application "Address Book"
activate
open "Users:minpc:Desktop:ha.vcf"
tell application "System Events"
keystroke return
end tell
end tell
How can I specify to activate different button then the default one ?
b.r.
/petron