Renumbering artboards in CS4....The Adventure continues...!

Hi there. Just joining this thread now.
Basically, I downloaded the script from Ian's site and then followed his advice to read Matt Neuberg's instructions on how to get rb-appscript up and running.
Then I opened Terminal and pasted this, as per Matt's instructions:
$ sudo gem install rb-appscript
Nothing happened so I deleted the space between the $ and sudo.  Then this message came up:
WARNING:  Installing to ~/.gem since /Library/Ruby/Gems/1.8 and
            /usr/bin aren't both writable.
WARNING:  You don't have /Users/MYNAME/.gem/ruby/1.8/bin in your PATH,
            gem executables will not run.
Building native extensions.  This could take a while...
ERROR:  Error installing rb-appscript:
          ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/r uby.h
Gem files will remain installed in /Users/MYNAME/.gem/ruby/1.8/gems/rb-appscript-0.6.1 for inspection.
Results logged to /Users/MYNAME/.gem/ruby/1.8/gems/rb-appscript-0.6.1/gem_make.out
Did I screw something up????  Can this be reversed?
Help!
B.

I didn't mean the the post where you got it from, I meant the joy of appscript site, http://thejoyofappscript.com/2009/12/illustrator-renumber-artboards/
here's my script,
click on the Artboard Tool, to be able to see the actual artboard order/index, then run the script to reorder
in this screen shot, artboards are ordered from right to left. If I wanted to reorder from left to right, I would click on the button "Set Order" next to the "AB 4" button, then click on the "Set Order" button next to "AB 3" button...and so on.
#target illustrator
// var script.name = reArrangeArtboardsCS4only.jsx;
// var script.description = reArranges the Artboards indexes;
// var script.required = an open document with at least 2 artboards, CS4 only, not tested in CS5;
// var script.tip = click on the Artboard tool, before running, to see the AB Indexes
//  var script.parent = CarlosCanto; // 3/31/11
//  var script.elegant = false;
var idoc = app.activeDocument;
var abs = idoc.artboards;
var abcount = abs.length; // save the artboard count
j=1; // new AB order number, used for buttons labels
var btn = []; // left buttons to show AB count
var btn2 = []; // right buttons to set the new order
var win = new Window("dialog","ReArrange Artboards ", undefined,{resizeable:true});
var panelOgOrder = win.add("panel");
var panelNewOrder = win.add("panel");
win.orientation = "row"; // default is column, change to row
win.onClose = onCloseFunction;
for (i = 1 ; i<=abcount; i++) // add as many buttons as ABs
                    btn[i] = panelOgOrder.add("button",undefined,"AB " + i, {name: i}); // named to know wich button was pressed
                    btn2[i] = panelNewOrder.add("button",undefined, "Set Order", {name: i-1}); // -1, to use on 0 based Artboards
                    btn[i].helpTip = "click for help";
                    btn2[i].onClick = onClickButton; // add event listener
                    btn[i].onClick = onClickButton1test;
win.show();
function onClickButton() // add AB and set button label from 1 to AB count
                    this.text = j; // change button label from "Set Order" to 1,2, to AB count
                    this.enabled = false; // disable to prevent clicking twice
                    idoc.artboards.add(abs[this.properties.name].artboardRect); // duplicate AB, which one? 3rd button pressed, 3rd AB
                    //app.redraw();
                    j = j+1; // add to the counter
                    if (j>abcount) // after duplicating the AB, delete the originals
                              win.close();
                              for (k=abcount-1; k>=0; k--)  // loop thru original ABs
                                                  idoc.artboards.remove(k); // and delete
                                                  //app.redraw();
function onClickButton1test()
                    //alert(this.properties.name);
                    var msg = "Click the buttons on the right in the order \r";
                    msg = msg + "you want the Artboards to be Re-Arranged. \r";
                    msg = msg + "You are required to click all the buttons";
                    alert(msg);
function onCloseFunction()
                    if (j>1 && j<=abcount)
                              var msg2 = "You shouldn't close the window. \r";
                              msg2 = msg2 + "You should finish clicking all the buttons, \r";
                              msg2 = msg2 + "other wise you'll end up with extra Artboards. \r";
                              msg2 = msg2 + "If you must close, undo to get rid of extra Artboards. \r \r";
                              msg2 = msg2 + "Are you sure you want to close this window?";
                              close = confirm(msg2);
                              if (close == false)
                                        return false;

