Re: Getting a string on the clipboard in OE
Re: Getting a string on the clipboard in OE
- Subject: Re: Getting a string on the clipboard in OE
- From: Jan Pieter Kunst <email@hidden>
- Date: Sat, 28 Apr 2001 14:06:58 +0200
Paul Berkowitz (email@hidden) schreef op 28-04-2001 13:30 :
>
There's a tremendous lot of confusion here. 'copy' is completely the wrong
>
word for the clipboard,
Quite possible. Like I said, I am new to Applescript, and when I saw "copy"
used in BBEdit and the Finder, I assumed that was what one is supposed to
use.
>
set the clipboard to x
>
>
is one of the Standard Additions, which will work just about anywhere. The
>
reason it's not working for you is that there's a bug with AppleScript 1.5.5
>
that requires you to have all the Security extensions enabled for any of the
>
Standard Additions to work. You evidently have removed some of the Security
>
modules.
I haven't changed anything from the standard OS 9.1 install, as far as
Applescript goes. Can you tell me where I can find those Security modules?
What do they look like, and where do they go?
>
So either put them back, or , better, upgrade to AppleScript 1.6.
>
You can do that easily by running Software Update control panel. Or you can
>
download it from the Apple website.
I'm running a Dutch localized version of Mac OS 9.1, and there is no Dutch
version of Applescript 1.6 yet. I'd rather not mix stuff from different
language OS versions.
>
You keep saying 'another application'. Presumably it's not scriptable? If it
>
is, why use the clipboard ? It would be better just to use the variable as a
>
string. What's the application? And are you certain you need the entire
>
source from Outlook Express? There are lots and lots of ways to get just
>
what you might need from OE, if you don't really need the entire source.
The 'other application' is Internet Explorer. I need the whole source as
input for <
http://spamcop.net/>. I initially tried to pass the source as a
string variable to IE, and feed it to spamcop with an 'OpenURL' command with
'FormData', but I couldn't get it to work. In fact, I noticed that my trying
to do this caused spamcop to accuse the wrong ISP's of being spam
originators, which made me reluctant to experiment further with this
approach. So I decided to do the last step ("Paste entire spam, Process
spam, Send spam reports") by hand.
I hope that clears thing up.
Thanks,
Jan Pieter Kunst.-