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
// メイン関数 | |
function main() { | |
var doc = app.activeDocument; | |
var initialPage = app.activeWindow.activePage; // 実行前のページを保存 | |
var hasProcessedParagraphs = false; // 処理対象の段落があったかどうかのフラグ | |
// ドキュメント内のすべてのストーリーをループ | |
for (var i = 0; i < doc.stories.length; i++) { | |
var story = doc.stories[i]; |
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
// Batch relinks the same linked file in an Illustrator document | |
// Targets | |
// Links that are selected within the document. | |
// Important: Even if not selected, links pointing to the same file as the selected ones are considered targets. | |
// Considerations | |
// Use the direct selection tool to select links within the document. | |
// Do not run in Isolation Mode as the process will not complete successfully. |
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ドキュメントの同一リンクファイルを一括で再リンクする | |
//処理対象 | |
//ドキュメント内で選択されているリンク | |
//重要:選択されていなくても、選択箇所と同一ファイルにリンクしていたら処理対象 | |
//注意点 | |
//ドキュメント内のリンク選択はダイレクト選択ツールで選択すること | |
//編集モードで実行しないように。処理が完了しなくなってしまう |
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
var doc = app.activeDocument; | |
var compFonts = doc.compositeFonts; | |
for (var i=compFonts.length-1; i>0; i--) { | |
compFonts[i].remove(); | |
} |
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の選択テキストを本当の標準字形に戻す | |
var selObj = activeDocument.selection; | |
if (selObj.length > 0) { | |
//オブジェクト選択 | |
for (var i = 0; i < selObj.length; i++) { | |
if (selObj[i] != undefined){ | |
if (selObj[i].typename== "TextFrame") { | |
var myText = selObj[i].textRange; |
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
app.preferences.setBooleanPreference("LiveEdit_State_Machine",false); |
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
[\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}-\x{222E}\x{2234}-\x{2235}\x{223D}\x{2243}\x{2252}\x{2260}-\x{2261}\x{2266}-\x{2267}\x{226A}-\x{226B}\x{2272}-\x{2273}\x{2282}-\x{2283}\x{2286}-\x{2287}\x{2295}-\x{2 |
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
app.addMenuItem({ | |
cName: "Remove newlines at the end of comments", | |
cUser: "\u30B3\u30E1\u30F3\u30C8\u672B\u5C3E\u306E\u6539\u884C\u3092\u524A\u9664", | |
cParent: "Edit", | |
nPos:-1, | |
cEnable:!1, | |
cExec: "Remove_newlines()" | |
}); | |
app.addMenuItem({ |
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
////////////////////////////////////////////////////////// | |
// InDesignのアプリケーションデフォルトを調整する | |
////////////////////////////////////////////////////////// | |
////////////////////////////////////////////////////////// | |
// 全バージョン共通 | |
//すべての黒を正確に表示 | |
with (app.colorSettings) { | |
idealizedBlackToScreen=false; //スクリーン |
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 |
NewerOlder