<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Converter Archive - Informatik Guru</title>
	<atom:link href="https://informatik-guru.de/tag/converter/feed/" rel="self" type="application/rss+xml" />
	<link>https://informatik-guru.de</link>
	<description>Dinge die Ihr Lehrer nicht kapiert</description>
	<lastBuildDate>Wed, 29 Sep 2021 07:30:59 +0000</lastBuildDate>
	<language>de-DE</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.4</generator>
	<item>
		<title>InDesign-Konvertierung von INDD zu IDML</title>
		<link>https://informatik-guru.de/coding/indesign-konvertierung-von-indd-zu-idml/</link>
					<comments>https://informatik-guru.de/coding/indesign-konvertierung-von-indd-zu-idml/#respond</comments>
		
		<dc:creator><![CDATA[infoguru]]></dc:creator>
		<pubDate>Mon, 11 Feb 2019 17:34:39 +0000</pubDate>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Admin-Life]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe CC]]></category>
		<category><![CDATA[Adobe InDesign]]></category>
		<category><![CDATA[Adobe Indesign CC]]></category>
		<category><![CDATA[Apfelwelt]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[CC]]></category>
		<category><![CDATA[Converter]]></category>
		<category><![CDATA[Grafik]]></category>
		<category><![CDATA[High Sierra]]></category>
		<category><![CDATA[Hotfolder]]></category>
		<category><![CDATA[InDesign]]></category>
		<category><![CDATA[Konvertierung]]></category>
		<category><![CDATA[Mojave]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Sierra]]></category>
		<guid isPermaLink="false">http://informatik-guru.de/?p=721</guid>

					<description><![CDATA[<p>INDD zu IDML automatisch Konvertieren? Kein Problem!</p>
<p>Der Beitrag <a rel="nofollow" href="https://informatik-guru.de/coding/indesign-konvertierung-von-indd-zu-idml/">InDesign-Konvertierung von INDD zu IDML</a> erschien zuerst auf <a rel="nofollow" href="https://informatik-guru.de">Informatik Guru</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Lerne jetzt die automatische Konvertierung von INDD zu IDML mit AppleScript!<br>Entledige dich der Kompatibilitätsprobleme unterschiedlicher InDesign-Versionen.</p>



<p>Heute befassen wir uns mal mit einem Goodie für die kreativen unter uns.<br>Die meisten, die bereits im beruflichen Umfeld mit Adobe InDesign gearbeitet haben, kennen das leidige Problem&#8230;<br>Mehrere Indesign-Versionen, mehrere unterschiedliche .indd-Dateien, viele Probleme.<br>Um den Umgang mit solchen Situationen zu vereinfachen wurde von einem Mitglied unseres Teams in der Vergangenheit untenstehendes Script entwickelt.<br>Dieses muss per Automator/Skript-Editor unter OS X als Dienst (.scpt) abgespeichert und einem Order als Ordneraktion hinzugefügt werden (Rechtsklick auf den Ordner und dann unter &#8222;Dienste&#8220; auf &#8222;Ordneraktionen konfigurieren&#8220;).<br>Sobald dies geschehen ist hat man einen selbst gebauten &#8222;Hotfolder&#8220;, mit welchem es möglich ist, Dateien zu konvertieren.<br>Hierbei wird das aktuelle CC auf dem eigenen Rechner kurz aufgerufen, mit selbigem wird die Datei, welche man zuvor in den Ordner gelegt hat, geöffnet und als .idml-Datei im selben Verzeichnis wieder gespeichert.<br>Somit sind alle händischen Konvertierungen und Inkompatiblitätsprobleme hinfällig!</p>



<pre class="wp-block-code scrollable"><code>on adding folder items to thisFolder after receiving theItems
     try
         tell application "Finder"
             set theName to name of thisFolder
             set theCount to length of theItems
        repeat with f in theItems
            set work_file to f as alias
            --Den Ordnerpfad des zu verarbeitenden Files finden: 
            set the_container to (container of work_file) as string
            --Den Filename ohne Endung in eine Variable schreiben:
            set the_name to name of work_file
            --Die Endung in eine Variable schreiben:
            set the_extension to name extension of work_file
            --display dialog the_name &amp; the_extension #Debug-Ausgabe um zu testen, ob die Variablen korrekt befuellt sind
            if the_extension is not "" then set the_name to (text 1 thru ((length of the_name) - (length of the_extension) - 1) of the_name)


            if the_extension is not "indd" then exit repeat -- # simulated `continue`




            tell application id "com.adobe.InDesign" -- "Adobe InDesign"
                set «class UIAc» of «class pScr» to «constant elnteNvr»
                open work_file without «class psiw»
                tell document 1
                    «event K2  expt» without «class imot» given «class exft»:«constant eXftidml», «class kfil»:(the_container &amp; the_name &amp; ".idml")
                    «event CoReclos» given «class svop»:no
                end tell
            end tell
        end repeat
    end tell
on error the error_message number the error_number
    set the error_text to "Error: " &amp; the error_number &amp; ". " &amp; the error_message
    -- Im folgende wird eine Subroutine aufgerufen, welche eine Zeile in ein Logfile auf dem Desktop schreibt
    -- Falls das Log bereits existiert, so wird lediglich eine Zeile angefuegt
    my write_error_log(the error_text)
end try

end adding folder items to

on write_error_log(this_error)
    set the error_log to ((path to desktop) as text) &amp; "Script Error Log.txt"
    try
        open for access file the error_log with write permission
        write (this_error &amp; return) to file the error_log starting at eof
        close access file the error_log
    on error
        try
            close access file the error_log
        end try
    end try
end write_error_log
</code></pre>



<p>Weitere interessante InDesign Skripte findet Ihr hier: <a href="https://indesignscript.de">https://indesignscript.de</a></p>



<p>Falls Euch das Skript genutzt und/oder gefallen hat, so lasst uns doch einen Like auf Facebook, ein Follow auf Instagram oder ein Subscribe für unseren Mail-Newsletter da, um fortwährend über neue, informative  und lustige Beiträge vom Informatik-Guru informiert zu werden!</p>
<p>Der Beitrag <a rel="nofollow" href="https://informatik-guru.de/coding/indesign-konvertierung-von-indd-zu-idml/">InDesign-Konvertierung von INDD zu IDML</a> erschien zuerst auf <a rel="nofollow" href="https://informatik-guru.de">Informatik Guru</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://informatik-guru.de/coding/indesign-konvertierung-von-indd-zu-idml/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
