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
// | |
// 現在処理中のドキュメントのテキストフレーム(s)に tf というXMLタグを付けるスクリプト | |
// InDesign CS3 | |
// | |
// ■事前に準備しておくXMLタグ | |
// page,tf,table,cell,image | |
// (タグ付きプリセットオプションにて セル→cellに設定しておくこと.) | |
// | |
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 Extend Script | |
// テキストフレームからオーバーフローしたら新しいテキストフレームを追加して連結. | |
// | |
// 1) テスト用ファイルを開く | |
var testfile = new File("/c/home/test.indd"); | |
app.open( testfile ); | |
var myDoc = app.activeDocument; |
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
#target "Illustrator" | |
/** | |
* compress and expand word | |
* | |
* 2010-10-26 mg | |
*/ | |
//check document. if not exitst, create it | |
if (app.documents.length === 0) { | |
var docObj = app.documents.add(); |
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
#!/bin/sh | |
# This program has two feature. | |
# | |
# 1. Create a disk image on RAM. | |
# 2. Mount that disk image. | |
# | |
# Usage: | |
# $0 <dir> <size> | |
# |
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
#!/bin/bash | |
# +----------------------------------------------------------------------+ | |
# | | | |
# | Mount the root file system / with the option noatime | | |
# | | | |
# | By Philipp Klaus <http://blog.philippklaus.de> | | |
# | Tip found on <http://blogs.nullvision.com/?p=275> | | |
# | | | |
# +----------------------------------------------------------------------+ |
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
/** | |
* Sorting Printer Preset | |
*/ | |
$.localize = true; | |
if (!confirm({ | |
ja:"Alert!\nプリントプリセットを並べ替えをします。\n実行しない場合は「いいえ」", | |
en:"Alert!\nSort order of Printer Presets\nClick \"No\" to cancel" | |
},{noAsDefault:true} )) {exit();}; |
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
/*************************** | |
* 作为bridge启动脚本使用 | |
* 每15分钟弹出图片提示保存文件 | |
* 点击图片使弹窗关闭 | |
* 测试环境: AI CS5 Win7 | |
* ImageURL: http://cdn1.iconfinder.com/data/icons/pry_hardware/512/Time_Machine.png | |
***************************/ | |
#target bridge | |
var time = 15; //时间设定,分钟 |
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
#targetengine "logging" | |
var timeStamp = function(d){ | |
var i,ary; | |
if(!d){ d = new Date() }; | |
ary = [ | |
d.getFullYear(),(d.getMonth()+1),d.getDate(), | |
d.getHours(),d.getMinutes(),d.getSeconds() | |
]; | |
for(i=0,len=ary.length;i<len;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
// This is a Scriptographer script | |
document.getItems({ | |
type: Path, | |
hidden: false | |
}).each(function (path){ | |
var curves = path.curves, i = curves.length - 1, curve, curvePre; | |
for (; i > 0; i--){ | |
curve = curves[i]; | |
curvePre = curve.previous; | |
curve.isLinear() && curvePre.isLinear() && |
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
#!/bin/sh | |
# This program has two feature. | |
# | |
# 1. Create a disk image on RAM. | |
# 2. Mount that disk image. | |
# | |
# Usage: | |
# $0 <dir> <size> | |
# |
OlderNewer