Similar Messages

  • How can I change the color around the artboard in CS4?

    In CS4 its creamy/dirty white. I always work around the artboard and I want the area to be plain white as in CS3. Does anyone know how to change this?

    Michael
    I noticed this as well and it's driving me nuts. What I found bizarre is that I was able to work with the standard white artboard in CS4 - common to legacy versions of the program - for the first few days until just this morning. Evidently, this must be some sort of prefernce that may have changed unexpectedly. Most posts relate to changing the transparency grid or turning off the artboard. Not the solution I'm looking for -
    I'm still at a loss for what to do, but am considering discarding my preferences file to see if that does the trick.

  • CS5 exporting TIF from EPS appends artboard name to the file name

    We have recently upgraded to CS5 from CS3. We routinely create EPS files, then export them to TIF's for final use. Previously I used the CROP MARKS tool to set the specific visual size of the art. Without the crop marks, when exporting to a TIF the exported file clips to the edges of the bounding box. In the event I have vertical lines at the outside limits of the drawings they stand the possibilitiy of getting "clipped" or dropped off when the resulting TIF is printed or placed in another document.  I understand the ARTBOARDS have replaced the crop marks setting.  If I create an art board, rename it as MYTAK4 ARTBOARD and then export from the EPS to a TIF, having the radio button "artboard" checked, the resultant TIF file becomes FILENAME_MYTAK4_ARTBOARD.tif.  With the hundreds of files that we create and continually revise, it is important that the any files we revise, maintain the same file name, not another file with same base name, with an appended artboard name tacked on before the TIF extension.  The only solution I have arrived at is to RENAME the file once the TIF is exported to remove the unwanted artboard portion of the name. Anyone have a better solution?

    Hi,
    We just released this tool: FERRY (http://ferry.thedamarmada.com). It does exactly what you want and a little bit more.
    I think it's worth it a try.
    It comes with a free demo that will export 5 layers.
    Take a look and let us know if it's what you need.
    It could be easily tweaked.
    Jordi

  • Installing Cs3 Creative Suite: "insert illustator cs4 disc to continue" ?!?!?

    No that is not a typo. I was installing CS3 from a disc and it started installing, but then this message appeared "Please insert Illustrator CS4 disc to continue". I have had AI cs4 on my computer before, as a trial, and then i uninstalled it. So maybe i uninstalled it incorrectly, I dont know. But there is now no AI CS4 on my computer, and it is asking me for a disc for a CS3 installation.
    This also occurs with any CS3 program installation. I havent tried installing a cs4 program yet, but i dont want cs4.
    This also occured with a CS3 trail download from adobe, so it is not a disc problem.
    Can anyone help?!?! ah!!!!!

    ok so i have read this post with the same problem
    http://forums.adobe.com/message/1965766#1965766
    i have run the cleanup script and i have also looked at this article:
    http://www.adobe.com/go/kb407277
    So my problem would be solved if i was reinstalling the software, but i am not reinstalling, i am installing a fresh version of indesign ive never had on my computer before.
    Please help!

  • I have a new Macbook Pro.  When watching Youtube videos, it works perfectly until I attempt to watch the video in full screen.  When in full screen, the video freezes immediately and the audio continues.  When minimized it works fine as before. Help?

    I have a brand new Macbook model A1502.  I am taking online college classes that incorporate youtube tutorial videos.  I can watch the videos if I don't maximize the screen to full screen.  When in full screen, the video freezes immediately and the audio continues uninterrupted.  I can press escape and go back to the previous screen and the video continues to play with no problems.  Can anyone help me please?  This machine is literally just out of the box with maybe an hour of use.  Thanks in advance

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • The action could not be completed because of a conflict with the original item. The conflict may have occurred when an existing item was updated on another computer or device. Open the item again and try making your changes. If the problem continues, cont

    I have a user on an iMac 10.6 connected to our domain.  She uses Outlook web access for email on our exchange server.  Last week she received the following message which is randomly preventing her from sending emails.  She claims no attachment was involved in the original email when this all started.  I have not been able to look at her account as she is out of the office but maybe someone else dealt with this issue.  I realize this may not be Mac related but thought I'd give it a try.  She did say it occurred once over two days while working on a PC but it continued over the past weekend.
    If an internal user tries to send a message with infected attachment using Outlook Web Access, it may report the following error message: The action could not be completed because of a conflict with the original item. The conflict may have occurred when an existing item was updated on another computer or device. Open the item again and try making your changes. If the problem continues, contact technical support for your organization.
    This is because F-Secure Anti-Virus for Microsoft Exchange has detected a virus in the attachment. If the user tries to send the message again, the message will be sent but without the attachment. At the same time a blank message with an attachment named "Attachment_information.txt" will remain in the user's Drafts folder. The "Attachment_information.txt" will contain information about the virus detected in the message.

    PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
    If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!!

  • Error in Remote Web Access - "An unexpected error occurred. Please try again. If the problem continues, contact the person who manages your server."

    I have set up the RWA and I can log in to the web console with my server account. However when I click on any of the shared folders I get this error:
    An unexpected error occurred.  Please try again.  If the problem continues, contact the person who manages your server.
    Does anyone know how to troubleshoot this?
    Regards,
    Maciek

    I had this very same issue with one of our customer's servers that was running Windows Server Essentials. I ended up calling Microsoft about the issue. I hope this helps someone. This originally appeared on my blog: http://techspeeder.com/2014/01/14/remote-web-access-error-an-unexpected-error-occurred/
    Troubleshooting Steps:
    1.  We were getting unexpected errors while accessing shared folders remotely
    2.  The tech found IIS handlers were missing
    3.  She went to IIS > server level ( parent level) and added managed handler mapping  :
    Name: svc-Integrated-4.0
    Request path: *.svc
    Executable: System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    4. Added script mapping:
    Name: svc-ISAPI-4.0_64bit
    Request path: *.svc
    Executable: windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll
    Name: svc-ISAPI-4.0_32bit
    Request path: *.svc
    Executable: windir%\Microsoft.NET\Framework32\v4.0.30319\aspnet_isapi.dll
    5. Ran IISreset.
    6. We were able to access resources in Remote access, then.

  • Firefox won't close down all the way after watching a video. I exit out, and the sound continues. When I try to re-open firefox, I get a message about how I have to restart my computer. How do I fix this?

    Basically whenever I watch a video and I exit out of the video I have to restart my computer to get Firefox back open. If I exit out or go to a new page while the video is playing, the audio continues like nothing has happened. I've checked my task manager and it shows that Firefox is closed. When I try to re-open Firefox I get an error message that tells me Firefox is running but is unresponsive and I have to restart my computer. How do I get it to stop doing this?

    Try holding control, alt and delete down in succession and then a dialogue box will appear with windows task manager. Once open click on the Processes Tab and look for firefox.exe. Highlight this and then click end process. It should come up with a warning but just click Yes. This should then close firefox and allow you to reopen it from your desktop without shutting down your computer. Hope this helps.

  • My ipod tells me my apple id password is wrong even though I just changed the password. I can log on via my desktop, but the ipod continues to tell me that the password is incorrect, so I can't update any apps. Help!

    my ipod tells me my apple id password is wrong even though I just changed the password. I can log on via my desktop, but the ipod continues to tell me that the password is incorrect, so I can't update any apps. when I continue to to try to enter the correct password in it finally freezes the account, and I have to go online via my desktop to fix that problem. I have two apple id's because when my ipod crashed I had to reset it completely. I have never had any problems with this before, and it has been a year since I got my second id, which is linked to the ipod. My first id is used for the cloud on the same device. My wife suggested I reset documentson the cloud for the second id, however, when I try to log on the cloud with my current id, it tells me I have to set up the cloud on that device, but it is already done, but with the old id.
    confusing I know. I have been on the 'change your password merry-go-round' all day, and I'm getting dizzy! Help!

    Then contact iTunes:
    Apple - Support - iTunes - Contact Us

  • Exchange 2013 - The Microsoft Exchange Transport service is rejecting message submissions because the service continues to consume more memory than the configured threshold

    Noticed at about noon that no emails had been received all day. Began to investigate and found that the MS Exchange Transport service had been set to deny email submission because it was using too much memory on the server (91%). 
    The error message makes me think that we may have been getting used by malware or something similar.“The Microsoft Exchange Transport service is rejecting message submissions because the service continues to consume more memory than the
    configured threshold.” 
    There are also several warning messages that list particular IP addresses and say that a connection from that IP was denied because there were already the maximum number of connections (20). 
    From what I can tell, all of the IP addresses are from Taiwan. 
    The time period for which some emails may be missing is from close of business yesterday ( 4/3/2014) through about 12:45 today (4/4/2014). 
    From the time I spent reading and trying to figure out the error, I think we may need to readjust our throttling policies to prevent this from happening. 
    The exchange server is currently running at 90%+ CPU and 50%+ memory usage the majority of the time, and I’m not sure how to fix it.
    Also, I cannot get into EMS I get a access denied message from the destination computer. (Exchange server) I want to get into there to change the throttling policy back to default, since we disabled it.
    The Error reads:
    The WinRM client cannot process the request. The WinRM client tried to use Kerberos authentication mechanism, but the destination computer <Exchange> returned an 'access denied' error. Change the configuration to allow Kerberos authentication
    mechanism to be used or specify one of the authentication mechanism supported by the server. (How do I do this?) To use Kerberos, specify the local computer name as the remote destination. (I'm trying to use EMS while logged into the local Exchange server)
    Also verify that the client computer and the destination computer are joined to a domain. (Exchange is on our domain, and the computer trying to connect is the same computer) To use basic, specify the local computer name as the remote destination, specify
    Basic authentication and provide user mane and password. Possible authentication mechanisms reported by server.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
    I assumed control of this exchange system already in place and I do not have much experience with exchange 2013 or server 2012. I do know 2008, but that doesn't help very much in this situation.
    Recent changes to the system:
    About three days ago we switch our sessions policy to allow many more connections, and I believe this caused the issue. This is what I changed it to:
    Made the registry DWORD (32-bit) "Maximum Allowed Sessions Per User" and modified the value to 1000. Location of registry change @ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
    I just changed it to 10 from the 1000. I'm hoping this solves this. So far no.
    Also, I am not the best in the shell or command line interfaces. Any help would be wonderful!

    Hi,
    Yes, could be hardware performance issue. Try recycle the Transport process and see if the issue persists.
    Thanks,
    Simon Wu
    TechNet Community Support

  • Is there a way to make the audio continue when the page is turned?

    Can I make the audio continue while a reader turns pages in iBook? With everything I've tried the music shuts off as soon as the page is turned. Thanks for any insight.
    a1foster

    Latest: Working in Pages actually seems to work for this! Place the audio file in Pages (drag and drop works just fine), make sure the audio is inline (not floating) export Pages to ePub and run the Book Proofer . . .  once you click to start the audio, the audio plays until the end, regardless of where you are in the book, it keeps playing. Minor victory because you loose a bit of the layout features that iBook Author has, but the audio now functions the way I was hoping.

  • When plugging in my headset, the sound continues to play on the ipad and not on the heeadset. Why?

    When plugging in my headset in my iPad, the sound continues to play on the ipad and does not switch to the heeadset. Why? I did not have this problem before.

    If you have used earphones in the past then I assume that you realize it takes a very firm push to insert the headphones into the opening - correct?

  • I have continuously over the last 6 months struggled with syncing my iphone and ipod with itunes  The app continually crashes during the picture import.  AND by the way it takes 10-15 minutes before it even attempts to import photos.  The screen says impo

    I have continuously over the last 6 months struggled with syncing my iphone and ipod with itunes  The app continually crashes during the picture import.  AND by the way it takes 10-15 minutes before it even attempts to import photos.  The screen says importing photoes but doesnt try to optimize or anything for 10 minutes.  I have a 3gs with 16Gb so its not a cheap phone.  I have 10Gb free.  I have 6600 photoes.  This is very frustrating and undermines my confidence in your products.  My ipod is an ipod 4 with 16Gb also.  It does the exact same thing to it.  The last time, I had to import photoes a few at the time and with it taking 10-15 minutes each time for 6600 photos it is a long frustrating process.  But it will import every photo a few at a time.  The error message is just that itunes has stopped working.  no hint as to why. AND of course, my phone is out of use for the entire time.  You guys must not want to believe ur phones are a necessary tool...or maybe you dont want the consumer to believe it is.  I have tried to find solutions on your website as well as through other 3rd party communities.  Ultimately they were of no use.  I stumbled onto my solution by accident since Im a bit of a computer geek...a semi-geek.

    I have this issue too, I went into my Windows event viewer. (should have looked at this a year ago when this started)
    it said this
    Faulting application name: iTunes.exe, version: 11.0.2.26, time stamp: 0x51253247
    Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
    Exception code: 0xc0000374
    Fault offset: 0x000ce6c3
    Faulting process id: 0x14d4
    Faulting application start time: 0x01ce194399f166ba
    Faulting application path: C:\Program Files (x86)\iTunes\iTunes.exe
    Faulting module path: C:\Windows\SysWOW64\ntdll.dll
    Report Id: 0eb3c37f-8537-11e2-9351-50465d6737de
    basically whenever I try to sync my ipod touch 4G 64GB it crashes iTunes when it begins the pictures. if im lucky ill get 4-5 on there before it stops responding. its not my system or anything im running win7x64 8GB DDR3 ram (Corsair XMS3) AMD FX Eight core processor.
    It is silly that iTunes cannot add pictures to apple devices. it shatters whatever incline I may have to buy apple products. knda like the Airport Extreem router my dad bought the new firmware, caused my router to not function... why release firmware that breaks a product. -_- <-- off topic but still

  • I am using Firefox 3.6.8. Oddly, my problem appeared a few hours PRIOR to Firefox automatically installing the latest updates (the week ending 7/23), not afterwards. The problem is this: the browser continues to display tabs, the reload/home/history/favor

    I am using Firefox 3.6.8. Oddly, my problem appeared a few hours PRIOR to Firefox automatically installing the latest updates (the week ending 7/23), not afterwards. The problem is this: the browser continues to display tabs, the reload/home/history/favorites icons, URL field and Google search field while in full-screen mode, so it's not really full-screen anymore. How can I correct this?
    == This happened ==
    Every time Firefox opened
    == Oddly, my problem appeared a few hours PRIOR to Firefox automatically installing the latest updates (the week ending 7/23), not afterwards.

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Using windows 8.1 and photoshop cs4 the font size of the MENUS is so small as to be almost unreadable.  how do i make the menu fonts larger.  this is happening also with bridge

    Using windows 8.1 and photoshop cs4 the font size of the MENUS is so small as to be almost unreadable.  how do i make the menu fonts larger.  this is happening also with bridge

    Thank you so much.  You are absolutely right.  I will have to reduce the screen density when I work with those programs.
    Thanks for your trouble and regards
    Quentin Sussman
    <mailto:[email protected]> [email protected]
    Cell: 082 4900 124
    Home:  011 883 2582
    Fax: 086 680 7981

Maybe you are looking for

  • I have a 5th gen ipod that won't sync with itunes. It is recognized in itunes.

    I have a 5th generation iPod that will no longer sync with iTunes even though it is recognized in iTunes.

  • I need help please!! urgent

    Good afternoon, this is to let you know that for some time now, a hacker has been coming into my Skype account and has been reporting information both personal and business email through [edited for privacy] . I have already changed the key 3 times a

  • Finder with Wacom intuos/graphire (a very persistant bug)

    Since a long time now, in Panther and now Tiger there is a bug with Wacom intuos to use the spring loaded fonction of the right column in Finder Windows. With a mouse it's working, with a tablet it's not working. I have send many time this bug to Wac

  • Outlook integration-addon error

    Hi, Following is the error message encountered when we try to start the outlook integration. After configuration  of outlook, when tried to start the add-on exe, following error message was displayed. " CLR error:8007000b. The program will now termin

  • Inventory in production

    Hi. Can anybody help me by recommendation from your experience, how you have realized inventory of unfinished products. Were you developing additional functionality based on Production Orders?