This file contains hidden or 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
| -- tell application "InDesignServer" | |
| tell application "Adobe InDesign CS3" | |
| set myDocument to make document | |
| tell myDocument | |
| tell page 1 | |
| set myTextFrame to make text frame | |
| set geometric bounds of myTextFrame to {"6p", "6p", "18p", "18p"} | |
| set contents of myTextFrame to "Hello World!" | |
| end tell |
This file contains hidden or 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
| require 'rubygems' | |
| require 'appscript' | |
| include Appscript | |
| outputDir= File.join(ENV['HOME'],'Desktop') | |
| pdfpath = File.join(outputDir, "myTempFile.pdf") | |
| filepath = File.join(outputDir, "myTempFile.indd") | |
| imagepath = File.join(outputDir, "Schermafbeelding.png") | |
| imagepath = File.join(outputDir, "Schermafbeelding.png") | |
| imagepath = File.join(outputDir, "test.pdf") |
This file contains hidden or 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
| require 'rubygems' | |
| require 'appscript' | |
| include Appscript | |
| outputDir= File.join(ENV['HOME'],'Desktop') | |
| pdfpath = File.join(outputDir, "myTempFile.pdf") | |
| filepath = File.join(outputDir, "myTempFile.indd") | |
| imagepath = File.join(outputDir, "Schermafbeelding.png") | |
| idApp = app('Adobe InDesign CS4') |
This file contains hidden or 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
| class CInddexport | |
| require 'rubygems' | |
| require 'appscript' | |
| include Appscript | |
| def initialize(filePath, outputPath, test = false) | |
| @filePath = filePath | |
| @outputPath = outputPath | |
| @idApp = (test == true) ? app('Adobe InDesign CS3') : app('InDesignServer') | |
| end |
This file contains hidden or 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
| require 'rubygems' | |
| require 'appscript' | |
| include Appscript | |
| pdfpath = File.expand_path('~')+'/Desktop/myTempFile.pdf' | |
| filepath = File.dirname(__FILE__)+'/snippetsTestDocument.indd' | |
| filepath = MacTypes::FileURL.path(filepath).hfs_path | |
| idApp = app('Adobe InDesign CS4') |
This file contains hidden or 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
| /* works for IE 6 en IE 7 */ | |
| .lwcomlistitemimgshadow img | |
| { | |
| margin-top:expression(((this.parentNode.parentNode.clientHeight-this.clientHeight)/2) +"px"); | |
| } |
This file contains hidden or 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/\t/,/gc | |
| :%s/\s/,/gc | |
| :%s/;/,/g |
This file contains hidden or 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
| EXT=extensie_dir | |
| cd $EXT | |
| rm -Rf `find -name ".svn"` | |
| git init | |
| git add * | |
| git commit -a -m 'initial import into github' | |
| git remote add origin git@......../$EXT.git | |
| git push -u origin master |
This file contains hidden or 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
| <?php | |
| class tx_myclass extends tslib_pibase { | |
| var $conf; | |
| function __construct() | |
| { | |
| $this->conf = $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_otherplugin_pi3.']; | |
| } |
This file contains hidden or 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
| #hide files! | |
| mod.txdamM1_SHARED.displayExcludeByRegex = \.xml$,^_ |