• 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
Fwd: Illustrator CC fonts missing freeze
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Illustrator CC fonts missing freeze


  • Subject: Fwd: Illustrator CC fonts missing freeze
  • From: Brian Christmas <email@hidden>
  • Date: Mon, 22 Feb 2016 14:42:47 +1100


G’day again.

It struck me that my last posting on this subject merely quit Illustrator, and moved the email containing the problem file to a particular Mailbox.

THIS version actually leaves the Illustrator file open, warns of font alterations, and opens the altered document.

Someone might find it useful, if you’ve struck this Illustrator problem in scripting. I’ve read where InDesign CC throws the same dialog.

Regards

Santa


property TheItem : ""
set my TheItem to ((path to desktop) & "KPR_13939_SaveTheDate_FOIL 9.48.02 AM.ai" as text) as alias

 

tell application id "com.adobe.illustrator" -- Adobe Illustrator
  activate
  # set user interaction level to never interact
  set user interaction level to interact with all
  repeat until the (count of documents) is 0
  close every document saving no
  end repeat
  set addBarCode to false
  set my TheItem to my TheItem as alias
  try
  tell application "System Events" to tell process "Adobe Illustrator"
  try
  keystroke return
  end try
  end tell
  activate
  set theDwell to 16
  set theStartTime to current date
  with timeout of theDwell seconds
  try
  open my TheItem dialogs no   -- as alias (don't use 'as alias' here or routine won't work)
  end try
  end timeout
  if (current date) - theStartTime > theDwell - 1 then
  activate
  tell application "System Events" to tell process "Adobe Illustrator"
  try
  keystroke return
  end try
  do shell script ("sleep 0.4")
  try
  keystroke return
  end try
  end tell
  tell current application to say ("We may have struck an Illustrator file with miss matched fonts. Fonts have been replaced by default fonts")
  end if
  on error errmsg number errnum
  tell application "System Events" to display dialog "setup 1 " & errmsg
  end try
  repeat 2 times
  tell application "System Events" to tell process "Adobe Illustrator"
  try
  click button "Continue" of window 1
  end try
  try
  keystroke return
  end try
  end tell
  end repeat
end tell
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Illustrator CC fonts missing freeze (From: Brian Christmas <email@hidden>)

  • Prev by Date: Illustrator CC fonts missing freeze
  • Previous by thread: Illustrator CC fonts missing freeze
  • Index(es):
    • Date
    • Thread