• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Rép : Apple mail: Save attached file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Include file
  • Next by Date: Re: Include file
  • Previous by thread: Re: Include file
  • Next by thread: Rép : Sandi's Additions for OS X??
  • Index(es):
    • Date
    • Thread