• 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: Script to remove AUGD from Subject
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script to remove AUGD from Subject


  • Subject: Re: Script to remove AUGD from Subject
  • From: Roy McCoy <email@hidden>
  • Date: Sun, 11 Jan 2009 16:12:38 +0100

Fuller Luther wrote:

You may need to get the message viewer involved. Here is a snippet from one of my scripts ...

	tell application "Mail"
		activate
		set frontViewer to (some message viewer whose index is 1)
		set msgList to selected messages of frontViewer

What then? move msgList? move text item something of msgList? move every message in msgList?


"some message viewer whose index is 1" apparently provoked a crash the second time I ran a script with it, an alert preceding the crash saying it couldn't make the connection or some such.

Also, the inbox is referred to as 'mailbox inbox', not 'mailbox "inbox"'.

When I change from

mailbox "Inbox"

which yields an alert saying it can't be found, to

mailbox inbox

I get instead "Can’t make inbox into type integer." This seems strange too.


Thanks,

Roy McCoy
Rotterdam, NL

_______________________________________________
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: Script to remove AUGD from Subject
      • From: Luther Fuller <email@hidden>
References: 
 >Mail Script to remove AUGD from Subject (From: Geoff WALLACE <email@hidden>)
 >Re: Script to remove AUGD from Subject (From: Michelle Steiner <email@hidden>)
 >Re: Script to remove AUGD from Subject (From: Roy McCoy <email@hidden>)
 >Re: Script to remove AUGD from Subject (From: Fuller Luther <email@hidden>)

  • Prev by Date: Re: Script to remove AUGD from Subject
  • Next by Date: Re: Script to remove AUGD from Subject
  • Previous by thread: Re: Script to remove AUGD from Subject
  • Next by thread: Re: Script to remove AUGD from Subject
  • Index(es):
    • Date
    • Thread