PDF Schnellaktion "Beim Ausführen der Aktion ist ein Problem aufgetreten"

Hallo zusammen, ich habe screenshots of zu pdfs über die Schnellaktion gewandelt. Seit ein paar Tagen geht das aber nicht mehr, dafür kommt die Anzeige "Beim Ausführen der Aktion ist ein Problem aufgetreten".

Was kann ich in den Einstellungen denn vornehmen, dass es wieder funktioniert. Die Funktion ist mir enorm wichtig!

Danke!

N.


MacBook Pro 13″, macOS 13.2

Gepostet am 03. März 2023 07:21

Antworten
31 Antworten

03. März 2023 07:52 als Antwort auf ONyourProject

Vielen Dank fürs Beantworten ONyourProject Eine Gegenfrage, warum nutzt du nicht den direkten Weg, dass für das Bildschirmfoto gleich ein PDF erstellt wird, sondern diesen Umweg ¯\_(ツ)_/¯


Nutze den einmaligen Terminal Befehl:

defaults write com.apple.screencapture type pdf


Ansonsten schau Dir den Inhalt der Schnellaktion an, um den Fehler zu analysieren. Bei der Anzeige 5s dürfte / könnte es um Fehler in den Zugriffsrechten gehen, nicht belegbar / nicht valide 😉

Ich hoffe, ich konnte dir etwas weiter helfen?

Liebe Grüße 

11. März 2023 06:19 als Antwort auf ONyourProject

Hallo ONyourProject


nachfolgend die Lösung, zu deinem Problem. Dein Script, welches Du uns inhaltlich leider nicht gezeigt hast, sollte Nachfolgendes enthalten, welches direkt von Apple stammt:


(*
Copyright © 2003 Apple Computer, Inc.

You may incorporate this Apple sample code into your program(s) without
restriction.  This Apple sample code has been provided "AS IS" and the
responsibility for its operation is yours.  You are not permitted to
redistribute this Apple sample code as "Apple sample code" after having
made changes.  If you're going to redistribute the code, we require
that you make it clear that the code was descended from Apple sample
code, but that you've made changes.
*)

property type_list : {"JPEG", "GIFf", "PICT", "TIFF", "PDF", "TEXT"}
property extension_list : {"jpg", "gif", "pct", "tif", "pdf", "rtf"}
--html is not currently handled

on run {}
	tell application "Finder" to set FinderSelection to the selection as alias list
	
	set FS to FinderSelection
	--Ideally, this list could be passed to the open handler
	
	set SelectionCount to number of FS -- count	
	if SelectionCount is 0 then
		set FS to userPicksFolder()
	else if the SelectionCount is 1 then
		set MyPath to path to me
		if MyPath is item 1 of FS then
			--If I'm a droplet then I was double-clicked
			set FS to userPicksFolder()
		end if
	else
		--I'm not a double-clicked droplet
	end if
	open FS
end run

on userPicksFolder()
	set these_items to {}
	set these_items to (choose file with prompt "Select a file to convert to PDF:" of type {"JPEG", "GIFf", "PICT", "TIFF", "TEXT", "RTF"}) as list
end userPicksFolder

on open these_items
	set thesefiles to {}
	set the item_info to {}
	repeat with i from 1 to the count of these_items
		set this_item to (item i of these_items)
		set the item_info to info for this_item
		
		if folder of the item_info is true then --if the item is a folder
			processFolder(this_item)
		else if ((folder of the item_info is false) and ¬
			(alias of the item_info is false)) and ¬
			(the file type of the item_info is in the type_list) or ¬
			((the name extension of the item_info) is in the extension_list) then
			
			set theFilePath to (item i of these_items as string)
			set thePOSIXFilePath to POSIX path of theFilePath as string
			processFile(thePOSIXFilePath)
		end if
	end repeat
end open

--process folders 
on processFolder(theFolder)
	set these_items to list folder theFolder without invisibles
	repeat with i from 1 to the count of these_items
		set this_item to alias ((theFolder as text) & (item i of these_items))
		set the item_info to info for this_item
		if folder of the item_info is true then
			processFolder(this_item)
		else if (alias of the item_info is false) and ¬
			((the file type of the item_info is in the type_list) or ¬
				the name extension of the item_info is in the extension_list) then
			set theFilePath to (this_item as string)
			set thePOSIXFilePath to POSIX path of theFilePath as string
			processFile(thePOSIXFilePath)
		end if
	end repeat
end processFolder

on processFile(thePOSIXFileName)
	try
		set terminalCommand to ""
		set convertCommand to "/System/Library/Printers/Libraries/./convert "
		set newFileName to thePOSIXFileName & ".pdf"
		set terminalCommand to convertCommand & "-f " & "\"" & thePOSIXFileName & "\"" & " -o " & "\"" & newFileName & "\"" & " -j \"application/pdf\""
		
		do shell script terminalCommand
	end try
