• 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
Saving files in QUARK error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saving files in QUARK error


  • Subject: Saving files in QUARK error
  • From: Hans Schoenmaker <email@hidden>
  • Date: Sat, 30 Nov 2002 12:18:33 +0100

Hi there,


I'm trying to save quark-documents but i get some errors.
I'm using os 9.2 / quark 4.11 / AS 1.6.

PROBLEM 1 --------

Scriptpart 1 is supposed to simply save the quark file with name "Somefile"
to folder "somefolder"
The original quark file is a Quark_TEMPLATE.
After save the quark-file like scriptpart 1, it still is a Template-file.
But I want it to be a documentfile!!!
How can i fix this? Do i need to change the Creatortype???


Scriptpart 1
----------------------------------------------------------------------------

--Saving the document
set theSavePath to "somefolder:"
set FileName to "somefile"
save document 1 in (theSavePath & FileName & ".QXP")


----------------------------------------------------------------------------




PROBLEM 2 --------

Scriptpart 2 is there to generate EPS-quark-files than need to be distilled.
In the Quarkfile there is an ILLUSTRATOR-IMAGE.
Every time I try to save a quark-page as EPS-document, it gives an
errorMessage saying:

"Page could contain EPS pictures which
include Binary Data. Ok to continue?

Cancel / OK"

I don't want this message to popup.
Can I make quark not popup this message, but just do it?!?!?
Or else, how do i make the illustrator file not contain Binary Data?



Scriptpart 2
----------------------------------------------------------------------------

--Saving EPS pages
set outFolder to "somefolder:"
tell document 1
repeat with i from 1 to count of pages

set outFile to outFolder & FileName & ".eps"
try
save page i in outFile
set ctr to ctr + 1
end try
end repeat
end tell


----------------------------------------------------------------------------



Hans Schoenmaker
email@hidden

The Netherlands
_______________________________________________
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: iDo Script Scheduler and 'do shell script'
  • Next by Date: Re: checking form of input
  • Previous by thread: Re: checking form of input
  • Next by thread: chance to speak to a MUG about AppleScript
  • Index(es):
    • Date
    • Thread