• 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: Entourage : Returning info from multiple new messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entourage : Returning info from multiple new messages


  • Subject: Re: Entourage : Returning info from multiple new messages
  • From: Jay Louvion <email@hidden>
  • Date: Thu, 18 Aug 2005 18:25:10 +0200

Title: Re: Entourage : Returning info from multiple new messages
le 18/08/05 17:19, Barry Wainwright à email@hidden est réputé(e) avoir écrit :

> On 18/8/05 15:42, "Jay Louvion" <email@hidden> wrote:
>
>>
>> With your help (and Paul’s) the script is up and running. Two last questions:
>> 1. how do I handle a name containing a “/” in it’s name (typically like the
>> keyboard shortcuts names that are appended at the end of Entourage scripts
>> names)
>
> Handle how? You mean to save the files to disk? I use a routine that loops
> through illegal characters, sets the TIDs to that character, slices the file
> name, sets the TIDs to a benign character and repeats for all illegal
> characters:
>
>       repeat with aPair in {{":", ";"}, {"/", "-"}, {"\"", "''"}, {">",
> "]"}, {"<", "["}, {"?", "*"}}
>           set AppleScript's text item delimiters to {item 1 of aPair}
>           set textItems to text items of fileName
>           set AppleScript's text item delimiters to {item 2 of aPair}
>           set fileName to textItems as text
>       end repeat
>
>> 2. How can I mark the printed or download triggering messages as read ? Ive
>> tried set properties of theMsg to {mark as read:true} but even though it
>> compiles, it just returns “unknown object type” (which does not figure in my
>> most amusing AS errors...;-)
>
>  set read status of theMsg to read
>

Oops, my wrong; it does seems quite unclear – the “/ “ I want to deal with is that when I wanted to run the spamsieve script (that contains a “/” in order to use the keyboard shortcuts) I just couldn’t compile. I know it sometimes is possible to use “\” to tell Script Editor that the following “/” is not part of some command, but I can’t remeber how ‘tis done...
And thanks for the fast response on the read status. Magnifique.

Best,

J.

Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva

T+4122 840 3272
F+4122 840 3271

skypeme:
jaylouvion

www.studiocasagrande.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Abort a runaway script in Apple Script Menu
  • Next by Date: BBedit bring document to front
  • Previous by thread: Re: Entourage : Returning info from multiple new messages
  • Next by thread: alias to string deprecated, or bug?
  • Index(es):
    • Date
    • Thread