MS Entourage to Text file
MS Entourage to Text file
- Subject: MS Entourage to Text file
- From: George Esoimeme <email@hidden>
- Date: Thu, 11 Aug 2005 09:20:40 +0100
Dear All,
Is there any script that can covert all text in an MS Entourage mail list to
a text file.
George Esoimeme.
On 11/8/05 12:13 am, "email@hidden"
<email@hidden> wrote:
> Send Applescript-users mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.apple.com/mailman/listinfo/applescript-users
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Applescript-users digest..."
>
>
> Today's Topics:
>
> 1. Re: Split PDF and reduce file size (Mark J. Reed)
> 2. Re:Telling Remote Apps Crashes Script Editor (doug rogers)
> 3. Re: Split PDF and reduce file size (Ian Cook)
> 4. Drilling down into an AppleScript object reference (Scott Babcock)
> 5. Re: Split PDF and reduce file size (Emmanuel)
> 6. Re: Split PDF and reduce file size (Emmanuel)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 10 Aug 2005 14:56:46 -0400
> From: "Mark J. Reed" <email@hidden>
> Subject: Re: Split PDF and reduce file size
> To: Michael Conner <email@hidden>
> Cc: applescript <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I recommend you install pdftk and use it (you can resort to "do shell
> script" from an AppleScript if you aren't comfortable with raw UNIX
> scripting).
>
> You can get pdftk here:
>
> http://www.accesspdf.com/article.php/20041130153545577
>
> If you'll browse around you'll see lots of horror stories about how
> hard it is to get pdftk to work on a Mac, involving downloading and
> building gcc from scrratch in order to get a version of gcj that you
> can use oto build pdftk . . . but that's old news. The page above has
> a link to a disk image with an installer for pdftk that just works (on
> Panther and 10.4.1, at least; not 10.4.0). Just use
>
> pdftk file.pdf burst
>
> And voila - one pdf file per page.
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 10 Aug 2005 15:29:33 -0400
> From: doug rogers <email@hidden>
> Subject: Re:Telling Remote Apps Crashes Script Editor
> To: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> On Aug 10, 2005, at 2:42 PM, email@hidden
> wrote:
>
>> Shouldn't this just work?
>
> Still not fixed? damn...
>
> There is a crack in everything. That's how the light gets in.
> __________<http://home.golden.net/~samu>__________
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 10 Aug 2005 21:11:47 +0100
> From: Ian Cook <email@hidden>
> Subject: Re: Split PDF and reduce file size
> To: <email@hidden>
> Message-ID: <BF201E13.5668%email@hidden>
> Content-Type: text/plain; charset="US-ASCII"
>
> Thanks Michael,
> That worked a treat.
> I'm going to try Marks pdftk too and compare
> Cheers
> Ian
>
>
> on 10/8/05 19:13, Michael Conner at email@hidden wrote:
>
>> I haven't done this with scripting, but your problem may be with how you are
>> doing this and saving files. If you delete pages from a PDF in Acrobat (in 7
>> on Tiger), then just save, the size will not reflect any change. However, if
>> you Save As to a new file, it will be smaller, at least in my test. I've
>> seen this more with cropping, Acrobat doesn't really crop, it just shows you
>> a smaller crop window but doesn't delete anything from the file.
>>
>> Mike Conner
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 10 Aug 2005 15:14:52 -0700
> From: "Scott Babcock" <email@hidden>
> Subject: Drilling down into an AppleScript object reference
> To: <email@hidden>
> Message-ID:
> <email@hidden
> m>
>
> Content-Type: text/plain; charset="us-ascii"
>
> This may be old news to some of you, but I found that it's possible
> through coercion to decompose an object reference to determine the
> reference type [named/index/id], object class, selector, and container
> object (the object's parent).
>
> The process is fairly simple:
>
> tell application "System Event"
> tell application process "Finder"
> set objectRef to menu bar item 1 of menu bar 1
> end tell
> end tell
>
> set objRecord to (objectRef as record)
> --> {<<class form>>:named, <<class want>>:menu bar item, <<class
> seld>>:"Apple", from:menu bar 1 of application process "Finder"}
>
> The biggest challenge is extracting the [from] property of the object
> record, since AppleScript refuses to compile code with the word "from"
> used as a property name. There are two workarounds:
>
> 1. Use the raw code <<class from>>, which will compile to the correct
> Apple Event code and produce the desired result. The problem with this
> is that you have to restore the raw-format code each time you need to
> re-compile.
> 2. Coerce the object record to a list and get the property value from
> that. This always seems to be the last item. If there are instances
> where it isn't, it would be a process of elimination to figure out which
> item in the list is the [from] property.
>
> Using this technique, I can work around the AXParent bug in System
> Events 1.2.1 and get the parent element of any arbitrary UI element.
> This doesn't just work for System Events object references, though; it
> works for objects of every application I tried.
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 11 Aug 2005 00:28:14 +0200
> From: Emmanuel <email@hidden>
> Subject: Re: Split PDF and reduce file size
> To: <email@hidden>
> Message-ID: <p06002000bf200b37a2b9@[10.0.1.5]>
> Content-Type: text/plain; charset="iso-8859-1" ; format="flowed"
>
> At 6:39 PM +0100 8/10/05, Ian Cook wrote:
>>
>> Hopefully someone out there has had this problem...
>>
>> I've written a script that takes a large pdf (multi-page + graphics) and
>> splits it into as many files as there are pages. My problem is that all the
>> pages retain the same original file size (large as the file contains pages
>> with graphics) despite some of them only being text.
>> - The Reduce File Size? command in Acrobat achieves this but I don't think
>> it's scriptable - even though the menu item command?
>> - PDF Shrink is a utility but it doesn't support Applescript - even though
>> you can open a file in it, you can't process it
>> - any ideas?
>>
>> I'm using Acrobat 6 and Tiger
>
> You already got solutions, yet in case you are interested this would
> be less a short script in Smile. Ask me if you want to study that
> solution, because not everything is documented yet. Smile is not any
> better than pdftk, but it will display your PDF.
>
> Emmanuel
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 11 Aug 2005 00:33:11 +0200
> From: Emmanuel <email@hidden>
> Subject: Re: Split PDF and reduce file size
> To: <email@hidden>
> Message-ID: <p06002005bf2030bdf46f@[10.0.1.3]>
> Content-Type: text/plain; charset="iso-8859-1" ; format="flowed"
>
> At 12:28 AM +0200 8/11/05, Emmanuel wrote some gobbledegook:
>> At 6:39 PM +0100 8/10/05, Ian Cook wrote:
>>>
>>> Hopefully someone out there has had this problem...
>>>
>>> I've written a script that takes a large pdf (multi-page + graphics) and
>>> splits it into as many files as there are pages. My problem is that all the
>>> pages retain the same original file size (large as the file contains pages
>>> with graphics) despite some of them only being text.
>>> - The Reduce File Size? command in Acrobat achieves this but I don't think
>>> it's scriptable - even though the menu item command?
>>> - PDF Shrink is a utility but it doesn't support Applescript - even though
>>> you can open a file in it, you can't process it
>>> - any ideas?
>>>
>>> I'm using Acrobat 6 and Tiger
>>
>> You already got solutions, yet in case you are interested this would
>> be less a short script in Smile. Ask me if you want to study that
>> solution, because not everything is documented yet. Smile is not any
>> better than pdftk, but it will display your PDF.
>
> I meant, it would be a short script in Smile (less than 20 lines was
> in my mind.)
>
> Emmanuel
>
>
> ------------------------------
>
> _______________________________________________
> Applescript-users mailing list
> email@hidden
> http://lists.apple.com/mailman/listinfo/applescript-users
>
> End of Applescript-users Digest, Vol 2, Issue 522
> *************************************************
_______________________________________________
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