Using "Fit Artboard to Artwork Bounds" in an action?

Hey all,
I'm using a handy action that does some what I call "clean up" on various open files, nothing fancy - names all the used swatches and deletes unused etc - but I'm having trouble getting it to do another major part of my workflow:
Let me explain - I want to have an action that is able to do the following:
1. Unlock All objects
2. Select All objects
3. Artboard Tool (SHIFT-O) - and then
4. Fit Artboard to Artwork Bounds
I got it to work up to step 3. It can Unlock and Select, but it seems that recording an action while using the Artboard (Shift-O) tool won't record. Is there any way to automate this? Or does one have to use the Artboard tool manually each time? Thanks!
CS4, Mac

Same problem in CS6: neither "Fit to artwork bounds" nor "Fit to selected art" will record for me (although strangely, "Fit to selected art" recorded on the first attempt but never worked again, even after restarting).
Seems to be one of these temperamental flakey things that sometimes conks out. I imagine trashing preferences would fix it, but it's not worth it since the workaround works (albeit clunkily):
Flyout menu in the the Actions palette
"Insert menu item"
From the top menu, choose Objects > Artboads > Fit to Artwork Bounds
Even this seems to be a bit temperamental, though. Sometimes it seems to not actually size the artboard down properly, and sometimes it seems to give different results for running the same action on the same file. Something that seems to work more reliably is the following in your action:
Fit to Artwork Bounds
Select all
Fit to selected artwork
In theory that's just duplication, but it seems to work more reliably than just one or the other .

