• 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: Running Scripts from Mail Rules
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running Scripts from Mail Rules


  • Subject: Re: Running Scripts from Mail Rules
  • From: Axel Luttgens <email@hidden>
  • Date: Sat, 28 Oct 2017 16:17:55 +0200
  • Ironport-phdr: 9a23:Rvw3ghxgzotbmdTXCy+O+j09IxM/srCxBDY+r6Qd2+gTIJqq85mqBkHD//Il1AaPBtSLraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze6/9pnQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRD0hygJKj43/2PZhMxqg6xVoxyhqQJ4zYPPfIGVLf9+cr/dfd8GR2dMWNtaWSxbAoO7aosCF/YMPOlGoIn5ulAAqwa+BRWwBOPg1DBIgGT21rA93us7HgDJwgggE8gKsHTJsNX1KKgSXv6zzKnT1jjDdPBW2Df76IfWbhAtu+qDUqxpfMfX1EIhFBvFg02TpIHnJT+Y1+YAv3KV4udvT+6jlmwqpgJ3rzOy3MkjkJPJiZgQyl3c8CV5x5s6KsOgRU5gZN6kDINQtyaHN4tqWs8iQ39nuCI9yrAevp67YTQKyI8mxx7Hb/yHdJWI7gj9W+eeOzh4gWpleLahiBqo7Uegzej8WtG10FZMsCVFjsHBu3MP2hDJ68WKSOFx80mu1DqVygze6OJJLVgxlaXBKp4hxrAwloAUsUTGBiL5gkr3g7GSdkk+/uio9vjnYqnpppCCMY90kRrzMr8tms2/B+Q3LBQOU3KA9uuizLHj51H2QK1Wjv0qlanUqIrVJdwDpq69HQBVyZos6wy+Dze+zNQUhGQHLElbdxKdlIjkIFXOIPHjDfejmFSgii1kx+jePr3lHJrBNGTMkLDkfeU110kJwREuhYRW/4pQB6oKOvPrRgrsr9HCFTc9Mheo2KDuEM1528UVXmfZUZWUKKfDjVjd7/kya72FfJcRtS32Mfk9+7vzlnIjgncZfLK1xt0ecGi8E7JtJEDPMlT2hdJUOHcHukIaUfD2h1CESnYHbma/W+Q4+y0nB4+gFq/YRZGrjaDH1irtTc4eXXxPFl3ZSSSgTI6DQfpZMC8=

> Le 28 oct. 2017 à 15:24, Steve Bird a écrit :
>
>
>> On Oct 28, 2017, at 5:19 AM, Axel Luttgens wrote:
>>
>
>> Could you show us the output of each of those tell blocks?
>>
>>      tell application "Mail"
>>              properties of account "SBird"
>>      end tell
>
> After deleting the disabled IMAP account with the same name, I get this:
> {password:"Account passwords can only be set, not read.”,
> […]
> account directory:file "HD Macbook
> Pro:Users:Steve:Library:Mail:V3:email@hidden:”,
> […]
> class:pop account,
> […]
> port:995,
> account type:pop,
> […]
> delayed message deletion interval:7}
>
> So, this one shows up as enabled and POP.

Fine.

Do you still see those empty lists in the output of:

        tell application "Mail"
                mailboxes of accounts
        end tell


> Hmmmm.  Now this little snippet works, even on a message in the inbox:
> tell application "Mail"
>       set Msgs to selected messages of first message viewer
>       set MsgProps to properties of first item of Msgs
> end tell

Even better. :-)

Axel


 _______________________________________________
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:
    • Re: Running Scripts from Mail Rules
      • From: Steve Bird <email@hidden>
References: 
 >Running Scripts from Mail Rules (From: Steve Bird <email@hidden>)
 >Re: Running Scripts from Mail Rules (From: Ray Robertson <email@hidden>)
 >Re: Running Scripts from Mail Rules (From: Steve Bird <email@hidden>)
 >Re: Running Scripts from Mail Rules (From: email@hidden)
 >Re: Running Scripts from Mail Rules (From: Axel Luttgens <email@hidden>)
 >Re: Running Scripts from Mail Rules (From: Steve Bird <email@hidden>)

  • Prev by Date: Seeing the state of an application with Script Editor?
  • Next by Date: Re: Running Scripts from Mail Rules
  • Previous by thread: Re: Running Scripts from Mail Rules
  • Next by thread: Re: Running Scripts from Mail Rules
  • Index(es):
    • Date
    • Thread