This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Illustratorの「コピー元のレーヤーにペースト」をモーダルウィンドウ上でON/OFFする | |
var b = app.preferences.getBooleanPreference('layers/pastePreserve'); | |
var status = ""; | |
var buttonText = "" | |
if ( b ){ | |
status = "ON"; | |
buttonText = "OFF"; | |
}else{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Adobe-Japan1のUniJIS2004でデフォルトグリフが全角グリフのコードポイント。 | |
2. UniJIS2004でデフォルトグリフがプロポーショナルの4つの引用符「‘ ’ “ ”」を追加。 | |
3. Unicodeのすべての漢字のコードポイントを追加。 | |
上記から重複を除いた全角文字総数は95495個。 | |
↓正規表現 | |
[\x{00A7}-\x{00A8}\x{00B0}-\x{00B1}\x{00B4}\x{00B6}\x{00D7}\x{00F7}\x{0386}\x{0388}-\x{038A}\x{038C}\x{038E}-\x{03A1}\x{03A3}-\x{03CE}\x{03D0}-\x{03D1}\x{03D5}\x{03DB}\x{0401}-\x{040C}\x{040E}-\x{044F}\x{0451}-\x{045C}\x{045E}-\x{045F}\x{2003}\x{2010}\x{2015}-\x{2016}\x{2018}-\x{2019}\x{201C}-\x{201D}\x{2020}-\x{2021}\x{2025}-\x{2026}\x{2030}\x{2032}-\x{2033}\x{203B}-\x{203C}\x{2042}\x{2047}-\x{2049}\x{2051}\x{205A}\x{205D}\x{20DD}-\x{20DE}\x{2100}\x{2103}\x{2105}\x{2109}-\x{210A}\x{210F}\x{2113}\x{2116}\x{2121}\x{212B}\x{2135}\x{213B}\x{2150}-\x{2152}\x{2156}-\x{215A}\x{2160}-\x{216B}\x{2170}-\x{217B}\x{217F}\x{2189}\x{2190}-\x{2194}\x{2196}-\x{2199}\x{21C4}-\x{21C6}\x{21CB}-\x{21CC}\x{21D0}\x{21D2}\x{21D4}\x{21E6}-\x{21E9}\x{21F5}\x{2200}\x{2202}-\x{2203}\x{2205}\x{2207}-\x{2208}\x{220A}-\x{220B}\x{2211}-\x{2213}\x{221A}\x{221D}-\x{2220}\x{2227} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if application id "com.adobe.Illustrator" is running then | |
set myApp to application id "com.adobe.Illustrator" | |
quit myApp | |
repeat while myApp is running | |
delay 0.1 | |
end repeat | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if application id "com.adobe.InDesign" is running then | |
set myApp to application id "com.adobe.InDesign" | |
quit myApp | |
repeat while myApp is running | |
delay 0.1 | |
end repeat | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# Usage: python inddver.py indesign-file(indd,indb,indl,indt) | |
# | |
# This script will detect the app version written in the indesign file. | |
# | |
import sys, os, re | |
def getAppName(verDec): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Usage: python3 aiver3.py illustrator-file(ai,eps) | |
# | |
# This script will detect the app version written in the illustrator file. | |
# | |
import sys, os, re | |
def getAppName(ver): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# Usage: python aiver.py illustrator-file(ai,eps) | |
# | |
# This script will detect the app version written in the illustrator file. | |
# | |
import sys, os, re | |
def getAppName(ver): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Usage: python3 inddver3.py indesign-file(indd,indb,indl,indt) | |
# | |
# This script will detect the app version written in the indesign file. | |
# | |
import sys, os, re | |
def getAppName(verDec): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=============================================== | |
// <L10N> :: FRENCH_LOCALE :: JAPANESE_LOCALE | |
//=============================================== | |
// Remove objects outside: :: Supprimer les objets au-del\u00E0 de :: \u9818\u57DF\u5916\u306E\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u524A\u9664\uFF1A | |
// Bleed :: Fonds perdus :: \u88C1\u3061\u843D\u3068\u3057 | |
// Slug :: Ligne-bloc :: \u5370\u5237\u53EF\u80FD\u9818\u57DF | |
// Custom page offset: :: Distance de la page :: \u30DA\u30FC\u30B8\u5916\uFF1A | |
// Parse master spreads :: Inclure les gabarits :: \u89AA\u30DA\u30FC\u30B8\u3092\u542B\u3080 | |
// Preserve threaded text frames :: Pr\u00E9server les blocs cha\u00EEn\u00E9s :: \u9023\u7D50\u30C6\u30AD\u30B9\u30C8\u30D5\u30EC\u30FC\u30E0\u3092\u524A\u9664\u3057\u306A\u3044 | |
// Items removed: :: Objets supprim\u00E9s :: \u524A\u9664\u3057\u305F\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////// | |
// Illustratorのアプリケーションデフォルトを調整する(簡易版) | |
////////////////////////////////////////////////////////// | |
with (app.preferences) { | |
/****************************************************/ | |
// 使用歴が長いユーザーはここを変更するとかなり使いやすくなる | |
//一般 > 詳細なツールヒントを表示 OFF |