Similar Messages

  • Problems with Fit to Artwork Bounds when using Save for Web

    When I do the Fit to Artwork Bounds function under Artboard Options and then Save for Web, the file has a line of white (or nearly white) pixels at the top. As a workaround, I then open the png file in Photoshop, crop out the white line of pixels and resize the image, but that shouldn't be necessary. How do I prevent it from making the white line of pixels at the top?
    I'm using Illustrator CC on Mac OS 10.7.5.

    you can make your art go a little bit over the bounds. or you can make sure your artboart and art edges align to pixels

  • Record action for "Fit to artwork bounds"?

    Hi,
    since there is no short cut for the very usefull (but hidden) function of fitting the page to the artwork bounds I tried to record the steps with an action.
    I create a new action and selected page setup in the menu and shrinkt to bounds of the page by selection the second option (Fit to artwork bounds) from the toolbar menu on the top.
    But nothing happened - not a single step of this process was recordes by the action.
    How can I create an action for this?
    Is there another way to create a shortcut for this very useful feature?
    Thanks
    Konrad
    P.S: I use Illustrator CS4

    Since FitArtboard to Artwork bound and Fit artboard to Selected, are available under object->Artboard menu , you can definately Create a customized shortcut for this functionality and use them
    to create a customized keyboard shortcut do this:
    Edit->keyboard shortcuts->choose menu commands->object->Artboard-> double click on the " Fit to Artwork Bounds"  in the line of shortcut column and provide a custom shortcut.
    Thanks

  • Artboard Action/Script Crop to Artwork Bounds

    I have just finished manually cropping the artboard to fit the artwork bounds for 1500 files.
    It is not possible to create an action or keyboard shortcut for artboard options. It is not even possible to set and save another default artboard size.
    AI CS4 ships with sample scripts to add artboards, but I understand that it is not currently possible to write a script to modify the properties of a file's existing artboard.
    There are several messages on the Illustrator forums requesting help to create an action to crop the artboard to the artwork, so this must be a reasonably common problem.

    Does this help anyone?:
    You can automatically create a new Artboard to fit precisely around any object by 1. Selecting the object, 2. Selecting the Artboard Tool, and then 3. Clicking on the object with the Artboard Tool. A new artboard will appear which wraps tightly around your object. Your old artboard will still be there, but you can zap it right away since the Artboard Tool is still active, or you can just note the Artboard number for when you go to export.
    It's not a perfect solution, but nothing ever is with Adobe Illustrator.
    When I used Corel Draw I could simply select anything and export it and the result would be cropped to the object.
    Sigh.

  • Is there a command for "Fot to artwork bounds" ?

    Is there a command for "Fot to artwork bounds" ?

    Make your own. Edit>Keyboard Shortcuts>Menu Commands>Object>Artboard>Fit Artwork to Artboard. Make it anything you want.

  • What brush was used to create this artwork?

    I am not familiar with using brushes in illustrator. Just wondered where to start! Underdog

    My guess is no brush was used to create the artwork.  The original may have started out as vector artwork created with the Pen tool ( 1/2 Reflected ).  Then, it was likely Exported as a .tiff to Photoshop where some Gaussian Blur and Noise fillters were applied.  Where did you get the sample above?  Is it vector or bitmap artwork?

  • HI GURU'S WISH FUNCTION MODULE USED IN IDOC'S OUT BOUND

    HI GURU'S WISH FUNCTION MODULE USED IN IDOC'S OUT BOUND PLZ HELP ME................

    Hi!
    Check out transaction WE41 for out, WE42 for inbound IDocs FM-s.
    Unfortunately mostly the outbound IDocs are not entered here, they are sent from user-exits, at the save event...You can send IDocs using FM "master_idoc_distribute".
    And check out transaction WEDI for IDoc configurations...
    Regards
    Tamá

  • I used to view lyrics,artwork from audiobooks,music on Ipad just the sames as my Ipod. How can I get this back on my Ipad?

    I used to view lyrics,artwork from audiobooks,music on Ipad just the sames as my Ipod. This no longer is true; how can I get this back on my Ipad? My Ipod shows a swich to turn on lyrics but the Ipad does not. What can I do to correct this. Thanks for any help!

    If for some reason you failed to make sure that everything waas on your computer before updating, then redownload it:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Fit artboard in window for all open documents

    I did a quick search and didn't see an answer for this.  I often have to open 10 or so images from a client and they all need to have me fit artboard to each one seperately.  Can I run a script that would run that command on every open file?
    Thanks
    Marcus

    If I've understood you correctly then this should be all you need to do?
    #target illustrator
    function fitArtboards() {
         if (app.documents.length == 0) {
              alert('Open a document before running this script');
                   return;
         } else {
              for (var i = 0; i < documents.length; i++ ) {
                   app.activeDocument = documents[i];
                   app.activeDocument.artboards[0].artboardRect = app.activeDocument.visibleBounds;
                   redraw();
    fitArtboards();

  • Use Javascript to select artwork on a particular artboard?

    Is there a way to use Javascript to select all artwork on a particular artboard?
    Or if you couldn't designate the selection based on the artboard index, another way i could see doing it would be to select all artwork within a bounding box? For example if i were to measure the artboardRect of an artboard and then set the selection to all pageItems within that bounding box?
    Thanks in advance!

    awesome. i'll keep that one for my records. for my purposes right now, the selection by active artboard function is perfect. now i just need to work out how to loop through each pathItem within that selection and determine if it contains a certain spot color (and if it does, add to a counter of some sort) and verify that the number of occurrences of that spot color equal the total number of arboards in the doc (that is to say.. verify that a certain spot color exists at least once on every artboard).
    so i assure you i'll be back to soak up as much of your experience and knowledge as i can get my grubby paws on. =)
    Thanks again, so much. you've been incredibly helpful. CarlosCanto as well.

  • Fit artboard to selected artwork including effects

    In Photoshop, if I have a layer with a style such as a drop shadow, and I click on Image > Trim, I can crop the canvas to the exact points where the drop shadow fades out. I want to do essentially the same thing in Illustrator. I have an object with a drop shadow. I select the object, double-click on the Artboard tool, and in the dialog that appears, from the dropdown menu, I select "Fit to Selected Art". This succeeds at cropping the canvas to the dimensions of the object, but but it also cuts off my drop shadow. My only solution has been to eyeball the cropping of my canvas, but I really want to be precise and automate this process. Does anyone know how to do this?

    It's an unexpected behaviour in conjunction with groups. Has been discussed here a couple of times.
    You may also call it a bug.

  • Padding When Fitting Artboard To A Shape?

    I could have sworn a while back that I had stumbled across an option within Illustrator (I'm currently using CC) to specify a certain amount of "padding" to leave around an object when cropping it. I can't recall if I saw this in the Artboard settings, in the Save For Web settings or somewhere else - if at all. Does anyone know if this is possible within Illustrator. In other words, if I draw a shape and want to crop the artboard to fit the dimensions of the shape, plus leave an extra 25px of padding around the shape.

    I wrote a script for that, but you could also record an action and assign a hot key to it, that would the faster
    first, grab a couple of shapes, group them and
    - go to Effect->Convert to Shape->Rectangle...
    - enter the desired padding amount
    - drag this group to the Graphics Styles Panel
    now select some art and record an action that will apply this graphic style to your selection and resize the artboard + padding. Give it a shortcut key.
    - stop recording.

  • Image quality poor when using "fit in window" view

    Hello,
    i´m getting familiar with PS CS3 Demo and what buffles me is the poor quality of the downsized view of large images. I loaded a 8 MP JPEG image from a digital camera and it looks good in 100%, but when i choose to view the whole image to fit the window (33,33% in my case), the resulting "downsampled" image is very jaggy and pixelated. I use a freeware image viewer called Xnview that gives me a far superior view when viewing large images downsized - i can even choose to select a "HQ" mode so those images get resampled to look better. It it normal that PS does not offer such a thing (or did i not see it?) and delivers such poor visual quality or is there something wrong with my PC?
    Thanks for your help.

    Though 6.735, 12.5, 25 and 50% views usually are OK too. "Image quality" is great, though sometimes deceivingly so. I guess I don't understand sampling enough to tell you why 33% looks bad (rounding errors, I suppose). But 66% makes sense. You're trying to stuff 3 pixels into the space of 2.
    Dave, what are the advantages to these nearest neighbor views instead of bicubic (or even bi-linear). Just speed?
    J

  • How to Use ADF Region With Data Bound Controls in JDeveloper 10g

    I want to use Data Bound ADF Components in Region. Is there any way to acheive this. I want to get Employee Information from a View Object and display it in a region and use this region on different pages.

    I could not understand the dynamic part.
    Actually the problem is that i use Data Controls in Region but when i use the region in other pages it does not display the Data Control.
    Let say i have a data bound outputtext field.
    <af:panelLabelAndMessage label="#{bindings.EmpmasterinfoViewEmployeeid.label}">
    <af:outputText value="#{bindings.EmpmasterinfoViewEmployeeid.inputValue}"/>
    </af:panelLabelAndMessage>
    But this field does not display any thing.
    How i will be able to diplay other data bound controls like table etc.
    Thanks for your reply

  • Using Crop Shapes in Artwork and Effects

    I am going insane! All I want to do is take my photo and edit it so that the photo is a shape in the "crop shapes" in artwork and effects. But when I drag a shape over, the inside of the shape is black, and the photo shows around the outside. How do I flip this, so the photo shows on the inside, and the outside is black (or white or whatever color)??? There must be a simple answer, but I just can't seem to find it.

    Hi...I am wanting to know the answer to your "Crop Shape" question also. I can use it as a mat, or background for a picture, but can't get my picture cropped to that image...Surely there is a way. I am new to Photoshop Elements and don't know what all the bells and whistles are. Is there some sort of a manual???? Thanks for any input. Karen

Maybe you are looking for

  • Using null condition in dbdatasource

    Hi I am trying to bind the matrix through DBDataSource for that i  want to use a null condition in conditions object,but it does not work please help me

  • ICal alert 49 minutes off - how to fix?

    I have a new problem.  My iCal alert set for 35 minutes before the event finally came up 14 minutes after the event.  I entered the event into iCal on my MacBook Pro (OSX 10.7.5); iCloud transferred it to my iPhone correctly, but the MBP gave me the

  • Rasterized regions in the Flattener Preview

    Hi Everyone, Does anyone know how I can programmatically find the regions that will be rasterized during the flattening process for output to EPS? Within InDesign when you have a document open, if you navigate to the menu Window -> Output -> Flattene

  • Can't delete WLAN, missing anchor config...

    Using WLC v7.6.100.0 (Cisco Controller) >config wlan delete <n> This WLAN is used in AP groups. Are you sure you want to continue? (y/n) y Anchors configured on WLAN - unable to delete WLAN entry. There are no anchors configured on the WLAN... I thin

  • CANNOT CHANGE OTN USERNAME OR PASSWORD

    I want to change my username(email address) on OTN as I no longer work for this company. I have a 6 character OTN password but to change my username or password (Oracle profile) I have to enter my old password. A validation rule on the old password f