Illustrator Scripting :: Save File On Remote Location
Oct 8, 2012
I want to save Current open Document on remote location (on server).
I am able to save it on my local machine(the machine i am presently working on).
Now I want to save it on some remote server.
I am using following code for that:
var doc=app.activeDocument();
var aiSaveOptions1=new IllustratorSaveOptions();
var aiFile1 = File( '/osn-pc-16/adobe/1/Original.ai' );
doc.saveAs(aiFile1,aiSaveOptions1)
View 7 Replies
ADVERTISEMENT
Sep 19, 2012
I am working on a plugin application, in that saving Image files on a specific location by using JSX file.I have done with that but it works only with local drive.I want to save that file on my Network Share by using JSX.
View 10 Replies
View Related
Jan 6, 2012
I'm trying to use some images in my ScriptUI dialog, but I want to use a "relative" path name, and I can't seem to get it to work.For example, this myScript.jsx works just fine, but as you can see, I'm using an "absolute" path name to transparencyGrid.jpg:
var w = new Window ("dialog");
var f = new File ('~/Desktop/transparencyGrid.jpg');
w.add ("image", undefined, f);
w.show ();
However, I want to be able to use a relative (to myScript.jsx) path to point at transparencyGrid.jpg, like this:
var w = new Window ("dialog");
var f = new File ('../../../transparencyGrid.jpg');
w.add ("image", undefined, f);
w.show ();
But, I can't seem to get this to work because relative paths seem to be relative to the current folder, Folder.current, not the location of the currently executing script.I say that because when I do this:
alert(Folder.current);
The only thing the alert message shows is a backslash (/), indicating to me that the current folder is the root of my OS, but I thought it would be the folder where myScript.jsx resides.
So, is there a way of setting Folder.current to the location of the actual script?
View 2 Replies
View Related
Oct 9, 2013
I have a VBA script that opens a .DXF file in Illustrator, and want to save it as an AI file. How do I do this?
View 14 Replies
View Related
Nov 7, 2013
I'm trying to create a script to save a file that is already open in the same directory with a different name.
Example: nome_0000_art to nome_0000_closed
I tried to create from another script that saves EPS but as I am new to the subject could not make it work
how do I perform the command saveas automatically without showing the dialog window by changing the file name?
View 7 Replies
View Related
Jan 14, 2014
So I deal with a lot of files each day that need to be saved according to their lead code, meaning that there is a folder that holds thousands of sub folders that have the same name as this lead code on a server.
So since I have the lead code in the file name I'm trying to use that in conjunction with the file path to tell illustrator where to save it with Javascript. Also the idea of a dynamic save path is useful.
Here's what I've got so far, it's not working yet but I feel like I'm close.
/*/////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
Dynamic Save Path////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////*/
#target illustrator
[Code] ......
View 1 Replies
View Related
Oct 8, 2012
I want to open a "Save File Dialog " with some default path.Like when user run that script I want to open a "Save As" dialog box with default path "/Volumes/<shared name>/<folder name>/.. ."I am using File.SaveDialog(prompt, filter);
but it doesn't open to the location by default that I want to open.
View 2 Replies
View Related
Apr 16, 2013
I tried following action script code to save PDF file with color profile attached:
var saveOps: PDFSaveOptions = new PDFSaveOptions();
saveOps.colorConversionID = ColorConversion.COLORCONVERSIONTODEST;
saveOps.colorDestinationID = ColorDestination.COLORDESTINATIONWORKINGCMYK;
saveOps.colorProfileID = ColorProfile.INCLUDEDESTPROFILE;
doc.saveAs(pdfFile, saveOps);
But got following errors: error an Illustrator error occurred: 1346458189 ('PARM'). What is the correct way to save PDF file with color profile?
View 1 Replies
View Related
May 1, 2012
I have a network of 18 computers that I currently send Network rendering jobs to whilst on the same network whilst being in the same room as them.
I would like to be able to join the network from a remote location through broadband internet, through the router on that network and submit a job to the manager and access all the files on the network from the remote machine as if I was plugged into the ethernet hub on the network.
What would be the best way to achieve this?
View 4 Replies
View Related
Oct 5, 2012
Any way to allow a user to choose a folder from a default location. I thought I had found the solution but it's not quite working as I wanted:
#target illustrator
//Example 1
var output_folder = Folder.selectDialog ('Choose PDF output folder.');
//Example 2
var myFolder=Folder(app.activeDocument.path).selectDlg("Choose PDF output folder:");
If I use the code in example 1 the choose folder dialog appears and the 'Open' button is available and when I press the button the location is chosen as expected. However if I use the code in example 2, although the choose window opens in the path of the active documents location the 'Open' button is not able to be pressed until I select a folder., which means that the chosen location is not correct. I should indicate that I'm running this code on a Mac.
Any way to have a choose folder dialog window specify a location and be able to select that.
View 20 Replies
View Related
May 17, 2013
How do I get the location of horizontal and vertical guides?
I'm halfway through by using some calculations on geometric bounds and subtracting it from the document height but can't I just do something like
nextGuide =mydoc.guides[x].location;
Also, why does it seem that Indesign scripting has more access to properties and methods?
View 5 Replies
View Related
Jan 23, 2014
Is it possible to change the location of where illustrator looks for scripts, or is it possible to add a location?
View 9 Replies
View Related
May 30, 2013
Using 2011 on W7 64 bit machine. When I try to set the location for the "Autosave File Location" or the "Temp Dwg File Location", I get the attached error message. I've done everything I know to fix it to no avail. I am on my personal laptop, I am an admin will full control rights of course, I've made sure the folders are not read only...
View 7 Replies
View Related
Jul 9, 2013
When I save the file as EPS , I want to enable all the options in EPS Options Pallet. I have enabled all options except setting high resolution in Transparency option.
View 2 Replies
View Related
Mar 13, 2013
I recently found the following jsx script, which saves a multi-layered IL file into 1-layer-per-file with PNG format.
This file is very useful, but i'm currently working on a project that requires the files to be saved into SVG format.
Is there anyway to edit this script to save the files as SVG instead of PNG?
// *** Export Layers as PNG files (in multiple resolutions) ***
//
// Version: 1.0 (29 Aug 2012)
// Copyright Arcticmill 2012
// www.arcticmill.com
// Developed by: Johan Otterud
//
// This script will export all layers that have a name starting with "#", or "%" into a subfolder of the current .ai document.
// These options can be configured below:
// *** Config options ***
var subFolderName = "Export";
[Code]...
Remember that you must add a "" + exportLayersStartingWith + "" (when exporting the layer cropped to it's bound) or "" + exportLayersWithArtboardClippingStartingWith + "" (when layer should be clipped to artboard) to the beginning of the layer name. Also make sure that they layers you want to export are not locked or hidden.");
} else {
// Show a completed message
alert(layersToExportCount + " layer(s) was successfully exported to:
" + exportDirectoryPath);
}
[Code]....
View 4 Replies
View Related
Sep 12, 2012
So I'm using a script that I wrote to bring in files that were converted from CorelDraw to EPS (this is the best conversion process to preserve text and drawing assets). Basically the script takes the art in the EPS, groups it, places a rectangular border around the art and centers them. We do this so that they come into InDesign correctly sized. The problem is, it used to be 100% automated, just about, however now the saveas action command will not remember that "Save as PDF Compatible" needs to be set to true. When I do a saveas command, it's check by default, but when the saveas command is batched, it does NOT do it that way. When I try to bring batched AIs into InDesign, it's text that says it was not saved as PDF Compatible. Am I going to have to script a save function to get control of the saveas settings? I don't understand why PDF compatible is checked by default, yet batching saveas saves as if it unchecked it.
View 5 Replies
View Related
Jul 19, 2012
Is it possible to save illustrator XMP thumbnail previews by artboard? It seems like Illustrator saves a single thumbnail with all art regardless of the number of artboards.
If there is a property that can be set to save multiple thumbnails to the XMP packet by artboard when saving to a native Illustrator file?
View 3 Replies
View Related
Mar 24, 2012
I'm using Illustrator for work and I love it, I never needed scripts yet. Now I have couple houndred svgs coming in per day, I would like to have a script that opens every svg one by one in the selected directory and add them to a pdf as pages of the same size and than save it.
How many files I could put in 1 pdf this way?
I'm using Illustrator CS5 on Win7 x64.
View 7 Replies
View Related
Oct 14, 2013
Is there any chance to assign values to an artboard?
I've experimented with “tags”, but they only work for pageItems. (if the item which includes the stored data is deleted, the data is also deleted)
It is simple data like v1=true, v2=false, … I want to assign. And it needs to be saved within the illustrator document.
View 4 Replies
View Related
Mar 28, 2012
I'm new to scripting What I want to do and don't know how to go about it is to run a script that collects the saved file name and the full path where the file is saved on the network and displays it on my document.
View 2 Replies
View Related
Feb 26, 2013
I'm using Creative Suite CS5 in Windows Pro 64, and would like to set a default location for files in Illustrator and Photoshop when I execute the File > Open or File > Save commands.
Yes, the program defaults to the location of the last file opened, but sometimes that file is gone, or I'm creating a new one from scratch, and the program looks for files in a distant place in my file structure.
Is it possible to set a default file location for opening and saving in Illustrator CS5 (and in Photoshop CS5)?
View 1 Replies
View Related
Feb 15, 2013
I'm working on building an action in Illustrator CS5 that will do the following..Delete the layer "original artwork"Select AllCreate OutlinesSave as PDF "content.pdf" to the current working folder with specific settings in the Save PDF prompt..Up to step 4 this is pretty simple, but so far when trying to record the saving step it insists on using the directory that I'm building the action in - not the relative one based on where the current file is opened. Also, unlike the 'Save For Web JPEG' default Illustrator action, the PDF saving step doesn't retain any of the specific settings within the action.
View 2 Replies
View Related
Sep 11, 2012
I added CS6 COM reference in my VB.NET application and after that I have the following basic object creation in order to convert a eps file to svg. But for some reason when I create this COM object it is launching the Adobe Illustrator application. Why it is doing like this? It’s a simple COM object why it is interacting with Illustrator Editor?
View 9 Replies
View Related
May 21, 2013
I need to place a logo at the bottom of the image in eps.
i have created the logo as symbol, can this symbol could be placed at the bottom of the image.
View 3 Replies
View Related
Apr 1, 2013
I need to export an AI file to JPG.
For that I am using the File->Export option of Adobe Illustrator.
Now I want to do the same by using JSX Script.
I need Four JPG images of different sizes (70,150, 300,900) .
What Resolution (DPI) should I use to get images of above mentioned sizes.. or how can i dynamically set the DPI while exporting AI to JPEG image file
View 3 Replies
View Related
Jan 15, 2009
I'm using Adobe to deal with .eps files.
My problem is to display graphic arts in "read only mode". That means when I'm done developing graphics in my .eps file, I want to display this graphics to other user without giving him option to edit it or delete it.
I'm trying to accomplish this true Visual Studio 2005, C# .net
View 6 Replies
View Related
Sep 27, 2013
i install autodesk remote to try it out from home. when i went to my office to the actual work station i rebooted my machine and now im getting a popup box that says my menu file is write protected. i uninstalled the file, and rebooted my machine and im still getting this warning that my menu is write protected,. no other work station is getting this error, the menu file is a shared file running off a network and no other versions exists on my hard drive.
View 2 Replies
View Related
Jul 4, 2012
I have just upgraded from CS3. My workflow when preparing files for the printer is to print to postscript file, then use distiller to convert the file to pdf for sending.
CS3 retained the file location, so that each time I performed the same action, it went straight to the previous folder where the postscript file (for the current AI file) was created.
Now, in CS6, it takes me back to 'My Computer' (equivalent in Windows 7) every time... which is really, really frustrating to have to re-navigate back to the same server path every time I output the file. (Which I do a lot as I do final checks and proofing within acrobat, so need to perform this process frequently).
View 7 Replies
View Related
Jul 6, 2013
Photoshop Elements 6 (20070910.r.377499)
I do not know why the catalog has changed the file location of "ALL" pictures to the location on my backup drive.
Example: K:My DocumentsMy PicturesPetsPICT1460-1.JPG
The actual location of the original photo is: D:My DocumentsMy PicturesPetsPICT1460-1.JPG
The location of "My Pictures" is on my primary Hard Drive D:My DocumentsMy Pictures
Why is Photoshop changing all of my 37,000+ photo thumbnails to point to my Backup Drive K:?
I need to correct the catalog file. How do I make the correction and stop it from happening in the future?
View 2 Replies
View Related
Oct 10, 2012
I've got an issue with Adobe CS3 illustrator not displaying the full UI when used via Microsoft Remote Applications (RDS Windows Server 2008 R2). When connect to the server via a normal RDP interface the connection UI is displayed correctly. The Other Adobe CS3 MC application work fine in either connection method.
I have logged a call with MS and we have tried a varierty of RDS Fixes however we do seem pointing to a illustrator issue over a RDS issue.
View 1 Replies
View Related
May 9, 2013
Is there a script that can create layers with csv file?
View 5 Replies
View Related