Set doc.rulerOrigin to 0,0 Illustrator CS4 js

Hi, I need to set doc.rulerOrigin to 0, 0 in Illustrator. How can I do it.
Thank you very much for your help.
Yulia

#target illustrator
var docRef = app.activeDocument;
with (docRef) {
pageOrigin = [0,0];
rulerOrigin = [0,0];

Similar Messages

  • Illustrator CS4 crashes on startup

    Hi all,
    just today I tried to start Illustrator as usual. The Illustrator loading screen (the orange one) shows that it loads everything fine (fonts, plugins etc.) but, when at the end the software interface is on the screen, it simply crashes without any error message. First I tought that maybe was a problem about the welcome screen, so I tried to load directly an .AI file from disk. Illustrator loads the file, but it crashes anyway when it try to load the tools' icons. I tried to delete the preferences from the folder C:\Documents and setting\{user}\Application data\Adobe\Adobe Illustrator CS4 Settings but without any success. Any suggestions?
    Thanks in advance!

    I tried to move all the fonts in a temp folder on my desktop. Some fonts are impossible to move, I receive this error message: "Cannot read from source file or disk". Anyway, if I try to startup Illustrator again, it always loads everything fine, but it crashes during the welcome screen or when it loads the toolbar.
    I have to say that I have a Windows XP Pro SP3. I didn't installed any update from microsoft or other software, and just yesterday I worked fine on the program. I tried to do a system restore, but without any success: simply seems that, overnight, Illustrator and other Adobe Suite softwares (like Premiere Pro, for example) don't work anymore.

  • How to set a language from LTR to RTL in illustrator cs4

    how to set a language from LTR to RTL in illustrator cs4.....plz help

    Mac or PC
    In either case the language has to be selected on the Mac go to the SystemPreference and language and text and select arabic as the language etc.
    That should do it.
    Oh, yes just in case you have to also select and arabic type face and it helps if you have a ME computer.

  • Illustrator CS4 does not save an action set

    In Illustrator CS4, english, under Windows XP SP3, english, I created a new action set and wrote some actions. It works. Later, I selected in the Actions menu the command Save Atctions... It opened a system' Save window, let me choose a folder and press OK, but does not do anymore else: without any word, it doesn not save a file. It does not hang, let me select folders, edit name... It seems, what Illustrator forgets about action.
    How to nuge Illustrator CS4 to finish saving actions?

    sana,
    You may try to Move the folder.
    Just deleing it may not be enough.
    If that does not help, a reinstallation of Adobe Acrobat/Reader may.

  • Is it possible to set the default colours in the swatches palette in Illustrator CS4?

    Is it possible to set the default colours in the swatches palette in Illustrator CS4? What I mean is replace the swatches default colour palette with my own, so that each time I create a new document it comes up with my colours rather than Illustrators.

    You might also consider using color groups with Illustrator. Let me know what you think. It may help you out with projects that use the same color preferences.
    Check out the tutorial here:
    http://www.adobe.com/designcenter/illustrator/articles/lrvid4019_ai.html
    Let me know if this helps you.
    Vicente Tulliano

  • A few new Illustrator CS4 questions.

    Weird, I just can't figure these out.
    First, how do you change the document size/orientation when it's already open? This seemed to be a cinch in all other versions of Illustrator, but now... the new Document set-up menu is quite different.
    Related, how does one ADD or SUBTRACT art boards from a document? And remove the art board guides when activated?
    How does one prevent Illustrator from opening all documents/a new document, in the same window box, and instead in a separate window box?
    If these questions seem rudimentary, let me assure you that I might be having a spaz moment with the new CS4 version of Illustrator, but I've been using the program itself for 10+ years. Maybe I'm becoming lazy and/or senile?

    "I have a complex file I created in photoshop with many layers, containing
    gradients and blends with no background layer, cropped and feathered edges and
    100 opacity. I want to use this for a design in Illustrator CS4 but not at 100%
    as I want to type over the top and be able to read. If I simply change the
    opacity then the background color in illustrator changes the look of the PS
    file. I have tried everything I know, including going back to PS and changing it
    there, but the same results. What I ultimately want is a lighter version of the
    PS file that is not transparent and allows color behind it to affect the over
    vibrancy of the PS file. I'm sure there is a way, but since my knowledge is all
    self taught I just don't know the answer. Sure could use some help. Thanks
    R"

  • Illustrator CS4 in Snow Leopard Issues

    I have a logo file that I created in Illustrator CS4 on an iMac running Snow Leopard and it does not display some of the text layers when saving for the web or saving as an Illustrator CS3 file or copying and pasting into Photoshop CS4. Basically the text layers are just standard text using Adobe Garamond Pro (Italic and Regular) fonts and white text on a black background. In the original file both text lines look fine but when I try to save using one of the other methods above I no longer see the 2nd text line. So, in effect I can't create the JPEG or GIF that I need from this logo. Anyone have any ideas?
    Thanks
    Steve

    Maybe not a cs4/snow leopard issue but an overprinting issue?
    Is the white text that goes away set to overprint?

  • Illustrator CS4 won't download from Adobe site

    Hello!
    I would appreciate some help. I bought Photoshop and Illustrator CS4 for Mac on disc a few years ago and have since lost the discs in one of my moves. I want to install them both on a different Mac so I found where to download directly from Adobe (http://helpx.adobe.com/creative-suite/kb/cs4-product-downloads.html). I clicked on on the link to download Illustrator File 1 of 1 for Mac OS X and it initialized a download but after waiting half an hour nothing had actually downloaded (it was still stuck at 0 of ___). I cancelled it and clicked on the link to download Photoshop and it instantly started downloading and I had the program installed in a few hours. Went back to Illustrator and tried again, but the same thing happened (as in, nothing actually downloaded). I don't see what I can possibly be doing wrong and can't find a way to actually contact Adobe, and I would love some help - I really just want to get this set up!
    Thank you so much!

    beadandreel,
    I believe you should try a chat here,
    Serial number and activation support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html
    or here,
    Adobe ID and registration support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service-c1.html

  • PDF Forms + Illustrator CS4 (losing form functionality after saving in Illustrator CS4)

    I have a form set up that I use to keep information about various projects. The form was created in Illustrator CS3 and Acrobat Pro 8. Previously, data could be entered on the form by another Acrobat user, then opened in Illustrator CS3 by the artist to add artwork to the document. While open in Illustrator, none of the information entered on the form would be visible (the form would appear blank), but after saving the document and opening it in again in Acrobat Pro, both the artwork from Illustrator would appear and the information in the form fields would still be present as well as editable.
    Now I take the same form, I can fill out the data fields in Acrobat Pro 9, save, then add artwork in Illustrator CS4 and save it, all form data is lost and I'm not able to add anything to it in Acrobat Pro 9. (Illustrator seems to be breaking the form and wiping out any info that was previously entered onto the form).
    Any ideas on how to get around this? I tried taking the original document and running it through the forms wizard to sort of re-make the form in Acrobat 9, but I still lose form functionality and information once I save it in Illustrator CS4.

    Actually found a SOLUTION!
    I guess in Adobe infinite wisdom and my lack of formal training in adobe acrobat
    i was unaware of the TouchUp Object Tool (Tools>Advanced Editing>TouchUp Object Tool) it allows you to delete images and Place new images (although doesn't allow placement of .ai or .eps, just compressed images)
    Can also nudge and remove other objects.
    Hope this helps.

  • Edging problem "thin white line" between paths in Illustrator CS4...

    I am making a map of Europe with Illustrator CS4 for a documentary about WWI and how the Versailles Treaty carved up imperial Germany. After having traced imperial Germany before Versailles, I then carve out the territories given to neighboring states. The problem is these very fine white lines that appear between paths.
    I have two paths right next to each other. But for some reason I see this very thine white line gap that shows up between them and becomes much more evident when I export into Photoshop. Please notice this very fine white line in the black image. What you see in this image are in fact two paths side by side. There should be no line between them. And I have no idea why this very fine line appears but it gets much worse in Photoshop much more noticeable. Please click on image to see the line more clearly.
    Thank you very much in advance for any help or suggestions.
    - Nick

    Dear Jacob and Peter,
    Thank you both very much for your help.
    Please see these photos showing my problem more clearly.
    I am using Illustrator to draw the regions, Photoshop to consolidate the layers, and Apple Motion 4 to build my animation.
    [1] : Imperial Germany in 1914.
    [2] : Germany after Versailles.
    In Illustrator CS4, the images [1] and [2] have the colored layers in "Multiply" transparency mode. It's how I want the layers to look when I import them into Apple Motion 4.
    My idea was to color all the layers black in "Normal" mode and then apply "colorize" filters in Motion 4 and set the transparency to "multiply" in Motion.
    Now with Imperial Germany (all layers colored in black with transparency set to "Normal"), when I bring the image into Photoshop, I suddenly get very fine white lines between the layers and these lines show up in Motion which is the big problem. Like I said, when you click on this last photo, and you see the image full size, you can clearly see the problematic lines which appear exactly where the layers touch each other. In the photo below, the territories ceded to Poland (West Prussia) and Lithuania (Memel) are not yet red. They are still black but you can see the lines.
    I don't understand because in Illustrator there were no gaps whatsoever between the layers. In Illustrator CS4, I simply cut the "territorial losses" from imperial Germany using the "Trim" function in the Pathfinder Menu. I created the red and yellow layers from the original single "imperial Germany" layer. In Illustrator I can colorize all the layers black and still never see any gaps. The fine white lines, appear in Photoshop and in Motion.
    (NOTE: The documentary is being in edited in Final Cut Studio which is why I use Motion for animating.)
    Sorry to ramble on. Thank you again for any further help you can give me.
    - Nick

  • Artboards disappearing in Illustrator CS4

    I'm using Illustrator CS4 on Mac OSX 10.6 and have created a 12 page document for folks at work.
    Every time I re-open the document to make amends all but the first artboard have disappeared.
    All the artwork content is still there, layers are fine etc but where the outline of the artboard page was there are now only guides Which are added to a layed named 'Guides For Artboard'.
    When I create a PDF of this file it only does the one, first page. It's like it doesn't realise the rest of the pages exist.
    But this doesn't happen to every document. It keeps happening to this one, it's happened to others but then when I open them again later they are fine.
    Is this a bug??
    This file was created new in CS4 and is only edited by myself on the same machine.
    Any suggestions would save me some serious grief!!
    Ta

    No it's saved as a CS4 ai file.
    But that did get me wondering, so I saved it as a AI CS3 file and upon reopening that it's done the same thing, added guides where my artboards were.
    That makes sense as CS3 doesn't support multiple artboards.
    But I am saving all my artworks as CS4 files and it's doing this to some of them which is what I don't understand.
    Just wondered if there was a setting i'd missed or something

  • How to reduce file size in Illustrator CS4?

    Hi!
    I'm having troubles with the size of my files in Illustrator CS4, My files always ends with sizes near 100mb!
    I made some tests:
    Create a new doc (7x5 cm), type some text, save: 1mb
    Place an image (PSD file: 12mb), save without embedding: 8mb
    Embedd the psd file, save: 16mb
    Delete psd image, and place JPG (2,5mb), save without embedding: 8mb
    Embedd the JPG, save: 15mb
    I0m using the save with compression option.
    If I uncheck the compatibility with PDF, then my file goes from 15mb to 8mb, but it's too big anyway, my image is only 2,5mb!
    I don't know, I think I'm doing something wrong or illustrator is the most inefficient program that I ever use.
    Why if my file without the image is only 1mb, and my JPG only 2,5mb, when I put them together the .AI goes to 15mb???? that's 500% the real size of my files!
    Please I need help with this.
    THANKS !
    enrique.

    jenryp wrote:
    Hi!
    I'm having troubles with the size of my files in Illustrator CS4, My files always ends with sizes near 100mb!
    I made some tests:
    Create a new doc (7x5 cm), type some text, save: 1mb
    Place an image (PSD file: 12mb), save without embedding: 8mb
    Embedd the psd file, save: 16mb
    Delete psd image, and place JPG (2,5mb), save without embedding: 8mb
    Embedd the JPG, save: 15mb
    I0m using the save with compression option.
    If I uncheck the compatibility with PDF, then my file goes from 15mb to 8mb, but it's too big anyway, my image is only 2,5mb!
    I don't know, I think I'm doing something wrong or illustrator is the most inefficient program that I ever use.
    Why if my file without the image is only 1mb, and my JPG only 2,5mb, when I put them together the .AI goes to 15mb???? that's 500% the real size of my files!
    Please I need help with this.
    THANKS !
    enrique.
    Think about it for a minute and you might find the answer yourself?  Ok perhaps it has something to do with the fact that a 2.5 mb jpeg, which is a compressed file size, is something like a 15 MB uncompressed file. I know but it is a compressed file but Illustrator has to uncompress it and make it pdf compatible turn off the pdf compatible option and see what happens.
    I just tried it myself and sure enough a 4.1 jpeg place in AI makes the file 13.1 MB the uncompressed image is 15.8 MB
    without pdf compatible the 4.1 mb file in AI is now a 1.1 MB file.
    It makes sense to me perhaps if you think about it it might make sense to you as well.

  • Rotating pictures and rectangles in illustrator cs4. (WHY DO THEY LOOK WARPED/TRAPAZOID)

    Can anyone help me with rotating pictures and square shapes in illustrator cs4.
    When i rotate a square/rectangle or picture it seems to distort the shape and picture.  Say I rotate something 30 degrees by using the menu or free drag. the square/rectangle doesn't maintain it's 90 degree angles. You can notice it's kind of warped some.
    Someone said hold down shift and I did all that does is lock the rotation to 45 degrees.....
    I'm on a pc.
    Thanks

    Which I wonder why that is even in there?! If it will throw off things.
    CRTs are glass screens coated with dots of phospor that light up when excited by an electron beam. They don't have physical "borders" for each of the "pixels" they render. So they are much more forgiving about displaying different aspect ratio images. An LCD monitor is made up of discrete cells. Set it to an aspect ratio by which the number of cells is not divisible and you get not only the ugly disproportionate scale, but also a hideous blurring effect.
    It never ceases to amaze me the number of users (even mechanical engineers) who tolerate this, as if completely oblivious to it. It's also amazing to me how many people also watch movies on supposedly "high def" TVs which display Sandra Bullock's (and everyone else's) head at 1.5 times its proportional width, and never seem to notice.
    I set my monitor to that native resolution and I believe that fixed things. Only thing is all my icons etc are really small.
    If the size is a problem, use a setting that is the same aspect ratio as, and half the pixel count of the native resolution. In other words, tell your monitor to use four of its hardware cells to display each pixel, instead of one. But if you choose a setting that effectively tells it to use, say, 1.5 cells for each pixel, sharpnes is...well...going down the tube, because it can't actually do that.
    Me, I always set my LCDs to their actual hardware resolution at their native aspect ratio.
    JET

  • Illustrator CS4 removing artboards when i save and re-open the file

    I'm using Illustrator CS4 and have multiple artboards set up in a single .ai file. The problem is when I save the .ai file and then close it, when I reopen the file it removes all instances of my previous artboards and replaces it with a single one. Why is this happening? It just started doing this - I was able to open up the file previously and maintain my current list of artboards.
    Mario

    Any chance you are saving in CS3 format? Or starting from a CS3 document?
    Yours
    Vern

  • Illustrator CS4: Exporting as cropped image, unable to define Crop Area or Crop to Artboard

    Preface: I am using Adobe Illustrator CS4 Design Premium, Windows version.
    I am currently designing some projects in Illustrator CS4. I am NOT using multiple artboards, only one. On previous versions of Illustrator, users could simply Export> an image as a JPG, and the image would be appropriately cropped to either the Document size, or predetermined Crop Area marks which were easily chosen in the Object dropdown menu.
    Since the ever useful Object > set cropmarks function was removed with the advent of CS4, I am unable to Export an Illustrator file as a high-res JPG or TIF using the supposed Artboard as the cropmarks. In other words, when trying to export my project, the saved/exported image includes all content placed in the document, even material that extends beyond the Document size or Artboard size. Why is this? What am I overlooking?
    In the Artboard dialogue or settings, I cannot locate any option to set the Artboard as the default crop area for Exporting, saving, and printing, etc.
    After doing a bunch of research trying to find a fix, I have only discovered that there are thousands of other people posting on various forums regarding this same issue, so I think a detailed and complete explanation or instruction on how to do this would be very helpful and appreciated.
    Other than in the Save For Web & Devices settings, there seems to be no options to Export using cropmarks, or export a file to be properly cropped to the Artboard dimensions. Again, I know this function is possible when Saving for Web, but not with a normal high resolution Export as a flattened image such as a jpg... or at least I can't find out how.
    Any help is appreciated, thanks.

    Yeh this is pathetic and in my opinion a bug or false advertising. Since they haven't fixed it i believe this is false advertising and misleading for users who may have upgraded for this "feature".
    I do know some CS2 users who are holding out from upgrading for this reason!!
    I wonder what CEO's or higher ups would say if they heard or could understand this issue...How does program loose features meanwhile Adobe has how many billions in resources to fix these type of issues for their users who paid a pretty solid chunk for software that should work properly.
    Need some competition to fire them up! (any alternatives to illustrator anyone actually using?)

Maybe you are looking for

  • IPhoto 6.0.5 Crashes when opening after asking to import photos not in lib

    Hi, I wonder if any one can help me with this. Each time i open iPhoto (6.0.5) I get a message stating "67 photos have been found in the iPhoto Library folder that were not imported. Would you like to import them?" if I click yes the program starts t

  • LIST OF ALL CONSUMPTION AND STOCK GL ACCOUNTS

    Dear experts, Can you please tell me what is the tcode for checking all consumption n stock related GL accounts. Thanks & Regards Sreelatha.

  • Generation of IDOC from xml content present in XSTRING format

    I have a requirement to create an IDOC with the XML content coming from an external system. I don't have the option to put that XML content in the file and then call EDI_DATA_INCOMING. I get the IDOC XML content in an XSTRING and using this content I

  • ABAP & JAVA Proxies

    Hi Experts, Can any one please tell me what are the prerequisites and connection settings that needs to be taken care while developing the ABAP/JAVA proxies. Thanks in advance. Regards, Shaily

  • IMovie, iPhoto etc.

    I currently have an iBook G4 running 10.3.9. My computer came with iMovie, iPhoto, iDvd, and Garage Band. I know that Tiger doesn't come with these programs, but I would like to know if I can carry over my older versions when I upgrade, and how to do