Rép : Apple mail: Save attached file
Rép : Apple mail: Save attached file
- Subject: Rép : Apple mail: Save attached file
- From: Reinforced Darkness <email@hidden>
- Date: Wed, 23 Jul 2003 12:53:32 +0200
thanks it works !
By the UI inspector I couldn't get the button properties of the button,
the button "Enregistrer" (name in french) wasn't recognized
on the other hand, the menu "Save Attachments..." was not recognized
in english, I've put the number ID of the submenu and it works
De: Kok Ooi Kong <email@hidden>
Date: Mer 23 juil 2003 11:00:44 Europe/Paris
@: email@hidden, email@hidden
Objet: Rip : Apple mail: Save attached file
My version for your case:
tell application "Mail"
activate
tell application "System Events"
tell process "Mail"
set frontmost to true (**)
set fenetre to the name of window 1 as string
click menu item "Save Attachments..." of menu "File" of menu bar 1
delay 1
tell window fenetre
tell sheet 1
tell group 1
tell pop up button 1
click
delay 1
click menu item "Desktop" of menu 1
delay 1
end tell
end tell
click button "Save"
delay 1
end tell
end tell
end tell
end tell
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.