InDesign :: Write JavaScript Code To Open Template / Import XML Save And Export To PDF?

Feb 14, 2014

How do I write a javascript code to open InDesign template, import XML, save and export to pdf?
 
writing the javascript code to open the InDesign file, import some xml that will be randomly coming in and then saving the document.

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: How To Write A Code For Pressing Esc Button

Jul 24, 2013

how to write a code for pressing an esc button but in vba

View 2 Replies View Related

InDesign :: Write A Grip To Apply A Colour Or Identify Events?

Feb 25, 2014

Have usually files where parenthesis, brackets, single and double quotation marks sometimes are not matching, as
 
Houses originally (red, are now different (yellow),
 
The same with quotations marks that open but are not closing
 
It is possible write a grep to apply a colour or identify these events?

View 11 Replies View Related

AutoCad :: Import Layers From A Template To Drawing With Different Template

Jun 9, 2011

Can you import layers from a template to a drawing with a different template

View 3 Replies View Related

InDesign :: How To Create A QR Code Under Objects

Feb 18, 2014

I have cs6 - i should be able to create a qr code under objects but the option is not there...

View 2 Replies View Related

AutoCAD Inventor :: VB Code In Template File

Aug 28, 2011

I included a VB code in our drawing template, but then I get the "Warning: You have a non-empty VBA project.." message. If I copy the code into iLogic, I just get an error message. Why it runs fine as a separate macro, but doesn´t work in Inventor, or how I can include the code into the template? URL....

View 2 Replies View Related

AutoCAD .NET :: Matching Coordinates Of Template File To Code

Feb 7, 2012

 I specify a template when I open a new auotocad file and drawi  some shapes in autocad with c#.

the problem is the coordinates that I use to draw shapes does not match the template file and therefore the shapes are misplaced.(I am using centimeters for my code).

how can I change the coordinate of the template file to match my code coordinate?

View 1 Replies View Related

InDesign :: How To Avoid Error Code 206 When Installing Creative Cloud

Mar 21, 2014

I am trying to install Creative Cloud and I keep running into Error Code 206.Obviously Iam connected to Internet

View 1 Replies View Related

Illustrator Scripting :: JavaScript - How To Trim / Crop Image For Export

Jul 2, 2012

In Illustrator CS5+, I'm looping through the objects in a document, exporting each of them to an image using exportArtBoardasImage().  They need to be trimmed afterwards, as they generally have a tonne of whitespace.  Normally, I run an ImageMagick shell script (mogrify -trim).  It'd be awesome if I could reproduce this functionality from within illustrator.  I've seen people handle this by copy-and-pasting each object into a new file, sizing the artboard to that object, exporting, then closing the file.  I'd rather not do this, as it's *way* too slow. 

View 3 Replies View Related

Illustrator Scripting :: Export Selected Artboards PNG24 JavaScript?

Mar 1, 2013

I'm trying to do some workflow enhancements. For our games we need to export to PNG at different resolutions for different mobile devices. I use a artboard per asset and currently manually export 3 times (using file/export/png with use artboards option), at 72 dpi, 144 dpi and 33.75 dpi.
 
I've been modifying a simple Javascript I downlaoded and have got it save to different fixed locations at different scales. All good. However exporting every artboard each time will cause issues with our version control system and take too long. It's not really a solution.
 
So I need a way to either only export the current selected artboards (which I believe can't be done) or somewho show the artboard range dialog that the system uses. Either of those would be a good solution.
 
var docRef = app.activeDocument;
var num_artboards = docRef.artboards.length;
var getName = app.activeDocument.name;
var fileName = getName.slice(0, -3);
[code]...

View 7 Replies View Related

InDesign :: How To Set A Template For A Folded Greeting Card

Feb 17, 2014

trying to set a template for a folded greeting card

View 2 Replies View Related

Photoshop :: JavaScript To Open File From Desktop

Jul 31, 2013

I am not a scripter, any script that opens a psd file from the desktop for Mac and PC. This is all that I have:

In Windows, C:Documents and SettingsusernameDesktop
In Mac OS, ~/Desktop 
var psdFile = new File(Folder.desktop.fullName + "/YouPSDFileName.psd

View 2 Replies View Related

InDesign :: Easiest Way To Transfer Long Documents To A Different Template

Apr 17, 2014

My company is currently rebranding all of our materials which consists of hundreds of thousands of long workbooks, guides and handouts. The original documents are all in InDesign but now we are moving everything over to a new template layout and I'm trying to find the least painful, and most quick way to do so.

View 3 Replies View Related

Illustrator :: JavaScript Save As PDF - Defining Enumerated Values As Variable

May 17, 2013

how I can use a variable as the target for a Save as PDF option in Illustrator javascript. the variables work fine where there is no enumerated value for the property i.e. opts.generateThumbnails but I can figure out how to get it working opts.compatibility or other properties with enumerated values using a variable as the definition.

The code snippet example below will always give an 'Enumerated Value expected' error when run for the opts.colorCompression option even though the string is correct. If I define the opts as opts.colCompression = compressionQuality.AUTOMATICJPEGHIGH then everythings works

how I can define the compressionQuality.AUTOMATICJPEGHIGH as a variable the will work

Code snippet

opts = new PDFSaveOptions();
opts.compatibility = PDFCompatibility.ACROBAT5;
opts.generateThumbnails = thumbnailValue;

[Code]....

View 5 Replies View Related

AutoCAD Map 3D :: How To Import Shape Files In MAP (with Import Profile Template)

May 27, 2013

I am an archaeologist working with survey equipment and Map3D for a few years but now I have the following problem.

When I import the shapefiles created in my leica/topcon equipment into Map3D (mapimport) there is the possibility to select which attributes are going to be imported with an import profile file (.ipf).

How do I create the above and save it so that I do not have to go through the same process again?

View 5 Replies View Related

InDesign :: CS6 Export To PDF - Not Export Line Of Text?

Mar 31, 2014

Im using CS6 and in InDesign can see all of the text required. When I export to PDF, one line of text is not picked up, this is say line 4 of 8, all the other text is exported correctly. Then when I amend this section by adding text/changing colours, InDesign does not pick up my changes?

View 1 Replies View Related

Photoshop :: Could Not Save Because Write Access Was Not Granted (Mac OS)?

Jan 3, 2012

I keep getting the above error when working off of my xserve in photoshop. It is new in CS5 which we have recently upgraded to. Several people at my office are getting it. Sometimes it displays a random name with afp in front of it (I assume it is the temp name when photoshop is swapping out the new file for the old file.)

It only seems to happen with psd and psb files. I have write access to the volume in question and it doesn't matter if I am the only one accessing the folder or not. I can save as and it seems to work; but it does delete the file.

View 331 Replies View Related

Illustrator :: Why Take So Long For Open / Save Or Save As Dialog Boxes To Open

Dec 11, 2012

I'm having a problem throught CS6 with the Open, Save, or Save As dialog boxes not opening for a period of time after clicking on the desired functions.  It can take over a minute just to get the Open dialog box up to browse for a file.  Eventually, the dialog boxes open, but during the time that it's trying to open, the program is unresponsive.  It is happening with all of my CS6 programs.  I have unistalled and reinstalled with no fix.  The programs are updated. 

View 4 Replies View Related

AutoCAD 2013 :: How To Write Export Drawing Dimensions To Excel

Nov 29, 2013

I have a drawing with dimensions and number (number and text number). I want output (Can select each object) to a file excel. write a lisp do.

View 6 Replies View Related

Photoshop :: Why Does CS5 (12.0.4) Write To Original File / When Save As Copy

Aug 1, 2013

I open a PS file. I chose 'Save As' but uncheck 'Show Layers' in the dialog box. So now it's essentially a 'Save A Copy'. When the new file is saved the original file is written to (although nothing changed) and now has the same modification date as the 'Save A Copy' file. Super strange and causing issues. Because if one flattens or does anything to the original file, those changes are baked into the original file!

Mac OS 10.7.3
iMac i7 3.4GHz
32 GB RAM
256GB internal SSD (scratch disk)
1 TB internal SATA (system/data disk)
ColorEdge CG275W main monitor via Thunderbolt
 
Photoshop 12.0.4
Nik ColorEFX Pro 3.x
Onone Perfect Resize Pro 7.x

View 1 Replies View Related

Photoshop :: 5.1 - Write Permission Error When Save For Web And Devices

Nov 28, 2013

I'm using PS5.1.  When I try to Save for Web & Devices I'm getting write permission errors.  I haven't used this application for over a year, but it used to work fine.I also used the Mac Disk Utility to Repair Permissions.

View 1 Replies View Related

Photoshop :: Message Could Not Be Save Because Write Access Was Not Granted?

Jan 30, 2013

I'm getting the message when trying to save my homework: " message could not be save PS3-3.psd because write access was not granted."

View 2 Replies View Related

Photoshop :: Could Not Save (file Name) Because Write Access Was Not Granted

Nov 15, 2013

Error of "Could not save (file name) because write access was not granted. The users are pulling the files from a Mountain Lion server. They all have readwrite access. If they try to save the file in the same directory they get that error but they can save it anywhere else on the sharepoint. If they save it in another directory then reopen it make a change and do a save as they can save it back to the original directory.

View 2 Replies View Related

CorelDRAW X4 :: Write A Macro To Open To Specified Directory

Nov 13, 2013

trying to write a macro to open to a specified directory.

SendKeys "^(o)"
SendKeys "\G-SERVERCorel Draw files
SendKeys"{ENTER}"

Problem is that it doesn't type the text exactly as given. Randomly drops off the first few characters.Because hitting open defaults to the libraries instead of my server where the files are located.

When you hit open the cursor is already in the "File name:" field so if I just type the directory there and hit enter it takes me to that directory. Sure would be nice to just have it type that for me and enter. Had it working great for a few times but aftaerr navigating around for a bit it drops off those characters.

View 9 Replies View Related

Illustrator SDK :: Open Action To Write Down Different Path

Nov 2, 2011

to get Illustrator to open the files I needed (I open various files based on input from the user).Then I want to save them back off again using a variance of the file path of the file that was opened.I am having difficulty getting the file path of the open doc ... trying to use

ai::FilePath aiFile();
sAIDocument->GetDocumentFileSpecification(aiFile);

XCode is very unhappy with me at the moment.  It is telling me that I am illegally referencing the FilePath object from inside of my button proc.
 
I don't know if I have the right includes in the file or have obtained the correct suites for what I want to do.The api reference says not to use the AIFilePathSuite but to use the ai::FilePath as a wrapper instead. Any examples of the SaveAs? 
 
Basically what I want to do is take the file I have opened using the OpenAction and modify the path (take off the file name, and the last folder and then append the new folder name and file name).  Then perform the save as (using native file format).
 
//save the doc as id.ai in a folder named as id to hold supporting files
                                        ai::FilePath aiFile;
  sAIDocument->GetDocumentFileSpecification(aiFile);
                                        aiFile.RemoveComponent();
                                        aiFile.RemoveComponent();
  std::stringstream out;
                                        out << "\" << displayedLogo->getLogoID().c_str() <<"\"<<displayedLogo->getLogoID().c_str()<<".ai";
                                        aiFile.AddComponent(ai::FilePath(ai::UnicodeString(out.str())));

View 16 Replies View Related

Photoshop :: Window Says (cannot Save File Because It Was Not Granted Write Access)?

Nov 14, 2013

I connect my hard drive to compuuter, I open raw files in bridge load a file into ps, after which I would like to elaborate the new hard drive to save it, but it opens a window that says'' can not save the file because it was not granted write access.''

View 1 Replies View Related

Photoshop Elements :: 11 - Unable To Save Because Write Access Was Not Granted

Apr 8, 2013

I previously organized and tagged a batch of raw photos using viewNX on my PC.  The PC crashed and I am now trying to edit that same batch of photos with Elements 11 on my iMac.  I am able to access the photos, but when I try to save my edits I receive the message, "Unable to save because write access was not granted."  I am not on a networked computer, no one else has access to the photos, and the photos are not open in any other program. iMac and Elements 11 are new to me.

View 4 Replies View Related

3ds Max :: Open / Write Max Files Hosted In Lion Server

Oct 3, 2011

I have mi server in a OS X Lion machine, and I can´t open and write .max files from network drive (read/write error like a corrupt file).

At first time I thought in a permissions problem, but after try different options with owners and users, I can´t found a solution.

Working with a Network drive hosted in OS X server?

I have 10.7.1 with server add, users created and server drive mapped to Z: in windows. I can read/write textures and other files except .max

View 2 Replies View Related

Photoshop :: Convert NEFs And Save As PSDs - Write Access Not Granted

Oct 5, 2013

Just installed CS6 Extended, I cannot convert my NEF files and save them to psd. I get a message that says "cannot save because write access was not granted" I am using my new Mac. I never had this problem with my Windows CS5 extended.

View 6 Replies View Related

InDesign :: Can't Save Or Save As Document

Feb 17, 2014

Original file was generated in Adobe InDesign CS6 as (16) 8.5" x 11" - exported this to high res print ready PDF. I need to manually paginate this 16 page document to 11" x 17" printer spreads so I can set up addressing with XMPie.Placed PDFs into InDesign CC (vsn 9.2) on (8) 11" x 17" sheets - saved as a new file name but it won't save - it looks like it's processing for a minute, then just stops and doesn't save.
 
Made an 8 page 11" x 17" template without placing the PDF and saved it - and it saved successfully. Once I place the PDFs - and try to save or save as - it does the same thing, processes for a moment before stopping and not successfully saving (the * is still next to the name at the top of the document bar, and if I close it asks me if I want to save changes.)I'm on a Mac, OS/X 10.8.5, I've restarted the machine, and tried again and ended up with the same issue.

View 2 Replies View Related

Lightroom :: Error Code During Export Photo In LR4

May 21, 2012

When I try and export a photo in LR4 I get the following message:
 
"An internal error has ocurred: Win32 API error 2 (“The system cannot find the file specified.”) when calling ShellExecuteExW from AgWorkspace.shellExecute"
 
Even so, it does export the photo to the right directory. 
 
What does this code mean?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved