File handling in illustrator
Hello,
Can somebody tell me how file handling is done within illustrator?
When opening a ai file, what happens? Is a cached file created, and if so, where? Is the whole file loaded into AI without roots to the physical file?
Thanks!
Situation:
We have a colleague that sometimes works at home.
Via VPN, she opens an AI file that is situated on the server and works on that file. But the problem is that drawing, moving etc in the artboard is very slow.
Now i am investigating how file handling is done. If a cache file is downloaded to the local pc by the Illustrator program, or all file handling is done on the server.
Similar Messages
-
Large file handling tips Help for illustrator file larger than 3 gb
Can anyone provide advice for large file handling tips. Help for illustrator file larger than 3 gb ie how often, when, and should I clear the clipboard? are here other tips?
Thanks,
GavinMy key tip is to EXPECT corruption. Keep every save separately so you can go back before damage (which might not be visible). Don't just keep a single old file or rely on daily backups.
-
Image Problem: CorelDraw handles but Illustrator cannot
Hi,
We work for News media(print), we have subscribed for graphics data from another firm, this firm produces graphics for Web/Print.
Today we have receieved some graphics in PDF format(often), These graphics are usually done in Coreldraw or Illustrator.
We have to change certain spelling errors and colours to suit our print, i used to open the pdf in illustrator and change the colour and font, these graphics also contain images.
Everything was going fine, until now almost all the graphics (pdf format) when open in Illustrator, the images in the graphic appear as torn or to say corrupted(apperances), but the same graphic(in pdf format) when opened in Coreldraw, the images in graphics appear fine.
Why this problem happens in Illustrator.
We use Illustrator CS3 and CorelDraw X4.
Some of the techie guys told me it has to do with resolution of the images where Coreldraw handles pictures well of low resolution and illustrator cannot.
Here below the first graphic which was open in Illustrator shows the images in graphics as torn but in bottom graphic which was openen in Coreldraw shows images are fine.
Any solution.
ThanksHello iebng,
In my experience, when you open a PDF file made with QuarkXpress, CorelDraw or other program other than Illustrator, you may experience problems opening them in illustrator. This is due to the way a PDF was saved and/or the original program.
The most common issue is the color, specially when the designer used RGB instead of CMYK color system.
This does not mean that Illustrator is the problem. Again, sometimes depends on how the PDF file was created. But also you have to considered that Adobe Illustrator CS3 have some minor issues handling PDF files (CS4 version is worse)
QuarkXpress is very picky handling the fonts. For example: Quark does not accept Helvetica font provide by different companies. In other words, if you Helvetica Regular font from two different companies the file can have some conflicts: therefore will affect the PDF file creating a problem when open it in illustrator. Illustrator ignores the company or font type (Postscript, True, or Open) and replaced it with the Helvetica font that you have in your system.
As you can see in your provided samples, the text looks out of place, bolder, bigger, etc., and the colors have shifted.
One of the solution I think can help you, is to ask the designers that when possible supply the artwork using Postscript fonts, True Fonts, or Open Fonts. Whichever works for you the best. Also give a set of specific fonts to be use in their projects.
But you can always ask the designer to correct the typos and send a PDF file with outlined fonts.
I think is best to keep using both programs and use them per PDF file furnished. But for printing, you cannot accept low resolution images (300 PDI only).
Portable Document Format files are good, but needs a lot of improvement for the printing industry. All the software and computer companies should agree in one standard color system, link file handling, etc. to avoid the problems that all of us we are having. -
save as does not Create PDF Compatible File even when the creare pdf compatible files is on, Illustrator CC 2014
When I open is adobe acrobat I get this message.
"This is an Adobe® Illustrator® File that was
saved without PDF Content.
To Place or open this le in other
applications, it should be re-saved from
Adobe Illustrator with the "Create PDF
Compatible File" option turned on. This
option is in the Illustrator Native Format
Options dialog box, which appears when
saving an Adobe Illustrator le using the
Save As command." -
I have some code associated with a Word Template. The template is opened, filled out and saved via a routing in vba. This all works fine in older 2007 version (which is version it was originally created in). Once this file is saved, the user can change the
date in a text box and re-save document. The code saves using the new date for part of new file name and then deletes that older file from the server. It fails at the delete function because the newer version of word is not dropping the file handle from the
first named file when user saves it to the new filename. In older version (2007) this handle was released as soon as file was saved to a different name. I can't seem to figure out how to release the old document filename so the old document file can be deleted.
I hope I explained this well enough.
Here's the code that woeked in version 2007 but fails in version 2010.
Option Explicit
Dim CAPEX01 As MSForms.ComboBox
Dim CAPEX02 As MSForms.ComboBox
Dim LocalPath As String
Dim NetPath As String
Dim OldPath As String
Dim OldPathNet As String
Dim DocName01 As String
Dim DocName02 As String
Dim DocName03 As String
Dim DocName04 As String
Dim DocName As String
Dim DocNameold As String
Dim TestDocName As String
Dim filesys
Dim newfolder
Sub AutoOpen()
ActiveDocument.ActiveWindow.View.Type = wdPrintView
TestDocName = ActiveDocument.TextBox2
OldPathNet = "\\yourPath\" & TestDocName & "\"
End Sub
Sub AutoNew()
TestDocName = ActiveDocument.TextBox2
OldPathNet = "\\yourPath\" & TestDocName & "\"
ComboBox1.Locked = False
ComboBox1.Enabled = True
FillList1
FillList2
End Sub
Sub DeleteOldDoc()
OldPathNet = "\\yourPath\" & TestDocName ' & "\"
DocNameold = OldPathNet & TestDocName & "-" & DocName02 & "-" & DocName03 & "-" & DocName04 & ".doc"
If Not TestDocName = DocName01 Then
Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists(DocNameold) Then
filesys.DeleteFile (DocNameold), True
'I get file permission error here
End If
End If
If DocName01 <> "" Then
If Not TestDocName = DocName01 Then
If Not TestDocName = "" Then
MsgBox "Project Proposal Has Been Moved From Year " & TestDocName & " To " & DocName01 & ""
End If
End If
End If
TestDocName = DocName01
End Sub
'''''''Document path functions''''''
Sub chkpath()
Set filesys = CreateObject("Scripting.FileSystemObject")
If Not filesys.FolderExists("\\yourPath\") Then
newfolder = filesys.CreateFolder("\\yourPath\")
End If
If Not filesys.FolderExists("\\yourPath\" & DocName01 & "\") Then
newfolder = filesys.CreateFolder("\\yourPath\" & DocName01 & "\")
End If
End Sub
''''''Save Function''''''
Private Sub CommandButton1_Click()
DocName01 = ActiveDocument.TextBox2
DocName02 = ActiveDocument.TextBox4
DocName03 = ActiveDocument.TextBox1
DocName04 = ActiveDocument.ComboBox1.Value
chkpath
NetPath = "\\yourPath\" & DocName01 & "\"
DocName = NetPath & DocName01 & "-" & DocName02 & "-" & DocName03 & "-" & DocName04
ActiveDocument.SaveAs2 FileName:=DocName, FileFormat:=wdFormatDocument
ComboBox1.Locked = True
ComboBox1.Enabled = False
ComboBox2.Locked = True
ComboBox2.Enabled = False
TextBox1.Locked = True
TextBox1.Enabled = False
TextBox3.Locked = True
TextBox3.Enabled = False
TextBox4.Locked = True
TextBox4.Enabled = False
DeleteOldDoc
End Sub
Sub FillList1()
Set CAPEX02 = ActiveDocument.ComboBox2
With CAPEX02
.AddItem "CASTING", 0
.AddItem "HOT ROLLING", 1
.AddItem "COLD ROLLING", 2
.AddItem "FINISHING", 3
.AddItem "PLANT GENERAL", 4
.AddItem "MOBILE EQUIPMENT", 5
End With
End Sub
Sub FillList2()
Set CAPEX01 = ActiveDocument.ComboBox1
With CAPEX01
.AddItem "A Name", 0
.AddItem "Another Name", 1
End With
End Sub
Private Sub CommandButton2_Click()
UserForm1.Show
End Submogulman52 and Don,
I went back and looked at my code and had already updated it to SaveAs in the new docx format. It still holds the lock handle in place until Word closes, unlike earlier versions which released the lock handle when you did a SaveAs.
As a note, all my Word and Excel macro-enabled (dotm & xltm) templates are read only and are never filled in, prompting the user for a file name on any close event or if they run the code gets auto-named. I do the SaveAs and concatenate the file name
from data on the document (or sheet) that has been filled in. During the SaveAs the docx gets saved to a network folder and also on a local folder. The lock gets renamed to the filename and remains until Word is closed.
So my code still fails at the point noted below while trying to delete an old filename version after the file has been saved as a new filename in a new folder. So....
The code is looking in the last folder where the docx file was saved for the older filename so it can be deleted. The newest docx version has already been saved in a different folder and has a new lock handle of its own. That lock is not my problem, it's
the older file lock which really exists in the same folder as the first filename that the docx was saved to. It does not release that lock until I exit Word. My work around has been to instruct all users to manually delete the older version file.
The other odd thing is this only happens when I run it from code, if you manually go through these steps with the SaveAs menu drop-downs in Word it will release the lock handle???
Hope this isn't to confusing and thanks for all your suggestions and help.
Sub DeleteOldDoc()
OldPathNet = "\\yourPath\" & TestDocName ' & "\"
DocNameold = OldPathNet & TestDocName & "-" & DocName02 & "-" & DocName03 & "-" & DocName04 & ".doc"
If Not TestDocName = DocName01 Then
Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists(DocNameold) Then
filesys.DeleteFile (DocNameold), True 'I get file permission error here- lock handle is still present from last SaveAs command in last folder where previous version of file was saved.
End If
End If
If DocName01 <> "" Then
If Not TestDocName = DocName01 Then
If Not TestDocName = "" Then
MsgBox "Project Proposal Has Been Moved From Year " & TestDocName & " To " & DocName01 & ""
End If
End If
End If
TestDocName = DocName01
End Sub
Glenn -
How Do RoboHelp 9 WebHelp Generated Files Handle Map IDs and Aliases?
The text below was written by our team's developer/architect. I am the help author who uses RoboHelp to write content and generate the help files, but I am clueless how it all gets generated and is deployed. Please help. We use RoboHelp 9. I use it in Windows XP and our app and help run on IE 7, 9, and Firefox (multiple versions).
"Our application uses the numeric identifiers associated with the Map ID. For example, to get to the <appname>_home_page.htm file, we use the number 1053. <appname> = pecs, in this example.
All of this is used in a call to a RoboHelp method defined in the RoboHelp_CSH.js file. The mehtod we are calling is the RH_ShowHelp() JavaScript method and the code to perform the call, when you click on Page Help, is this:
RH_ShowHelp(0, ''/pecsHelp/index.htm>pecsHelp',HH_HELP_CONTEXT,topic);
Topic is translated to the Map ID number for the page help. HH_HELP_CONTEXT is defined in the RoboHelp_CSH.js file. This method translates into a URL and from what I have seen, the URL that gets generated is this:
http://{server}[:port]/pecsHelp/index.htm/{server}[:port]/pecsHelp/index.htm#<id=1053>>pecsHelp
Server and port get replaced with the appropriate values. I have no clue how id=1053 is supposed to get translated to mean "pecs_home_page.htm". If you check the PECS_help.h file, you will see the following entry:
#define PECS_Home_Page1 1053
Then in the RoboHelp alias file (PECS 3.0.ali), the following line is in the file:
<alias name="PECS_Home_Page1" link="pecs_home_page.htm"> </alias>
But both of these files are used during the WebHelp generation process and I don't know how the WebHelp generated files handle the Map ID and aliases."You need to assign the numbers you find in the pecs_help.h file to topics in your help. You do this in Context Sensitive Help > Map Files > All Map IDs. (From RH7, but I assume the location is similar in RH9.) This creates the entries in the .ali file.
Peter Grainge suggests a couple of sites to read for a greater understanding here:
http://www.grainge.org/pages/authoring/calling_webhelp/using_map_ids.htm
(Although the second site is based on RH X5, the basic concepts and procedures should be very similar. )
HTH,
Amber -
How do I find a file location of a file used by Illustrator?
I am trying to load a keyboard shortcut file in Adobe Illustrator it should go in: Library/Preferences/Adobe Illustrator CS5 Settings/en_US but I cannot find the directory. If I save a kb file from inside Illustrator the file saves but I cannot find the location. Spotlight search retuens nothing?
I saved a manualy modified kb shortcut file and saved the changes with a new name. I cannot find the new file that will have an extension of .kys but I have not been able to find it. I am using OS X Lion 10.7.2 What am I doing wrong?Highlight the file in the search results and press the Command and Option keys down. The location will appear at the bottom of the preview screen.
Regards,
Captfred
Edit: Note correction from control to Command keys -
Error in creating IO file handles for job (number 3152513)
Hi All -
I am using Tidal 5.3.1.307. And the Windows agent that is running these jobs is at 3.0.2.05.
Basically the error in the subject was received when starting a particular job once it was cancelled and a couple of other different jobs a few days before. These jobs have run successfully in the past.
This particular job was running for 500+ minutes when it should run at an estimated 40 minutes. At that time it would not allow for a re-start of the job, it just stayed in a launched status.
Trying to figure out what causes this error.
Error in creating IO file handles for job 3152513
Note - from that being said we were to see 2 instances of this process running at the same time, we noticed some blocking on the DB side of things.
Trying to figure out if this is a known tidal issue or a coding issue or both.
Another side note, after cancelling the 2nd rerun attempt the following error was encountered: Error activating job, Duplicate.
When we did receive the Error creating IO file, the job did actually restart, but Tidal actually lost hooks into it and the query was still running as an orphan on the db server.
Thanks All!The server to reboot is the agent server. You can try stopping the agent and then manually deleting the file. That may work. When the agent is running the agent process may keep the file locked, so rebooting may not be sufficient.
The numerical folders are found as sub-directories off of the services directory I mentioned. I think the numbers correspond to the job type, so one number corresponds to standard jobs, another to FTP jobs. I'd just look in the numbered directories until you find a filename matching the job number.
The extensions don't really matter since you will want to delete all files that match your job number. There should only be one or two files that you need to delete and they should all be in the same numbered sub-directory.
As to the root cause of the problem, I can't really say since it doesn't happen very often. My recollection is that it is either caused by a job blowing up spectacularly (e.g. a memory leak in the program being launched by Tidal) or someone doing something atypical with the client. -
How to use sdk to get the image in the pdf file created by illustrator?
I have some pdf files create by illustrator and saved as pdf documents,
now I want to use the sdk to get the image in pdf files.
how to?
Thanks.Thank you first!
Yes,you are right,since I am new to illustrator,and I want to try to write a plugin,
I have read the sdk doc and API and opened the sample in vs2010,but no idea about how to operate the pdf doc in illustrator with api.
Hope more advise or any examples,thank a lot. -
Problem with „Empty-File Handling" in PI 7.11
Hi,
Iu2019m working in PI 7.11 with file adapter, Sender CC, option: Empty-File Handling: Process Empty Files.
What I want to do is giving target file the system-date, if the source file is empty.
But I always get a mapping error in RTWB: Premature end of file.
It seems that the payload is empty.
Any idea?
Thanks a lot in advance!
Rene Dong
Edited by: Rene Dong on Aug 31, 2010 4:20 PMWhat I want to do is giving target file the system-date, if the source file is empty.
The error you are getting makes sense. You should do a check in the mapping, if the payload is empty then use brute force to pass the system date. -
Iam trying to load illustator in my PC i get following error while loading Application CD 2
Adobe Illustrator CS4
Error:
Error 1603. Error 1305.Error reading from file C:\Program Files\Adobe\Adobe Illustrator CS4\Support Files\Required\Fonts\AdobeSongStd-Light.otf. Verify that the file exists and that you can access it.
AdobeColorCommonSetRGB
Error:
Error 2.
My serial no. [Removed by moderator]Download a copy an installer for CS4 from the links on this page:
Other downloads -
How do I know if this variable is a file handle?
G'day
(This has also been posted on StackOverflow)
Say I have this code:
function doFileStuff(){
var file = "";
try {
file = fileOpen(filePath);
// do stuff with file
finally {
fileClose(file);
If the fileOpen() process fails, the fileClose() call will error. What I need to do is this sort of thing (pseudocode):
if (isFile(file)){
fileClose(file);
I know I can test if file is an empty string still, and this works for me here, but it's not testing what I should be testing: whether file is a file handle. I can check the object's Java class, but this again sounds a bit hacky to me, and there should be a CFML way of doing it.
There should be something like just isFile(), shouldn't there? I can't find anything like this in the docs.
Any thoughts / tips? I have gone into more depth in my investigations on my blog. it's too wordy for here.
Cheers for any help.
AdamThat would just defer the issue.. fileOpen() doesn't return a boolean, so I can't go:
if (fileOpen(filePath)){
fileClose(file);
fileOpen() returns a file object; or nothing if it fails. The whole thing is to identify whether it's a file. That's the question.
As per my original, it's dead easy to work around, provided one leverages known side effects of the situation (original variable state; that if it's a file it exposes some public properties; that one can doa getClass() on it via Java, etc), but one shouldn't have to work around something as fundamental as this. So I was wondering if I had missed something.
Seemingly not (based on feedback I've had from various quarters).
Adam -
"The document could not be opened. Bad file handle." Error
Greetings,
I have many operators opening documentation using acrobat reader 8.1.2. When the documents are opened, sometimes a change has to be done to the file. I use computer management to "kick" everyone out of the files, update the .pdf, and then they can re-open the file to see the latest and greatest version. The problem is, if not everyone is out of the file, I sometimes get a ""The document could not be opened. Bad file handle." error, and have to usually wait a period of time before it will let anyone in. I think it has something to do with the windows temp files, but am unsure. It's hard to ensure everyone is out of the document on time, as up to 50 people may be in it at the same time.
Is there perhaps a better way of publishing the new verison of the document?
Thanks for any help you can provide!these two errors below is what I am receiving when do a program integrity scan: common program locations.
I have done a repair on acrobat reader and I do have the two dll files I even put them in reader folder and still receiving the errors.
missing file:"c:\program file\adobe\reader 8.0\reader\acrord32.exe"
"c:\program files\adobe\reader 8.0\reader\acrord32.exe"cannot access a necessary file,"msvcp80.dll
missing file:"c:\program file\adobe\reader 8.0\reader\acrord32.exe"
"c:\program files\adobe\reader 8.0\reader\acrord32.exe"cannot access a necessary file,"msvcr80.dll -
Empty File Handling in xLink adapter
Helloo Experts
I am doing a scenario, which creates an empty file(when some mapping condition doesnt satisfy).
I dont want to write this empty file in the target directory.
This can be handled if a file adapter is used, but I am using a SOAP AXIS adapter, so I dont know how to handle this here.
I alaso tried using the StrictXml2PlainBean to avoid the creation, it creates 0 documents and a 0kb empty file.
Can anyone please let me know how this can be solved????
Also if some one has done this empty file handling in J2SE file adapter...can you tell how it was done.
Thanks a lot!!!!!!
Regards
ShobhaHi Gabriel,
You can write a simple script to copy a file from source folder to target in case the fiel size is ZERO bytes. The script will not copy the file if the filesize is more than zero bytes, This will be processed normally by PI server. You can call the script from sender communication channel parameter : "RUN OS command before message processing". Could you please specify the Operating System (OS) you are using in your PI server.
Regards
Anupam -
***Empty File handling,sender .txt file
Hi All,
Can we use the option Empty file Handle if the sender is a text file.
if so how to achieve this.
Thanks,
SrinivasaHi,
Refer the section of 'Empty File Handling' from the below link:
http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
You will get the required result.
Regards,
Supriya.
Maybe you are looking for
-
Problem with adapter network category reverting to public after change to private
I noticed that after setting up HyperV Server 2012 R2, that after applying needed firewall rules to allow remote management, that these were added into the "Public" profile. So, I disabled them and enabled for Private and proceeded to change the NIC
-
Hello, I am a manual publisher and the format of my manual is in PDF. The manual is created using Adobe Page Maker and converted into PDF. At the moment, the "table of content" is not linked to the content. I would like to create link to it but I do
-
Seems I miss one step. I proceed so : 1 - images into iMove 2 - export into .mov 3 - .mov to iDVD (iLife 09) 4 - Burn DVD The problem is that on TV, some images tremble, mainly where there is a contrast between white and other dark colour (could be v
-
"Oracle Critical Patch Update" mistakenly identified as spam
Hi, I've subscribed to Oracle Security Alerts. Unfortunately, the last alert from yesterday didn't make it through my spam filter - apparently because it is badly formatted and because the sending mail server is listed in multiple blacklists. This is
-
How to close clip browser?
How do I close the clip browser after finishing choosing the clips, so I have more screen space?