• 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
Re: about your problem with attachments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about your problem with attachments


  • Subject: Re: about your problem with attachments
  • From: Yvan KOENIG <email@hidden>
  • Date: Wed, 04 Jan 2017 12:46:20 +0100

In the posted script, I select the mails by hand.

We may also use something like :
set selectedMessages to every message of mailbox "aaa"

In the asker's code, the selected messages were passed by a Mail rule.
The exact code is available in the thread of macScripter : http://macscripter.net/viewtopic.php?id=45420
I'm reluctant to reproduce it here as it's not mine.

Since my late message, I made other tests.

The unique setting which work is :
set attachmentsFolder to path to downloads folder as text

With the setting which I used for years :
set attachmentsFolder to (path to documents folder as text) & "Attachments:"
it continue to fail.
It's really puzzling because all the tested folders have the same permissions:
me : read-write
everyone : unauthorized access (translated from the french Accès interdit)

I have no idea of what may explain that.

Yvan KOENIG running Sierra 10.12.2 in French (VALLAURIS, France) mercredi 4 janvier 2017 12:44:58



Le 4 janv. 2017 à 12:27, Brian Christmas <email@hidden> a écrit :

Yvan, wouldn’t you also need something like ‘select message 1 of mailbox "messageStore"’? How else would you programatically select as a ‘selection’?

I’m surprised it worked though!

Regards

Santa



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • 10.12.2 permission errors when saving
      • From: Ray Robertson <email@hidden>
    • Re: about your problem with attachments
      • From: Ray Robertson <email@hidden>
    • Re: about your problem with attachments
      • From: Yvan KOENIG <email@hidden>
References: 
 >Re: about your problem with attachments (From: Brian Christmas <email@hidden>)
 >Re: about your problem with attachments (From: Yvan KOENIG <email@hidden>)
 >Re: about your problem with attachments (From: Brian Christmas <email@hidden>)
 >Re: about your problem with attachments (From: Yvan KOENIG <email@hidden>)
 >Re: about your problem with attachments (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: about your problem with attachments
  • Next by Date: Re: about your problem with attachments
  • Previous by thread: Re: about your problem with attachments
  • Next by thread: Re: about your problem with attachments
  • Index(es):
    • Date
    • Thread