Apple mail : save attached file
Apple mail : save attached file
- Subject: Apple mail : save attached file
- From: Reinforced Darkness <email@hidden>
- Date: Tue, 22 Jul 2003 16:31:06 +0200
Hi,
nothing in the attachment objetc allows saving in a file or deleting
these attachments of msg.
I've tried GUIscripting, manage to go to the very last step but cannot
click the "save" button of thedialog box:
thnks for help
//
tell application "Mail"
activate
set the clipboard to "TELECHARGEMENT" as string
--- this will store the name of download folder
tell application "System Events"
get properties
get every process
tell process "Mail"
set fenetre to the name of window 1
get every menu bar
tell menu bar 1
get every menu
set lebon to menu item 7 of menu 3
--- this is the submenu (save attached files) of menu "File"
click lebon
end tell
delay 1
end tell
keystroke "v" with command down
keystroke return
tell window fenetre
click button "Enregistrer"
-- this should be the "Save" button
---- This last step won't work
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.