end processFile
 

Wenn du bei der Umsetzung Hilfe benötigst, solltest Du den Apple Support Tel.: 0800 6645 451 (DE) kontaktieren, um weitere Unterstützung zu erhalten, da sich die Mitarbeiter von Apple das bei dir ansehen können.


Beste Grüße


○ Apple Support ○ Tel.: 0800 6645 451 (DE) ○ 0800 220325 (AT) ○ 0800 00 1853 (CH) ○ 

06. März 2023 03:18 als Antwort auf ONyourProject

Hallo ONyourProject


gib einfach den o. g. Befehl im Terminalfenster ein, gib zunächst den Begriff Terminal in die Spotlight-Suche ein,



kopiere am Besten den Befehl um Tippfehler zu vermeiden, sodass in Zukunft jedes Bildschirmfoto als PDF gespeichert wird.

defaults write com.apple.screencapture type pdf


Gerne können wir die weiteren Punkte, Schritt für Schritt, auch noch bearbeiten, jetzt würde ich aber erst einmal wissen wollen, ob mein Tipp für Dich hilfreich war / ob es funktioniert hat❓

Liebe Grüße!

10. März 2023 08:55 als Antwort auf wupe66

Hallo, ich habe eine Automator-Schnellaktion nach einer Youtube-Anleitung erstellt. So kann man aus dem Finder über eine Schnellaktion (echte Maustaste) mehrere pdfs zu 1 pdf kombinieren. Hier der Workflow: Start im Automator mit Neu / Schnellaktion. Die Datei liegt dann am Schluss bei mir mit kryptischem Namen im Download-Ordner. Dort benenne ich sie um.


Und mit diesem Workflow (Schnellaktion) kann man mehrere Bilder (bei mir .png-Format) zu 1pdf zusammenfügen. Diese pdfs landen bei mir dann im Ordner Bildschirmfotos.



Probiert es doch mal aus, ob es bei euch klappt. Meine Versuche waren positiv.


Oh Mann, was für ein Fummelkram!!!

11. März 2023 02:23 als Antwort auf ONyourProject

Ich noch mal - Entschuldigung...


wupe66, ich habe mal etwas "romprobiert". Und im Automator wird das pdf erstellt, wenn ich oben rechts ausführen drücke. Allerdings geht das Erstellen von pdfs weiterhin nicht über die rechte Maus-Taste und die Schnellaktion... hhhmmm... Aber immerhin schon mal ein Weg, wenn auch nicht der effektivste... Jemand noch eine Idee?


03. März 2023 07:34 als Antwort auf ONyourProject

Hallo ONyourProject


vielen Dank für deinen Beitrag / deine Frage in der Apple Support Community. Wie ist deine detaillierte Vorgehensweise, bekommst du eine Fehlermeldung, wenn ja wie lautet diese?


Kannst Du uns auch die Inhalte deiner Schnellaktion verraten, nutze ggf. die Code-Tags, ansonsten können wir uns den Prozess nicht vorstellen.



Du kannst uns auch gerne Screenshots senden, damit wir (die Community) uns da ein besseres Bild machen können. (Persönliche Daten bitte ausblenden)


Wir freuen uns auf deine Antworten.

Beste Grüße

10. März 2023 04:54 als Antwort auf PreCognition

Hallo PreCognition,


ich habe auch das Problem mit dem Zusammenführen von pdfs. Und zwar habe ich das Problem, wenn ich Bildschirmfotos, die direkt in pdfs umgewandelt wurde, nun zusammen in 1 pdf zusammengefasst werden sollen:

„Der Vorgang konnte nicht abgeschlossen werden. Befehlszeilenprogramm gab Fehler 6 aus.: 6“


Wenn Text-pdfs zusammenfüge, klappt es. Ich nutze hierfür ein Automator-Programm:





11. März 2023 02:00 als Antwort auf PreCognition

Guten Morgen zusammen!


wupe66, freut mich, dass Du dein Problem lösen konntest. Nur habe ich ja ein anderes Thema... Und mit Deiner Anleitung konnte ich bei meinem Thema auch keine Lösung herbeiführen.


Hat jemand einen Lösungsansatz?


Es hemmt mich gerade sehr in meiner Arbeit und macht vieles sehr umständlich :-(

Wäre dankbar, wenn mir jemand helfen kann...


Danke

N.

Dieser Thread wurde vom System oder dem Community-Team geschlossen. Du kannst alle Beiträge positiv bewerten, die du hilfreich findest, oder in der Community nach weiteren Antworten suchen.

PDF Schnellaktion "Beim Ausführen der Aktion ist ein Problem aufgetreten"

Willkommen in der Apple Support Community
Ein Forum, in dem Apple-Kunden sich gegenseitig mit ihren Produkten helfen. Melde dich mit deinem Apple Account an, um Mitglied zu werden.