thomaso Posted December 10, 2022 Share Posted December 10, 2022 2 hours ago, iPeter said: CMYK Separation Extractor & Preview 1.00 Danke! Dein Tool-Set klingt nach einer interessanten Alternative zu Acrobat. Kannst du evtl. den Grund für meine Fehlermeldung finden / lösen? mac:~ ich$ cd '/private/var/folders/sc/t7vpbgl15nd3417_gpz532fc0000gn/T/AppTranslocation/97C09A46-1470-426E-AA63-497C8DE95FD6/d/' gs -sDEVICE=tiffsep -dNOPAUSE -dBATCH -dSAFER -r300 -sColorConversionStrategy=CMYK -dOverrideICC=true -dRenderIntent=3 -sOutputFile=Preview/Page_"%03d"_.tif '/Volumes/D_3/Downloads-ot/CMYK Separation Extractor & Preview/Test-Page.pdf' mac:d ich$ gs -sDEVICE=tiffsep -dNOPAUSE -dBATCH -dSAFER -r300 -sColorConversionStrategy=CMYK -dOverrideICC=true -dRenderIntent=3 -sOutputFile=Preview/Page_"%03d"_.tif '/Volumes/D_3/Downloads-ot/CMYK Separation Extractor & Preview/Test-Page.pdf' GPL Ghostscript 10.0.0 (2022-09-21) Copyright (C) 2022 Artifex Software, Inc. All rights reserved. This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: see the file COPYING for details. Processing pages 1 through 1. Page 1 GPL Ghostscript 10.00.0: **** Could not open the file 'Preview/Page_001_.tif'. **** Error: Page drawing error occurred. Could not draw this page at all, page will be missing in the output. P.S.: Der Preview-Ordner ist leer, hat aber 6 kB. – Falls Ghostscript eine Ursache ist: Bisher hatte ich Ghostscript nicht installiert, jetzt habe ich die v10. aus deinem Link verwendet, finde aber keine App dazu. Da der Installer mit "Full" benannt ist, hätte ich vermutet, dass ein Interface als .app im Programme-Ordner mit installiert würde, oder? Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
iPeter Posted December 10, 2022 Share Posted December 10, 2022 Nein, bei Ghostscript handelt es sich um reine Unix-Programme bzw. -Befehle, wo es keine Oberfläche gibt. Hierzu gibt es extra Programme, die z. B. Elemente davon verwenden und als GUI anzeigen, wie z. B. das OpenSource-DTP-Programm "Scribus". Hast du den Ordner mit den Skripten wirklich dort hin kopiert, wo du auch Schreibrechte hast (in deinem Benutzerordner)? Ich würde auch mal versuchen, diese Version 10 von Ghostscript noch einmal zu entfernen (deinstallieren) und durch die neueste 9er-Version zu ersetzen (installieren). Die 10er-Version ist glaube ich noch sehr neu und sollte noch nicht so unbedingt produktiv eingesetzt werden. Dort steht nämlich auch neben dem Downloadlink: "In case of trouble, revert back to Ghostscript 9.56.1 below." Ich selbst habe es auch nur mit 9.50 (unter High Sierra) und 9.56 (Catalina) getestet. Quote Link to comment Share on other sites More sharing options...
loukash Posted December 10, 2022 Share Posted December 10, 2022 17 minutes ago, thomaso said: Der Preview-Ordner ist leer, hat aber 6 kB .DS_Store Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
iPeter Posted December 10, 2022 Share Posted December 10, 2022 Vielleicht auch mal den Ordner "Preview" löschen und eine neuen mit dem gleichen Namen anlegen. Quote Link to comment Share on other sites More sharing options...
loukash Posted December 11, 2022 Share Posted December 11, 2022 @iPeter, you may want to make a dedicated thread with your droplets in the Resources subforum, so that it's not buried in this monster thread here. forum.affinity.serif.com/index.php?/forum/11-resources Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
iPeter Posted December 11, 2022 Share Posted December 11, 2022 58 minutes ago, loukash said: @iPeter, you may want to make a dedicated thread with your droplets in the Resources subforum, so that it's not buried in this monster thread here. forum.affinity.serif.com/index.php?/forum/11-resources I open a extra thread on the resources forum-area: CMYK Separation Extractor & Preview – AppleScript-Droplets Thank you for your advice. loukash 1 Quote Link to comment Share on other sites More sharing options...
loukash Posted December 11, 2022 Share Posted December 11, 2022 21 hours ago, iPeter said: I don't think that's too bad, because it gives you some kind of status (progress and error) without having to program some kind of progress bar That's a good point. Thanks 21 hours ago, iPeter said: progress bar (I wouldn't know how to do that in AppleScript either) Perhaps like this?developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/DisplayProgress.html Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
iPeter Posted December 11, 2022 Share Posted December 11, 2022 Thank you for your interesting link. I think, that is very difficult to implement this, because AppleScript only knows his own objects and not the values from another resources (for example output from unix-commands and the number of pages from a pdf). There is only one file (pdf choose by AppleScript) and one main Unix-command (Ghostscript) for each process. And the time from the Unix-command (Ghostscript-Task) is different long (is dependent from the number of pages of a pdf). Furthermore the Ghostscript-Command must be communicate with the AppceScript, if one page is completed. I think there is no (easy) way/solution. Quote Link to comment Share on other sites More sharing options...
loukash Posted December 11, 2022 Share Posted December 11, 2022 17 minutes ago, iPeter said: AppleScript only knows his own objects and not the values from another resources In theory (as I'm just a "hobby scripter"), you can count files dropped/selected, and likely also pages included. Here an example I found with a quick DuckDuck search: apple.stackexchange.com/questions/322962/count-pages-in-pdf-for-non-technical-mac-using-person Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.