{"id":5304,"date":"2015-02-27T06:06:21","date_gmt":"2015-02-27T05:06:21","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=5304"},"modified":"2024-04-26T18:11:54","modified_gmt":"2024-04-26T16:11:54","slug":"mac-os-x-leere-textdatei-mit-einen-klick-auf-die-toolbar-erzeugen","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=5304","title":{"rendered":"Mac OS X: Leere Textdatei mit einen klick auf die Toolbar erzeugen."},"content":{"rendered":"<p>Wie kann man mit einen klick eine leere Textdatei im Finder erzeugen?<br \/>\nDas geht mit Apple <a href=\"https:\/\/code.tutsplus.com\/the-ultimate-beginners-guide-to-applescript--mac-3436t\" title=\"apple-script\">Script<\/a>.<\/p>\n<p>1. Apple Script Editor starten:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.23.45.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.23.45.png\" alt=\"Editor\" width=\"517\" height=\"101\" class=\"aligncenter size-full wp-image-5306\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.23.45.png 517w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.23.45-300x59.png 300w\" sizes=\"auto, (max-width: 517px) 100vw, 517px\" \/><\/a><\/p>\n<p>2. Ein Script anlegen mit folgenden Inhalt:<\/p>\n<pre class=\"lang:default decode:true \" >\r\ntell application \"Finder\" to make new file at (the target of the front window) as alias<\/pre>\n<p>3. Speichern mit &#8222;Run Only&#8220; als Programm:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.25.25.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.25.25.png\" alt=\"script speichern\" width=\"429\" height=\"246\" class=\"aligncenter size-full wp-image-5305\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.25.25.png 429w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.25.25-300x172.png 300w\" sizes=\"auto, (max-width: 429px) 100vw, 429px\" \/><\/a>  <\/p>\n<p>4. Gespeichertes Script von einem neuem Finder Fenster aus auf die Toolbarleiste des Finders ziehen. Zuvor auf Symbolleiste anpassen &#8230; klicken.<br \/>\n<figure id=\"attachment_5307\" aria-describedby=\"caption-attachment-5307\" style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.26.32.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.26.32.png\" alt=\"Neue Datei anlegen im Finder\" width=\"730\" height=\"469\" class=\"size-full wp-image-5307\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.26.32.png 730w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.26.32-300x193.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><figcaption id=\"caption-attachment-5307\" class=\"wp-caption-text\">Neue Datei anlegen im Finder<\/figcaption><\/figure><br \/>\nJetzt kann mit jedem klick eine neue leere Textdatei erstellt werden, die dann einfach bearbeitet werden kann. Wie hier, wo ich zweimal drauchgeklickt haben:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.27.12.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-26-um-22.27.12.png\" alt=\"Ohne Titel\" width=\"264\" height=\"77\" class=\"aligncenter size-full wp-image-5308\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wie kann man mit einen klick eine leere Textdatei im Finder erzeugen? Das geht mit Apple Script. 1. Apple Script Editor starten: 2. Ein Script anlegen mit folgenden Inhalt: tell application &#8222;Finder&#8220; to make new file at (the target of the front window) as alias 3. Speichern mit &#8222;Run Only&#8220; als Programm: 4. Gespeichertes Script &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.wenzlaff.de\/?p=5304\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eMac OS X: Leere Textdatei mit einen klick auf die Toolbar erzeugen.\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[229,254],"tags":[1992,1994,221,1993,222,1397],"class_list":["post-5304","post","type-post","status-publish","format-standard","hentry","category-imac-2","category-os-x-2","tag-apple-script","tag-datei-neu","tag-mac","tag-neue-datei","tag-os-x","tag-script"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/5304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5304"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/5304\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5304"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}