I'm trying to write an Applescript: when I add a file to a folder, I want finder to name it "1" and increment the other files in the folder by 1. i.e. once I drop a new file into the folder, the file originally called "1" will be renamed "2" etc

I'm trying to write an Applescript. I have never used Applescript but my boss has just asked me to write a script so I dutifully nodded and said "Yes Boss"...
The funtionality I need is that I want finder to rename the files in folder when I drop a new file in. When I add the new file (file neame: "1") to a folder, I want to increment the other file names in the folder by 1.
So when I drop a my new "1" file into the folder, the file original file called "1" will be renamed "2", the original file named "2" will be renamed "3" etc
I'm creating a 'stream' of images. When I add a new image i want it to nudge the other images in the folder along.
Thanks guys!

Maybe this will help. If you monitor the "More Like This" box (top right), other threads appear. Opening them usually displays other threads.
https://discussions.apple.com/message/1986834#1986834

Similar Messages

  • The other day I was writing an essay while listening to my iTunes. Then all of a sudden, the power of my house went out. When we finally got power back, and I was able to open up itunes, over 700 songs of mine were deleted. How do I get them back?

    The other day I was writing an essay while listening to my iTunes. Then all of a sudden, the power of my house went out. When we finally got power back, and I was able to open up itunes, over 700 songs of mine were deleted. When I looked in the trash, I saw two things labled "iTunes library extras", and "iTunes library genius". When I tried opening them, it said that I needed to open them with an application, and that I needed to chose one. I chose iTunes. When I tried double clicking on "iTunes library extras" after this, all it did was open up iTunes. Nothing else. Someone please help me because I had a lot of songs that I liked, and recently downloaded. And it will be a pain to get them all back if no one can help me.

    Are the files still physically on your HD?
    [User]/Music/iTunes/Media/Music is the default location. Unless you suddenly have a bunch of new "free space" on your hard drive, they're still where they were, you just need to create a new library file.

  • I put my new iPhone into iTunes for the first time, and chose to back it up to the iTunes i had on my iPod, but that made all my contacts on my sim card disappear, how can i get these contacts back?

    i put my new iPhone into iTunes for the first time, and chose to back it up to the iTunes i had on my iPod, but that made all my contacts on my sim card disappear, how can i get these contacts back?

    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • New Firefox will not let me file a new bookmark into a folder.

    Previously with Firefox I could file a new bookmark directly into a new or existing folder. How can I do that with new Firefox??? (without having to save it and then move it later, which I don't see how to do anyway) And how can I organize and edit bookmarks and folders with new Firefox? This was all so easy previously with Firefox. This is a major step backward in user unfriendliness.

    Ctrl+D is the "Bookmark This Page" item in the Bookmarks menu on the menu bar.
    *Tap the Alt key or press F10 to show the Menu bar.
    This saves the new bookmark by default in the Bookmarks Menu folder.
    In current Firefox releases the "Bookmark This Page" menu entry in the Bookmarks menu changes to "Edit This Bookmark" once you have bookmarked the page and the star on the Navigation Toolbar is highlighted blue.
    So do not get confused by the missing "Bookmark This Page" in the Bookmarks menu and seeing "Edit This Bookmark" instead if you try to bookmarks a page that is already bookmarked.

  • How can i copy itunes from ext.hardrive t o mac itunes, when i try igot a question? (if i want to delete my old itune and copy my new itunes to finder)) not sure how to cmby bough itunes in finder

    PLEASE somebody....how can i copy itunes from ext.hardrive to mac itunes, when i try i got a question? (if i want to delete my old itune and copy my new itunes to finder)) not sure how to cmby bough itunes in finder.

    PLEASE somebody....how can i copy itunes from ext.hardrive to mac itunes, when i try i got a question? (if i want to delete my old itune and copy my new itunes to finder)) not sure how to cmby bough itunes in finder.

  • If I syncing my iphone4 with my new pc(there is no any files), are all of my music and vocie memo erased?? plz tell me, If I syncing my iphone4 with my new pc(there is no any files), are all of my music and vocie memo erased?? plz tell me

    If I syncing my iphone4 with my new pc(there is no any files), are all of my music and vocie memo erased?? plz tell me..

    dude - the question only needs to be asked one time.
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • Drag and drop multiple mail messages into a folder in finder

    Hello All,
    I want to archive emails into folders in the finder. I can do this by dragging and dropping individual emails but not bulk emails.
    Does anywone know the best way of doing this?
    The reason I want to do it is once we have compleated a contract with a client, I want to archive all the messages, pictures, contacts etc into one finder folder. This way, my mail app wont keep growing horribly in size every year.
    Thank you

    Is the Archive function within Mail of any use?
    Archive messages
    You can store messages in an Archive mailbox so that you can quickly find them later when you’re ready to take action.
    Select one or more messages to archive.If you select a conversation, all messages in the conversation are archived.
    Choose Message > Archive or click the Archive icon in the Mail toolbar.An Archive mailbox is created for each account whose messages you archive. For example, if you archive a message sent to your MobileMe account and a message sent to your Gmail account, an Archive mailbox is created for each account.Archived messages remain in the Archive mailbox until you delete or move them. Depending on the account type, the Archive mailbox is stored on the mail server.
    Regards,
    Colin R.

  • When i add an invoice number on 'overview' sheet want it to automatically add the same data to client's individual transaction sheet?

    Hi,
    Im fairly new to numbers and have had limited experience to spredsheet based programs, so bare with me and i already appreciate your time to help!
    Apologise on the question description but, im attempting fairly indepth equations for my business and once all set up and learnt it will help a great deal!
    So, I have an overview sheet including all sent invoices to all clients. I am having to link each cell one at a time between the overview sheet and the clients individual sheet so the data is viewable on both sheets. I want numbers to transfer the data from my overview sheet to the corresponding clients individual sheet based on the invoice number i input. eg. invoice numbers system is 101 for my first invoice 102 is my second invoice . I then add a client number eg. 101 is client 1. 102 is client 2 so my invoice numbering system would be 101 - 101 or 101 - 102 (invoice number first then client number). when i add a clients number i want numbers to add that line of data (sales amount and dates) to the clients sheet.
    Is that possible?
    Thanks so much for taking the time to look and hope it's not to confusing!
    Ian

    Hi Ian,
    As I read your description:
    You have a Main table ("Overview") on which you record ALL invoices.
    You want, for each client, a table on which only the data for invoices issued to that client will appear.
    Each client will be identified by a client number, and that client number will form part of the invoice number.
    Certainly possible, but I'd suggest a few changes to whaty you're starting with.
    Place the client number and the invoice serial number into separate columns (or split off the customer number into a separate column, You want to transfer/copy every record for a specific customer into that customer's individual sheet. Here's a short example:
    I have entered the invoice numbers as you described them in column B of Main.
    Column E extractsthe three digit client number using this formula:
    E2, and Filled Down: =IF(LEN(B)>6,RIGHT(B,3),"")
    Column F creates a client index by copying the cient number from column C, then counting the number of occurrences of that number are found from the top of column C to the current row, and appends that number to the end of the customer number.
    F2, and filled down: =C2&COUNTIF($C$1:C2,C2)
    These two columns should be added to the right of the existing table, and may be hidden.
    On the individual table, Haydn 101, there is one formula, filled to all cells.
    The basic formula is:
    =OFFSET(Main :: $A$1,MATCH($A$1&ROW()-1,Main :: $F,0)-1,COLUMN()-1)
    which returns the results for as many ,ines as there are transactions to transfer, and produces error messages after that.
    To avoid the error messages, and produce 'empty' cells, add the following error trap, using the IFERROR function (bold added to show addition):
    =IFERROR(OFFSET(Main :: $A$1,MATCH($A$1&ROW()-1,Main :: $F,0)-1,COLUMN()-1),"")
    Fill the formula down column A, then Fill right for as many columns as are needed.
    The individual tables, Ives 102 and Scarlatti 103 are duplicates of Haydn 101. Only the Client Number, in cell A1(and the name of the table) are changed.
    Regards,
    Barry

  • Have just work a load of Raw files as previous but they have saved as Video clips + JPG and turn all other CR2 files to video Help Please

    Have just worked a load of Raw Photo Files in Photoshop as on previous occasions but this time they have saved as VIDEO + JPG, also turned all other CR2 files into video in the folder. Can anybody help please.

    This forum is for discussions about downloading and installing Adobe software.  You need to find the forum that discusses using whichever software you are trying to use.
    Here is a link to a page that has links to all Adobe forums...
    Forum links page:
    https://forums.adobe.com/welcome

  • Upgrading from FF 3.0.5 on Intel Duo Macbook (OS 10.5.8). Cannot drag downloaded new version into applications folder. Missing some "privileges."

    Currently using FF 3.0.5. Trying to upgrade to current version.
    Running Mac bok Pro OS 10.5.8 (Intel Duo).
    Downloads fine. But whn dragging to Appl folder get message "Missing some privileges."

    * Download a new copy of the Firefox program: http://www.mozilla.com/firefox/all.html
    * Trash the current Firefox application to do a clean (re)install.
    * Install the new version that you have downloaded.
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • My new android keeps crashing got this one because the other one kept crashing. Don't know what I'm doing wrong new phone won't take calls but old phone answers

    Old and new android are paired somehow the old phone answering calls and TeX but new phone is the active one both phones keep crashing what am I doing wrong.Done multiple factory resets on old phone trying to fix this spent countless hours and days on this

    Sorry but we are unable to provide specific help with the Android operating system. Talking to your mobile provider in person may be helpful.

  • I just got a new iPhone 5S and I want to sync it with my PC however, I already have my old iPohine synced on my computer. When I plug in my new iPhone into my computer, the device isnt recognized. How do I add my new Iphone to iTunes?

    I just want to sync music on my new iPhone but it isnt be recognized on iTunes. Please help.

    Hello there, kiliemccrary.
    The following Knowledge Base article provides some great, in-depth steps for troubleshooting your issue:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • My old computer that i have my iphone 4 synced and backed up to is no longer working how do i connect my iphone to a new computer without losing all the content on the phone??

    Hey all,
    Hope someone can help me, not very good at all this technology stuff so prob asking a really obvious question but here goes........My current laptop that im using to back up my iphone 4 and syncing is pretty much dead and i have a new laptop ready to go but iv been told so many conflicting solutions to this prob but ultimately i want to connect my phone to a new laptop without losing any of my contacts, messages and pictures!! is there a way of doing this??? please help

    follow the steps given here...
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • My library only shows barely half of the songs that are on my ipod. i had to do a recovery on my computer and reinstall itunes. 90% of the songs on my ipod were purchased through itunes. Now i cant load new songs without erasing all the ones on my ipod.

    I downloaded new songs and now it wont let me put them on my ipod unless i erase all of the songs and just put the ones in my library. I think there are something like 140 or less songs in the library and there are almost 300 on my ipod. What gives?

    Hook up your iPod, there should be a selection somewhere that allows you to sync the iTunes purchased content ONLY back into your iTunes from the iPod.
    Non-iTunes purchased content needs a third party utility, look at iLounge or elsewhere for it.
    As always maintan a backup of your content on external medium, cd/dvd/external drive as Apple will not redownload content.
    You bought it, your responsible for it's preservation.

  • Add new field into result of the transaction MD4C

    i want more information into the result of MD4C
    example:
    delivery date of the purchase order and confirmation date of the purchase order and field USR06 of PRPS table and other field like
    moving average price VERPR of the table MBEW and other information from SAP table related to purchase order or WBS elements or Order
    thanks a lot for reply
    best regards
    Patrice

    User exits and BAdI's for MD4C
    Enhancement/ Business Add-in            Description
    Enhancement
    CO610001               User exits: Assembly processing
    M61X0001               User exits PP-MRP materials planning
    M61X0002               User Exits PP-MRP Material Requirements Planning Evaluations
    Business Add-in
    MD_MRP_RUN_PARALLEL         Add-Ins for parallel planning run of requirements planning
    MD_PIR_FLEX_CONS            BAdI for flexible planned ind. req. consumption/reduction
    MD_PLANNING_RESULT          BADI for Issuing Planning Result
    MD_PLANNING_SCENARIO          BAdI for Maintenance of Add. Parameters in Planning Scenario
    MD_PLDORD_BOMEX_CIF         BAdI: Deactivation of BOM Forced Explosion in CIF
    MD_PLDORD_CHANGE            BAdI for Changing Planned Orders
    MD_PLDORD_POST              BAdI: Update of Planned Orders
    MD_PLDORD_SCHEDULING          BAdI: Schedule Planned Orders
    MD_PLDORD_TIME_STAMP          BADI for publishing time stamp problems
    MD_PURREQ_CHANGE            BADI for changing purchase requisitions
    MD_PURREQ_POST              BADI for updating purchase requisitions
    MD_PURREQ_REL_STRAT         BAdI for Deactivating Release Strategy for MRP Purch. Reqs
    MD_STOCK_TRANSFER           BADI: Change the Requirement Date During Stock Transfer
    MD_SUBCONT_LOGIC            BADI: Determine Subcontracting Logic
    MD_ADD_COL_EZPS             BAdI: Extra Columns for Evaluation PP-MRP Reqmnts Planning
    MD_ADD_COL_OVERVIEW         BAdI: Display of Additional Columns in the Material Overview
    MD_ADD_ELEMENTS             BAdI for Adding Additional Requirements/Receipts
    MD_ALTERN_EXPLOSION         BAdI for Alternative Explosion of Planned Orders (IPPE)
    MD_CHANGE_CALENDAR          BAdI: Change Calendar for Range of Coverage Calculation
    MD_CHANGE_MRP_DATA          BAdI: Change Data when Importing MDPSX
    MD_DISPLAY_ELEMENT          BAdI for Changing Display of MRP Elements
    MD_EXT_SUP                  BAdI for Determining the Issuing Storage Location
    MD_INTERACT_PLANNING          BAdI for Deactivating Changeability of MRP Elements
    MD_LAST_LOT_EXACT           BAdI for Calculating Last Lot Exactly in Individual Segment
    MD_MODIFY_PRODVERS          BAdI for Modifying Production Version
    MD_MODIFY_SOURCE            BAdI for Modifying Source Determination in MRP
    MD_MRP_LIST          BADI for further processing of MRP list
    MD_MRP_PARAMETERS           BAdI: Change Planning Parameters

Maybe you are looking for

  • Can you record the audio from a Video embedded in a pdf?

    I can't seem to find anything on this, so I will ask. A client sent us a company produced interactive pdf and wants us to use the audio from a video clip that is in the pdf. We asked for the audio clip but they don't know who to get it from and just

  • Continuous repeat of "restore from the backup..."

    I have an iPhone 3GS. I updated it to iOS5 yesterday, and everything seemed to go fine. This evening, I come home from a (fabulous) concert, and want to save my pics and a video from the show. When I plug my iPhone in, I get a screen entitled "Set Up

  • Photoshop CS5.1 on Mountain Lion

    I have just installed Photoshop SC5.1 on my new secondary machine, Macbook Air, with Mountain Lion. Photoshop refuses to open, saying "PowerPC applications are no longer supported". This is very strange as I have the same installation running just fi

  • How do I burn a slide show to a DVD?

    When I burn a slide show I created on Photoshop Elements 11 to a DVD using Premier Elements 11, only the botton half of the photos are copied.  How do I correct this?

  • How to get rid of an unwanted rippling effect in FCP?

    I imported a still photo from Photoshop into FCP and tried to apply movement to it. If I only move it sideways, it looks fine, but when I keyframe a rotation on the photo, I get a weird rippling effect that looks like the pixels are out of sync. I th