Re: Photoshop 6.0.1 and PDF
Re: Photoshop 6.0.1 and PDF
- Subject: Re: Photoshop 6.0.1 and PDF
- From: Tex Evans <email@hidden>
- Date: Mon, 12 Aug 2002 17:35:48 -0500
I appreciate all of the feedback on this.
The solution does not need to run under OS X. It runs entirely in 9. The
Photoshop portion of the script is a Photoshop action. I tried making an
action for the open dialog and it actualy works, bypassing the offending
dialog, once. It stores the file reference as an alias instead of a path so
when the AS portion moves the temp file to the trash, the photoshop action
opens the file from the trash instead of the original file reference.
I have tried using Akua Sweets click control command to close the dialog but
it simply does not pick up the offending window.
I would really like to avoid Quickeys. A long time ago in a job far, far
away, I used Quickeys a lot for workflow automation. It feels like using a
hammer to change a channel on the TV.
If there was some way to make applescript hit 3Enter2 at the appropriate
time, I9d be set. Akua Sweets looked very promising but cannot find the
dialog. I was looking through Photoshop with ResEdit thinking I might find
the Window ID and Button ID to trigger it. Maybe Prefab Player or one of
the others is my best bet. Photoscripter is definitely overkill.
>
Micheal Sullivan commented to the ongoing thread about PhotoShop 6.0.1 &
PDF:
>
>
>Quickeys is available on X (as is a new free utility called
>
>Youpi Key), but if you need to anything more complicated in
>
>that dialog than click "OK" every time, these will probably
>
>not work.
>
Actually, QuicKeys is quite robust for handling dialog boxes; the secret
lies
>
in using either (a) the tab key to move around the options box that get
typed
>
in, or (b) recording a sequence and checking the playback speeds, then
>
padding the entire sequence with a wait until dialog box to ensure it
doesn't
>
trigger to early.
That's not robust, it's pathetically breakable, because your system
doesn't run at the same speed all the time. Trust me, I've done a whole
prepress workflow using QuickKeys before I learned AS. It's possible to
make stuff like this work, sort of, but it's very easy to run into
problems where you just can't do what you need to do reliably.
I may have overstated the problems, it's quite possible that you can do
something a lot more complicated than merely clicking "OK", but I've
been told that Quickeys X is much less good at this stuff than the OS 9
version, let alone OC or KQ which are much better at this stuff than QK
in OS 9 (IME).
But I suppose it never hurts to try. If the dialog box is consistently
placed and sized or can be identified in some way (I often had trouble
doing this with QK), you might even be able to get away with just
clicking.
In any case, it's going to require a third party utility to do this kind
of scripting, and the choices are a lot fewer and farther between on X
than on 9.
>
> > I have a script which opens a PDF in Photoshop, triggers the Photoshop
>
> > Action and saves the file out as a JPG.
>
>
> > All of this works just fine except that I cannot get the PDF open in
>
> > Photoshop without a 3Generic PDF2 Dialog box opening up and pausing the
>
> > script.
>
>
> > I have tried to use the open command in a Photoshop Action, but it seems
to
>
> > be a persistent reference to the original file. Once the file has been
>
> > changed and discarded, Photoshop opens the file from the trash. The
file
>
> > path in the action follows the original file wherever it goes.
>
>
> > I searched 2 years of this list for a solution and tried just about
>
> > everything I found.
>
>
> > Any suggestions?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.