Re: Clipboard and Entourage
Re: Clipboard and Entourage
- Subject: Re: Clipboard and Entourage
- From: Matt Neuburg <email@hidden>
- Date: Sat, 27 Aug 2005 11:34:20 -0700
On Fri, 26 Aug 2005 19:10:02 +0200, Jay Louvion <email@hidden>
said:
>
>Has anybody noticed if a script that sets the clipboard works with, for
>example Mail, but not Entourage ?
>I have a small script to transmit automatically an URL and a formatted
>message to clients that just doesn¹t ³paste² when in Entourage, but works
>fine with any other app tested (Textedit, Mail...)
>
>The script (if needed) runs as such:
>
>set thecode to text returned of (display dialog "Code-événement de la
>galerie souhaitée ?" default answer "")
>if thecode is "" then
> return
>end if
>set thelink to "http://www.lagalerie.com/lagalerie/start.do?code=" & thecode
>set the clipboard to "Veuillez trouver ci-dessous le lien vers votre
>galerie:" & return & return & thelink & return & return & "Nous espérons que
>les photos vous plairont." & return & return & "Si vous désirez apporter des
>modifications à votre galerie (faire retirer une photo qui ne vous convient
>pas, par exemple), merci de nous le faire savoir dans les 24h. A delà de ce
>délai et sans nouvelles de votre part, la galerie est réputée acceptée telle
>quelle."
>set thedialog to (display dialog "Le lien avec texte pour email est
>maintenant dans le presse-papiers." & return & "Je vous ouvre l'archive dans
>un browser web pour vérifier ?" buttons {"Non merci", "Ok"} default button
>2)
>if button returned of thedialog is "Ok" then
> open location thelink
>end if
>
>Some of it is in french, but I suppose that doesn¹t matter much to you
>international AS speakers :-)
I see you setting the clipboard but I don't see you doing anything *with*
the clipboard. What is there about this script that would cause anything to
"paste"? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
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