Create landmarks in Illustrator CS4 JS

Hi, I need to create 4 guides in Illustrator page 3/16 of an inch on each side of the artboard using javascript.

Could someone help me.

Thank you very much.

Yulia

#target illustrator

var app.activeDocument = docRef;

with (docRef) {}

var myGuides = pathItems.rectangle (-13,5, 13.5, width-27, height-27 height, false);

myGuides.guides = true;

}

I only have CS2, so I don't know how it will work with your work multi plans!

Tags: Illustrator

Similar Questions

  • Creation of spot color in Illustrator CS4 js

    Hello

    I need to create tones in Illustrator CS4 with js, with values assigned to name and color. Here what I have:

    myColor = myDoc.spots.add({name:"FOIL", colorValue:[10, 0, 100, 0]});
    

    But it comes out as a process instead of square and the color is not affected.

    Thank you for your help.

    Yulia

    the add function has no parameters, you need to add after

    addSpot ('FOIL', 10, 0, 100, 0);
    
    function addSpot(name, c, m, y, k) {
        try {
            swatch = app.activeDocument.swatches[name]; // if swatch exists....
            addSpot (name+='1', c, m, y, k); // ...add 1 to swatch name
        }
        catch (e) {
            var newSpot = app.activeDocument.spots.add();
            newSpot.name = name;
    
            var newColor = new CMYKColor();
            newColor.cyan = c;
            newColor.magenta = m;
            newColor.yellow = y;
            newColor.black = k;
    
            newSpot.colorType = ColorModel.SPOT;
            newSpot.color = newColor;
            var newSpotColor = new SpotColor();
            newSpotColor.spot = newSpot;
        }
    }
    
  • Creating distinct shadows in Illustrator CS4... what happened?

    It is of course available in CS3, directly in the dialog box. Now that my office has improved my machine to CS4, I do not find the option or perhaps not being able to recreate.

    You can always create SEPARATE shadows in Illustrator CS4?

    Thank you!

    Not sure if I look what end result you're looking for with SEPARATE shadows, but nothing has changed between CS3 & CS4 regarding the shadows that comes to mind. Try selecting stand with a drop shadow and choosing object > expand appearance. This will separate your subject from the shadow. You will now have a chart incorporated for shade, which is separated from your object.

    Before that, you can change your Effects > effects of rasterization Document settings at 300 dpi, so you get enough resolution

    I hope this helps.

  • How can you create a shade of a jpeg in Illustrator CS4?

    I am trying to create a jpeg image in a shade in Illustrator CS4. In previous versions you could simply drag the image in the toolbar of the color chart and it would convert it automatically. Now, when I do that nothing happens. When I click on new grade it creates a shade of color instead of the image itself.

    You have the placed image as related, you must place or integrate the image so you can make it a shade.

    zbtw is a very bad idea to put your e-mail address and other personal information in your installation there are spammers who mine the forum for this info.

    But this info if you wish, in your profile and you can choose to make everyone see it.

  • 10.11.6 breaks illustrator cs4

    Illustrator CS4 was working well with 10.11.5 but 10.11.6 made unusable. Everyone knows this?

    What is unusable? Do not start or does not work or something specific?

    did you remove illustrator CS4 preferences?

    / Users / / library/Preferences/Adobe Illustrator CS4 Settings / en_US *.

    have you tried to create a new administrative account and start in this account?

  • Can do an open in Illustrator CS4, InDesign, and Photoshop CS2 files?

    Can do an open in Illustrator CS4, InDesign, and Photoshop CS2 files?

    Files created in older versions will usually open in later versions. Some features may be different, depending on the software used.

  • I want to open an Illustrator file in Illustrator CS4, but I get this message 'it's an adobe illustrator file that has been saved without content PDF... »

    I want to open an Illustrator file in Illustrator CS4, but I get this message 'it's an adobe illustrator file that has been saved without content PDF... "I tried to save it as option with" create a PDF compatible file "option but still the same message is showing. Help, please.

    Thanks in advance.

    Tebu,

    You try to open a document to a newer version?

    If so, you should get a downsaved version instead. Even if it was saved with PDF compatibility you'd lose probably important editability.

  • Illustrator CS4 - when I save it for the web my vectors are pixelated. Help!

    I've recently updated to CS4 (I know, I'm always late), but since when I "save for web" my vectors appear pixelated. It seems worse when I want a transparent background. My pictures are for the web and it won't.

    I have read a lot about this and can't seem to fix my problem, but here is what I tried: anti-aliasing is checked, view > preview raster, view > preview overprinting, the object > pixelation and probably a few other things. If anyone can help me with this problem it would be GREATLY appreciated! I have attached a picture so you can see what I mean. I created this schematic in Illustrator CS4 and saved for the web with a transparent background and, as you can see, it seems pixelated everywhere.

    service_line.gif

    jskopinsky,

    It shouldn't look like this as a GIF, but what happens if you save it as PNG24?

  • Illustrator CS4 "Save as PDF" Glitch

    I use illustrator adobe CS4 on mac OS X 10.6.5 snow lepord

    Whenever I have a file I or any type of file and want to use the option "save under", when I select illustrator PDF completely freezes. I have to force quit and then restart to resume work.

    My work around was to save as a file, open the file in adobe Acrobat 9 Pro and "save under" PDF through this program. It works every time. But the option "save under" PDF in illustrator crashes whenever I use it.

    Does anyone else have this problem?

    What model Mac? How much RAM? How much free space on your drive to work?

    You can also try this

    1. quit Illustrator.
    2. go to user/username/Library/Preferences/Adobe illustrator CS4 Settings and parameters, the entire record of the trash not only the contents of the folder...
    3. launch Illustrator. Illustrator creates a new preferences file.

  • Illustrator CS4 Script

    Hello.

    I created a script for Illustrator CS4 using VBA for Word.

    When I execute the following code,

    I get an error, it's "the ActiveX component cannot create object '.

    Set app = CreateObject ("Illustrator.Application")

    This code works well on Illustrator CS2, but not on CS4.

    I don't know why this error occurred

    Can some give me advice?

    Best account.

    erieru103http://forums.adobe.com/people/erieru103

    Good evening

    Please try this syntax

    Set myAiApp = CreateObject ("Illustrator.Application.CS4")

    Patrice Brel

    PS: Fix on PC I can't yet find the right library for mac

  • Unable to open the illustration Illustrator CS4?

    I tried to open an Illustrator CS4 file that has been saved successfully a few days ago and she appeared with this:

    http://i269.Photobucket.com/albums/JJ59/wutupjoey/Untitled.jpg

    Help, please!

    Joey,

    It seems that the file has been damaged.

    Try to create a document and by placing the file inside (after checking the paste remembers layers in the layers Panel dialog box) and know how much can be saved like that.

    Or you can start reading here and here:

    http://kb2.Adobe.com/CPS/500/cpsid_50031.html

    http://kb2.Adobe.com/CPS/500/cpsid_50032.html

    You should be able to assess the amount of damage by the size of the file before and after.

    Edit: What backup? Rereading, I realized the answer.

  • Illustrator CS4 save two copies of EPS every time

    Hi all. My copy of Illustrator CS4 for Mac has recently begun to save both copies of each EPS file I save - for example. If I create an illustration, then choose "Save as" and save my file, I get "name.eps" and "name - 01.eps. Any help would be appreciated.

    Thank you

    Jason

    You have more than 1 work plan? then when economy do you have the option 'Use work plans' checked?

  • Illustrator CS4 toolbar icons have "smeared"!

    Hey people,

    You have a strange problem this morning from my copy of Illustrator CS4 work, a large number of icons on the toolbar when you have daubed for some reason any? See the image below for what I mean, when you click and hold on one of them family tools are also smeared, they all seem to work very well, you mind.

    toolbar.jpg

    If anyone has had this problem and don't know a solution? I rebooted the system, update CS4, windows update, update of the graphics driver

    No other CS4 components have problems.

    I running design premium CS4 on Windows 7 Ultimate 64 bit on a Dell Precision T5500, Xeon E5520 processor with 12 GB of Ram and a Nvidia Quadro FX1800 if that's any help to anyone.

    Thanks in advance.

    Jami.

    I think it was the conflict any more as a plug-in hardware.

    However if she just started to happen it might be something to do with a setting in either the drivers of the card or Illustrator or the system

    You can try toreset your settings by pressing control, alt, and shift keys (all 3 together) when you start Illustrator.

    That resets the settings or you can move or delete the settings folder if it does not help, sometimes, something else in the folder is damaged.

    This may also be a conflict with a policy, if you have installed or updated software up-to-date recentlyI suspect this software or the police. Do you have free fonts recently used in a document?

    Here's how you can find and remove the settings foder

    1. quit Illustrator.
    2. rename the AIPrefs file (for example, to AIPrefs.old) user / AppData/Roaming/Adobe/Adobe Illustrator CS3 Settings(user)folder.
    3. launch Illustrator. Illustrator creates a new preferences file.

    4. you can also just trash this record if the new preferences work very well. Also, if this does not work then move the entire Adobe Illustrator CS3 settings folder to another location like your desktop for temporary storage Illustrator will create a new folder with all the elements required in the folder and the settings will be cool by default.

    However, if there is a conflict or hardware issues this will probably not help.

    If you do not find the to this place, do a search for it.

    Also, if you have moved the computer or installed any hardware in your office could be map is in place is more well, the card isn't quite right or the display could be funny or goes funny. But I do not.

  • Illustrator CS4 crop my work on export in png

    Illustrator CS4 crop my work on export in png (cultures always on the right side). That happen every time, but often enough to be annoying. Sometimes my work in the centering work plan has solved the problem, but not always. Any idea why it's happening and what I can do to avoid this problem?

    (See the attached png)

    Alain,

    For my part, you're welcome.

    This looks like another bug in CS4.

    In my old 10, I can create a no fill no marquee race, is dressing a work of art or all by itself and save it to the Web (like PNG or other) with the right size.

    What happens in CS4 if you come to do a fill without any rectangle of race and then save it to the Web?

  • Illustrator CS4 in Snow Leopard issues

    I have a logo file that I created in Illustrator CS4 on an iMac under Snow Leopard, and it does not display some of the text layers on the registration for the web or as an Illustrator CS3 file or copy and paste in Photoshop CS4. Basically, text layers are standard using Adobe Garamond Pro (regular and italic) fonts and white text on black background. In the original file, the two lines of text look good but when I try to register using one of the other methods above I no longer see the 2nd line of text. So, indeed I can't create the JPEG or GIF that I need this logo. Anyone have any ideas?

    Thank you

    Steve

    Maybe not a cs4/snow leopard issue but an overlay?

    The white text that disappears is set for a recovery?

Maybe you are looking for

  • you want to search google UK aren't that

    I have Google search as default.Question is - this return of global responses... I want to be Google UK onlyOnce it returns results I can go to tools and select the UK only... How can I fix this by default to avoid this step with each search

  • What does the "N50" on the bottom of my average A55?

    I tried to figure out if my A55 supports the TV video mode, and I see that there is a check box and the "N50" characters on the bottom of the camera, that it has something to do with the TV mode? Thank you KR

  • Download MS clenup tool error

    I tried to download the MS cleanup to clen Cyberlink PowerDirector files tool, but has had a Permission denied error, code a 800, 0046, Source Microsoft VBscript runtime error. I have Windows 7 OS.Please help with this errorThank youOlcam

  • Why do Windows Update error 80072f8f?

    Windows Update error 80072f8f? I set the right time and date again and again if it isn't this problem and believe the or no I have not 1 update since October 20th Please HELP!

  • Loop between the login screen and home screen - Windows 8

    Hello I installed a program to update my drivers. This required me to reboot I did. Now, I can't do anything more: after I connect with my credentials, I can start Windows 8. Everywhere where I tap/click from there he sends me back to the login scree