﻿/**********************************************************

ADOBE SYSTEMS INCORPORATED 
Copyright 2008-2010 Adobe Systems Incorporated 
All Rights Reserved 

NOTICE:  Adobe permits you to use, modify, and 
distribute this file in accordance with the terms
of the Adobe license agreement accompanying it.  
If you have received this file from a source 
other than Adobe, then your use, modification,
or distribution of it requires the prior 
written permission of Adobe. 

*********************************************************/
 
/**********************************************************
 
AppInfo.jsx

DESCRIPTION
 
Displays the application build number and locale in a new text 
frame in a new document.
 
**********************************************************/
 
var docRef = app.documents.add(DocumentColorSpace.CMYK)

// Create a new text frame in the document.
var textRef = docRef.textFrames.add()
textRef.top = 100
textRef.left = 200
 
// Add text content to the text frame.
textRef.contents = "Application build number: " + app.buildNumber + ", application locale: " + app.locale;
