• 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: Quark to PS help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark to PS help


  • Subject: Re: Quark to PS help
  • From: KOENIG Yvan <email@hidden>
  • Date: Fri, 3 Aug 2007 19:35:19 +0200


Le 3 août 07 à 19:22:58, Ian Buttery a écrit :

Hi,

 

I have a problem with the following folder action script which I’m unable to identify. Basically Quark will launch but no .ps file is created.

Any help would be gratefully appreciated.

 

 

on adding folder items to this_folder after receiving these_items

      repeat with i from 1 to number of items in these_items

            

             set this_item to item i of these_items

             tell application "Finder"

                   set theFileName to the name of this_item

             end tell

tell application "QuarkXPress Passport"

                   activate

                   open this_item

-- are you sure that Quark is able to open an alias?

--      it may be fine to code: open (this_item as text)          

                   tell print setup

                         set printer type to "AdobePDF 7.0"

                         set paper size to "Custom"

                         set fit in area to true

                   end tell -- to print setup

                  

   --                tell application "QuarkXPress Passport"

                         print document 1 PostScript file this_item

                        

                         delay 1

                         close document 1

                        

  --                 end tell -- to QuarkXPress Passport

             end tell -- QuarkXPress Passport

            

             set this_item to ""

             set this_image to ""

             set theCSpace to ""

end repeat

end adding folder items to

Yvan KOENIG
 _______________________________________________
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

References: 
 >Quark to PS help (From: "Ian Buttery" <email@hidden>)

  • Prev by Date: Quark to PS help
  • Next by Date: Re: Help with applescript creating folders
  • Previous by thread: Quark to PS help
  • Next by thread: Word - Save As - HTML
  • Index(es):
    • Date
    • Thread