move the selection to the new work plan

Hi guys,.

I'm new to Illustrator script but I have done some in InDesign.

I want a script to move a selection to a new work plan and be able to name the work plan.

I can't find something in the DOM as artboards.add ().

Any help?

Hi jakec88782761,

are what version of picture you?

Working with work plans is possible since CS4 +.

Here's a simple example in [JS]

var AB_1 = activeDocument.artboards.add([0,50,200,0]);
AB_1.name = 'first quadrant';
var AB_2 = activeDocument.artboards.add([-200,50,0,0]);
AB_2.name = 'second quadrant';
var AB_3 = activeDocument.artboards.add([-200,0,0,-50]);
AB_3.name = 'third quadrant';
var AB_4 = activeDocument.artboards.add([0,0,200,-50]);
AB_4.name = 'fourth quadrant';

Have fun

Tags: Illustrator

Similar Questions

  • Why do my work order plan getting all messed up when I try to add new work plans?

    Mac, HAVE CC

    If I create an icon for fine UX library. I have, say, 20 icons on 20 separate work plans. I have the following configuration: 4 lines and 5 columns. Create mu icons, name each work plan to export properly, and all is well.

    But when I come back to this document and try to add work plans, they add no way to 5 x 4.

    Very strangely, they are added in random places.

    Then I try again to "Reorganize the work plans", and they are willing, but once again, in a random order. My names are so disconnected from the previous relevant work plans.

    It's so frustrating. Is there something I'm missing, if it please or do not know, to add better control?

    Thank you very much!!!

    I think everyone goes through a similar confusion with work plans, but once to slow down and realize some items, they begin to work as

    1. Look at your work plan and that one is highlighted it's the artboard select
    2. You can easily unwittingly switch to another plan of work, by simply selecting another time with the selection tool. "Here, I've selected an item on the 4th game of darts and now the ' Live from the corners" artbaord is selected.
    3. When you use the new work plan command that adds a new after the selected work plan, some people waiting to be added as the last page.
    4. There are some bugs like when you run out of space on the right. I have the last elected artboard, but try to add a new work plan gives me an error because the top row is out of room who shovel have nothing to do with it.

    In summary

    • Name your work plans that you can easily get confused, that it is worth
    • Use reorganize artbaords often
    • Reorganize work plans does not care the physical position on the screen of the work plan, it transposes numbers (1 to 11 in my example above)
    • If you want to copy of artboard on the artboard 2 1. Copy the artboard 1 form, select any element of the artbord 2 and use the paste in front or to the rear. You can also use the work plans Panel to select your target artbaord.
  • Can select > same be limited to just the active work plan?

    CS4 on Mac. Can select > same be limited to just the active work plan?

    ... sort of...

    First select > map of active work

    Then select > Inverse

    Then object > lock selection

    Then select may even be restricted

  • Working on a script that will add a new work plan and remove the old if it is not a specific size

    var app.activeDocument = docRef;

    app.coordinateSystem = CoordinateSystem.ARTBOARDCOORDINATESYSTEM;

    var ab = docRef.artboards [0];

    If (((ab.artboardRect[2]-ab.artboardRect[0])/72) == 17) & & (((ab.artboardRect[1]-ab.artboardRect[3])/72) == 20)) {}

    do nothing

    }

    else {}

    docRef.artboards.add ([575,1601.78,1799,161.78]);

    docRef.artboards.remove (0);

    var abIdx = docRef.artboards.getActiveArtboardIndex ();

    var actAbBds = docRef.artboards [abIdx] .artboardRect;

    }

    I mean it works about 90% of the time. I don't know why it does not always work, sometimes it will build the other work plan, even if it's the right size and I have no idea why. It's very frustrating haha. If anyone has an idea why it won't always work, please let me know. Thanks in advance!

    Hi djbgraphicdesign,

    Maybe this could be a rounding problem.

    Please try something like this instead

    if ((Math.round((ab.artboardRect[2] - ab.artboardRect[0]) / 72) == 17) && (Math.round((ab.artboardRect[1] - ab.artboardRect[3]) / 72) == 20)) {
    
  • Hi, how to hide the black work plan in Photoshop CC as in photoshop CS5?

    CC is a bit different in terms of the poster of the black work plan.

    In CS5, it disappears just automatically so I can access my quick true office. But now in CC, it become irritating because it just keep obstructing my view.

    Anyone know how to disable or hide it? Thank you very much!

    If you are a Mac user try to uncheck View > frame Application.

  • How to remove the rear work plan in photoshop CS6

    Hello

    I'm trying to find how to remove the rear work plan in photoshop CS6?

    I always looking for the "preference", but I can't find the solution.

    I really prefer to have no background as the CS5 because I always work with "drag & drop" and now, it is impossible to see my office.

    Capture d’écran 2012-03-28 à 11.15.15.png

    Thank you

    Concerning

    You could ask on the cs6 forum, but I think thre an option under window or view to remove the frame of the application.

    http://forums.Adobe.com/community/Labs/photoshopcs6?view=discussions&start=0

    I have a question if you don't mind. What resolution is your screen?

  • How to simply create a new work plan? (java)

    What is the java script code to create a new work plan with a certain size and position?  I can't seem to find an example of anywhere.

    Thank you

    Check this link, I created another script that creates work plans

    http://forums.Adobe.com/thread/837709

  • Tables to find out details of the project work plan

    Hello

    I am new to oracle projects and require table names I can select details of work plan project such as cost number, what a burden the task etc.

    Please let me know the tables / queries to the help that I can get the details above.

    Thank you

    Published by: user10648285 on October 18, 2011 21:52

    Hello.

    Look for the details of WP tables below

    pa_proj_elem_ver_structure
    pa_proj_element_versions
    pa_proj_elem_ver_schedule
    pa_proj_elements

    Thank you
    Govind

  • Can I transfer files from the old computer running XP to new computer before or after you move the new Vista computer to Windows 7?

    I have a computer running windows vista that I'm planning on upgrading to Windows 7. I will be transferring files and settings from my old computer running windows XP SP3.  Can I make the transfer to the new computer before upgrade Vista to Windows 7 or should I first, up grade for Win 7, and then do the transfer?  I also asked a previous question about the email, I use Outlook Express on the XP machine.  What happens to the emails, settings, and contacts once I use Windows Vista and Win 7 easy transfer to the have Outlook Express? The new computer has Outlook 2003 is installed, all the settings will automatically go to this program?

    Make the transfer later.  Everything you do is do more work for the upgrade.  It takes hours as it is.  Please use the forums of office for questions by email.  Click Office link in the banner at the top of the forum page.

  • Cannot move the text in plan Vanishing Point

    For some reason any when I select some text and try to paste it into a plan of vanishing point, the selection ends up 200% longer than what it should be, and I can not move the text layer in the plan. Screenshot attached.Vanishing-Point-Problem.png

    After pasting the text (or whatever it is already copied to the Clipboard before entering Vanishing Point) in Vanishing Point, there is no reason why you cannot turn freely it adapts to your chosen size and the report l / h.  If the text or object is too big, and FT handles are outside the plane of VP, just do slip down so you can see the upper handles, to scale down and slide it in position.

    Note: when you use FT Perspective on any object (I mean outside VP), he tends to exaggerate the 'length' because that's how we would probably see the object in real life.  I have nearly the only time where I actually click right and choose one option in FT, because it's so easy and fast to Ctrl (Cmd) make dragging a corner or manage a health perspective.

    Unfortunately you get only basic FT size options and the proportions to the bosom of the VP, which is too bad, because you cannot distort your object to encapsulate apparently on a surface curve.  I added a few FT string to this text before it is applied within the VP.  I suspect that miss me a thing or two with VP, I don't use it very often, so I'd love to hear it from someone who has really under control?

  • How to move the 'new tab' button on one side of the screen to the other

    A settings file had somehow end up corrupt and have reconstitute default Firefox and start over with my custom toolbars. Only problem, is that the 'New tab' button wants to ONLY go to the LEFT of the tab bar. Will not be on the side RIGHT of it as it was before default. Want this back. Someone knows how to put this topic: config or what? I continue to seek my new tab on the right button and get irritated that it is on the left instead. Customize the will, not that it is placed on the right. Dragging it puts it on another toolbar, it falls on the left of the screen when you mouse on the right, or does nothing and quite the icon disappear toward the window customize.

    Well... scrap that...

    Make a toolbar missing and decided to add a few "separators" at the tab bar and all of a sudden he allows her to stay on the right side. Just carried away the separators and it actually moved where I wanted him to be. If I thought who could more quickly, have saved post here. At least it works now so do not bother it. * shrug *.

  • resolution of the laptop too low for the new working version

    While the new version of firefox works a treat on my main computer, the maximum resolution of my computer laptop is1366X768 that is too low so that it can display correctly

    See this:
    https://support.Mozilla.com/en-us/KB/page+zoom

    The function Zoom of Page Firefox does a level of field by field to save the zoom level settings users's favorite, there is no default Page Zoom level setting in Firefox, as with some other browsers.

    Try the extension Default FullZoom Level:

    https://addons.Mozilla.org/en-us/Firefox/addon/6965

    Or the NoSquint extension:

    https://addons.Mozilla.org/en-us/Firefox/addon/2592/

  • WiFi Tethering and the new 'Verizon Plan'

    I recently changed in the new "The Verizon Plan" which is, in many cases, cheaper and more versatile than previous offers (thank you TMobile and project Fi). I was able to engage the service of "hot spot" WiFi on the Pure X even if I do not have a subscription for her (previously required for unlimited and others).

    Using registers "hot spot" against my assignment of data but I have seen no effect on my plan of billing (yet).

    I'm curious to know if any other X-purists 'Verizon Plan' Note This behavior also. YMMV, but it appears as always we have taken at least a temporary break.

    Since Verizon got rid of the unlimited, you're able to attach.

  • Can you implement an action that generates output a jpg file for each of the 14 work plans?

    I have an AI CS6 file with 16 work plans. I need to "save for web" a jpg of each work plan. Is there a way to automate that, by setting up an action - or is it possible to do this? I'll have to do it frequently. Thank you very much!

    Monika Gause says:

    Don't file > export > JPEG, helps to "use work plans?

    HA, ha, there go. No need to post the script now. (My eagerness to script forgot built elements in ;-))

  • Y at - it a simple method to move the new images in an album existing?

    I don't understand why it must be so difficult just to get a new image into an existing album! It seems to me that Adobe has created a simple workflow method to accomplish this simple task. After watching of many FAQ questions / answers, it looks like a number of people have asked the same question but also received a large number of responses of type "get around" to move the images in an existing album.

    For example, one method was to create a new album with a smilar name, then merge the album into existing 'main' album. There must be an easier way to get this done.

    Thank you.

    Happy to help you.

