Get text from Clipping files
Get text from Clipping files
- Subject: Get text from Clipping files
- From: Joe <email@hidden>
- Date: Fri, 15 Aug 2008 13:50:30 -0700
A friend recently asked me to help her find a better way to organize her data. She had been saving, since 1998, much of her data in clipping files - More than 5000 clipping files! (named and organized in folders)
I thought FileMaker would be a good way to store them and created a script using GUI scripting to copy the clippings text and move it into a variable and on to FileMaker. The script worked, but it created the ugliest light show of popping everywhere windows for about 25 minutes.
Although I was done with my friend's work I wanted to see if there was a more elegant way to do this. A search of the archives turned up two other methods.
The first I tried was DeRez in developers tools. That caused some line ending problems in FileMaker with some but not all of the clipping files.
The other method uses the Satimage OSAX and it worked perfectly.
>set cliptxt to (load resource 256 type "TEXT" from als as string)
(als is a passed alias from an alias list)
If anyone ever needs to do this.
Joe
_______________________________________________
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