• 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: Getting a resource (PICT preview) from a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a resource (PICT preview) from a file


  • Subject: Re: Getting a resource (PICT preview) from a file
  • From: has <email@hidden>
  • Date: Wed, 17 Oct 2001 02:40:30 +0100

Ray wrote:

>The downside being the OSAX has to be present on the users mac, and
>you're dependent on the creator to upgrade and maintain the code.
>
>I was faced with a similar situation where a jpeg was needed from a
>Quark eps. The problem was solved by using an appleScript to create the
>eps from within a RealBasic application. The pict was extracted from the
>eps using the RealBasic resourceFork class methods. A jpeg was then
>created from the pict using a simple built-in saveAsJPEG method. No
>OSAX's needed.

Ahh, but then you'll need a copy of RealBasic and the skills to write
applications in it, so there's no easy win.:)

However you look at the problem, you'll have to use either an OSAX-based or
an application-based solution.

If you want to avoid the OSAX route and don't fancy writing your own
resource extraction program, first try looking for a scriptable graphics
application that can get pict resources out of files; e.g. Graphic
Converter might be an option if it's scriptable enough.

There's so many more things we wish vanilla AS could do sometimes, then we
wouldn't have to worry about using 3rd-party osaxen, applications, etc to
perform relatively common or simple tasks.

IMHO, 3rd-party OSAXen are a sound concept, however, and they do make a
serious contribution to Applescripting (both in shoring up some of its
weaker points and in adding genuinely new features), though with the advent
of OSX this probably isn't the easiest of times for 3rd-party OSAXen whilst
their authors make the transition. BTW, OSAXen authors deserve a big
hat-tip from the Applescripting world, imho. I doubt they get nearly enough
thanks and encouragement from their users (though I'm as bad as the next
guy in this...:). So hey, Thanks all!

has


  • Prev by Date: FileMaker and QuickTime movie
  • Next by Date: Max size of a script?
  • Previous by thread: Re: Getting a resource (PICT preview) from a file
  • Next by thread: Re: Getting a resource (PICT preview) from a file
  • Index(es):
    • Date
    • Thread