Maybe you are looking for

  • Satellite A660: After upgrade to Win 8.1 BSOD is displayed using the keyboard

    Dynabook i7 3D laptop A660. OK; so I updated my i7 3D Dynabook to form 8.1 Windows (x 64) Windows 7 (x 64), and now the laptop restarts everytime I start to touch the keyboard. Other wise works perfectly. It took me two hundred hours to understand th

  • Audio Hum on Satellite P750

    I just bought (24 hours) a P750 with Harmon Kardon speakers. Great sound, except that every minute or so there's this loud buzzing, crackling, electronic that goes on top of the audio.It seems to coincide with the little glitches in video as well. It

  • Memory stick Sony pro duo

    Hello a while ago, I bought a sony pro duo memory stick... two of them acctualy, in any case, I lost the psp and I had no use for em. so I put em in my portfolio that I always carried around in my back pocket in a very warm weather here in Egypt... S

  • AirPrint stopped working after software update

    I installed the new software update for Photosmart more e-all-in a single model B210a (firmware TAL1FN1207AR) yesterday and now my ios devices will not print.  I can see the printer, can send the print job, but it never arrives at the printer. In the

  • Installation problem with MS Office 2003 on Windows 7

    I tried to install MS Office 2003 Pro on my PC with Windows 7 Home Premium (32 bit).Every time I have pass the product OK key part I get a very irritating little box that says this:Windows Script HostScript: D:\autorun.vbsLine: 12Char: 1Error: The re