Skip to content

Instantly share code, notes, and snippets.

View johntaufa's full-sized avatar

John Taufa johntaufa

  • All Creative Apps
  • 07:50 (UTC +10:00)
View GitHub Profile
@johntaufa
johntaufa / placeWordFile.jsx
Created January 14, 2014 04:08
For Indesign CS4. Import a Word file into a text frame
#target indesign
app.documents.add();
app.documents[0].save();
app.documents[0].pages[0].textFrames.add({geometricBounds:[40,40,180,180]});
var wordFile = File.openDialog ("Choose a text file", "*.doc");
var myFrame = app.documents[0].pages[0].textFrames[0];
myFrame.insertionPoints.item(-1).place(wordFile);
@johntaufa
johntaufa / addContentTextFrame.jsx
Last active December 30, 2015 10:39
Add content to text frame in Indesign
#target indesign
app.documents.add();
app.documents[0].save();
app.documents[0].pages[0].textFrames.add({geometricBounds:[40,40,180,180]});
var myFrame = app.documents[0].pages[0].textFrames[0];
myFrame.contents = "Hello world";
@johntaufa
johntaufa / addSave.jsx
Created December 4, 2013 02:15
Add a new indesign file and save
#target indesign
app.documents.add();
app.documents[0].save();
@johntaufa
johntaufa / addTextFrame.jsx
Last active December 30, 2015 05:09
* create a new Indesign document * save to disk * add text frame
#target indesign
app.documents.add();
app.documents[0].save();
app.documents[0].pages[0].textFrames.add({geometricBounds:[40,40,180,180]});

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.