• 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: Open QXD file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Open QXD file


  • Subject: RE: Open QXD file
  • From: "Pepper, Rick G. (CCC)" <email@hidden>
  • Date: Mon, 24 Feb 2003 10:48:15 -0600

You have to first change the file creator and type to be a QuarkXPress doc
first, then open it. We have run into this same issue and setting the
creator to XPR3 and the type to XDOC, fixed the problem. For some reason,
doing the open command via AppleScript is not the same as going through the
GUI and doing a File -> Open. Do this in a tell app Finder block, update the
folder the file is in, then open it in QXP.

Rick

> ----------
> Message: 2
> Date: Mon, 24 Feb 2003 10:49:53 +0100
> Subject: Open QXD-file +Getting file path of every image
> From: Bjorn Van Blanckenberg <email@hidden>
> To: posting Applescript <email@hidden>
>
> I want to open an QXD-file saved on a PC and get the file path of every
> image placed in it but Quark doesn't open the file.
>
> I'am using this to open it
>
> tell application "QuarkXPress Passport 4.1"
> activate
> set filePath to "disk::PC files:file.QXD"
> open filePath use doc prefs yes remap fonts no do auto picture import
> no
> end tell
>
> If I open the file manually in Quark
>
> tell application "QuarkXPress Passport 4.1"
> activate
> set theImages to (object reference of every image)
> set theImages to (coerce theImages to list)
>
> repeat with i from 1 to count of items in theImages
> set theFile to file path of image i
> set the end of theRealImages to file path
> end repeat
> end tell
>
> The theRealImages contains only null values
>
> --
> Oooo.
> oooO ( )
> ( ) ) /
> \ ( (_/
> \_)
>
>
> Thanks
> Bjorn Van Blanckenberg
_______________________________________________
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.

  • Prev by Date: Re: Newbie Questions: Differences between idle handlers and other type of handlers?
  • Next by Date: Scripting Mail:get selection
  • Previous by thread: Remote GUI?
  • Next by thread: Scripting Mail:get selection
  • Index(es):
    • Date
    • Thread