• 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
AS Bug with 10.12?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AS Bug with 10.12?


  • Subject: AS Bug with 10.12?
  • From: Jon Rosen <email@hidden>
  • Date: Sat, 14 Jan 2017 16:38:10 -0800

I have an AppleScript that that runs within FileMaker that has been running reliably for years. Well, almost reliably; there was an issue with SIPS a year or so ago. At any rate, The script generates 300 dpi and 72 dpi JPEGs. After making the first few, my client gets a “FileMaker Quit” alert. But, FMP doesn’t actually quit. The script still runs perfectly under OS X 10.11, but gives this error with 10.12.

The scripts are listed below. They are both identical except for the dpi of the output files. Does anyone have any insight into this perplexing bug?

Thanks,

Jon

Script 1:
set aFile to "/Volumes/Flight Inbox/PDFs/xxxxx"
set outFile to "/Volumes/Flight Inbox/300 PPI/yyyyy"

set posixInput to quoted form of POSIX path of aFile
set posixOutput to quoted form of POSIX path of ((text 1 thru -5 of outFile) & ".jpg")

set posixProfile to quoted form of "/Library/Application Support/Adobe/Color/Profiles/Recommended/sRGB Color Space Profile.icm"

--do shell script "sips -s format jpeg -s formatOptions high -s dpiHeight 300 -s dpiWidth 300 -s formatOptions best -z 2550 3300 -e " & posixProfile & " " & posixInput & " --out " & posixOutput
do shell script "sips -s format jpeg -s formatOptions high -s dpiHeight 300 -s dpiWidth 300" & " " & posixInput & " --out " & posixOutput
do shell script "sips -z 2550 3300 " & posixOutput


Script 2:
set aFile to "/Volumes/Flight Inbox/PDFs/xxxxx"
set outFile to "/Volumes/Flight Inbox/72 PPI/yyyyy"

set posixInput to quoted form of POSIX path of aFile
set posixOutput to quoted form of POSIX path of ((text 1 thru -5 of outFile) & ".jpg")

set posixProfile to quoted form of "/Library/Application Support/Adobe/Color/Profiles/Recommended/sRGB Color Space Profile.icm"

do shell script "sips -s format jpeg -s formatOptions high -s dpiHeight 72 -s dpiWidth 72 -s formatOptions best -z 612 792 -e " & posixProfile & " " & posixInput & " --out " & posixOutput

 _______________________________________________
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

  • Follow-Ups:
    • Re: AS Bug with 10.12?
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Asking a favour, please?
  • Next by Date: Re: Calculate Current Year Quarter with Time Zone Using AppleScriptObjC
  • Previous by thread: Re: Asking a favour, please?
  • Next by thread: Re: AS Bug with 10.12?
  • Index(es):
    • Date
    • Thread