Backing up files using the label setting.

I want to know if it is possible to back up files, using the labels setting.

Perhaps you could adapt this script to do it...
set itemstomovelist to choose folder with multiple selections allowed
set listofnumbers to {}
set err_log to {}
if itemstomovelist is not equal to {} then
    set lst to {0, 1, 2, 3, 4, 5, 6, 7}
    repeat with i in itemstomovelist
        tell application "Finder"
            get properties of i
            set WIPCheck to (label index of the result)
            if WIPCheck is not in lst then
                set WIPCheck to false
            end if
            if WIPCheck is not false then
                set end of listofnumbers to WIPCheck
                if WIPCheck = 0 then
                    -- do stuff
                end if
            else
                set end of err_log to ("Error - " & ((i as string) & "- Could not get Label Index/"))
            end if
        end tell
    end repeat
end if
return listofnumbers
http://macscripter.net/viewtopic.php?id=24193

Similar Messages

  • After getting the dreaded gray/blue screen, I tried to run disk repair on the internal disk. I got an error message saying "Disk Utility can't repair this disk and restore your backed-up files. The volume Macintosh HD could not be verified completely

    After getting the dreaded gray/blue screen, I tried to run disk repair on the internal disk. I got an error message saying "Disk Utility can't repair this disk and restore your backed-up files. The volume Macintosh HD could not be verified completely." What do I do now? This is an iMac and I'm running 10.6.8.

    Clean Install of Snow Leopard
    Be sure to make a backup first because the following procedure will erase
    the drive and everything on it. See below for how to clone a drive.
         1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
             with your computer.  Insert the disc into the optical drive and restart the computer.
             After the chime press and hold down the  "C" key.  Release the key when you see
             a small spinning gear appear below the dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, click on Options button
             and select GUID, click on OK, then set the format type to MacOS Extended
             (Journaled, if supported), then click on the Apply button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. Be sure you configure your initial admin account with the exact same
             username and password that you used on your old drive. After you finish Setup
             Assistant will complete the installation after which you will be running a fresh
             install of OS X.  You can now begin the update process by opening Software
             Update and installing all recommended updates to bring your installation current.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.
    You may be able to backup your data if you have an erased external drive you can use. Before you do the above but after you have opened Disk Utility you can try to clone your drive:
    Clone using Restore Option of Disk Utility
      1. Open Disk Utility.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Select the destination volume from the left side list and drag
           it to the Destination entry field.
      5. Select the source volume from the left side list and drag it to
          the Source entry field.
      6. Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    Now this will only work if the drive is accessible and can be cloned by Disk Utility. Otherwise, you would need to access your drive from another Mac that you can connect via Firewire - Target Disk Mode.

  • Newbie question: Why is "learn sound model" greyed out when trying to remove background sounds in a file using the Spectral Frequency display?

    I am trying to remove background sounds in a file using the Spectral Frequency display. The first edit on a new file, this process works fine:
    1. use brush to cover sound
    2. right click, learn sound model
    3. effects/noise-reduction-restoration/Sound Remover
    The next time I try to remove another sound in the file, "learn sound model" is greyed out. I have to close the file and reopen to be able to make another edit. What on earth is going on? Can it only learn one sound model or something?
    I'm a newbie, so thanks in advance for your advice!

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • Load multiple files using the same data load location

    has anybody tried loading multiple files using the same load locations. I need to do this as the data in these multiple files will need to be exported from FDM as a single export file. the problem i am facing is more user related. since these files will be received at different points of time, users will need a way to tell them what has been loaded and what is yet to be loaded.
    is it possible to throw a window on the web broser with OK and Cancel buttons from an event script?
    any pointers to possible solutions will be helpful

    was able to resolve this. the implementation method is as follows
    take a back up of previously imported data in the befcleardata event script. then in the beffileimport event append the data to the import file. there are many other intricacies but this is the broad implementation logic. it allowed my users to load multiple files without worrying about append or replace import type choices

  • How do I access my back up files from the time machine if my computer was stolen?

    Hi, how do I access my back up files from the time machine if my mac book pro was stolen? I have a mac book air and mac too. But not sure how I can get back all the files from the stolen computer from my time capsule

    On the Mac Book Air or other Mac that you have, use Migration Assistant to transfer files from the Time Machine backups of the Mac that was taken.
    Macintosh HD > Applications > Utilities > Migration Assistant

  • I sent iTunes to trash. I was able to recover the program but have to "put back" songs one at a time. Is there any way to put back from trash using the "select all" command?

    I sent iTues to trash by mistake (trying to delete files from "yesterday"). I got the program back but have to "put back" songs one at a time. Is there a way to put back multiple songs using the "select all" command or anything else? Thanks for the help.

    The prgram is in one location and the library (media + library files) are in another. Sending it all to the trash would take some pretty delibrate multiple actions and digging through multiple folders, so I don't know how this was managed unless there's something in Snow Leopard that's new. Occasionally I have moved a file to the trash in Finder that I didn't want to and I can use Finder's "undo" to undo the last move. With many files...?

  • I upgraded to Maverick and now Time Machine will not connect to the external hard drive to back up files.  The external hard drive is a Western Digital "My Book Live" 2 TB.  How do I solve problem?

    I upgraded to Maverick and now Time Machine will not connect to the external hard drive to back up files.  The external hard drive is a Western Digital "My Book Live" 2 TB.  How do I solve problem?

    I also had problem accessing my WD MyBookLive after upgrading to Maverick.
    To resolve the problem, I used  Connect To Server (Cmd K) to specify the IP address.
    Then I enter a user id and password I created in the MyBookLive.
    You can also verify that you have admin access to the MyBookLive using Safari or Chrome.
    Just enter the MyBookLive IP address as the URL.

  • Importing multiple files using the Import File menu.

    For some reason I am never able to add more the 5 mp3 files using the Import File menu. All of my files are located on the NAS device and if I select the Import Folder menu all the files in the folder will be imported. However, time after time I add more files to the same folder and then need to import just the new files to iTunes. For that I am using the Import File menu. If select more then 5 files, only 5 files will be imported. Some times I have 100 new files that I want to add, and moving 5 files a time is time consuming and painful. I try opening the folder, selecting all files and dropping them into iTunes, but that did not work. Is there a way to import more than 5 files at a time, or iTunes is not capable doing that?

    I am often surprised how many ways there are to add songs to iTunes. Selecting a number in the open file dialog must have a maximum string length for the file names. I bet that the path and file name are long on those songs and that is why you can only load 5 at a time from your NAS. What I have had luck with and is very easy is to select a group of songs and right click and "play" them. My iTunes is set to import and organize on play. The first song starts playing and they all load. I routinely do this with entire albums without problem.
    Paul

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • Why do I get error -17500 when calling a batch file using the call executable step type?

    I am calling a batch file using the call executable step type. If the path to the batch file contains a space I get error -17500 and a message stating there was an error in "Post". For example the path to the batch file is "c:\TestWin\Test Files\...\Program.bat" When I run this I get the above mentioned error, however if I change my directory structure so the path is now "c:\TestWin\TestFiles\...\Program.bat" it runs fine. I use the browse feature to find my batch file so it is not me typing in a path incorrectly. I have removed the batch file and I get a different error stating that it couldn't find the file so it appears that for my error it can find the file but can't run it. I am
    sure that this has something to do with the fact that batch files are written in DOS but really don't want to resort to changing my directory structure on all my test stations. Is there any way to fix this problem so I can leave a space in my path?

    It appears I have figured it out. This was on another computer so I was unaware of how they used their computer. I like you got it to work in the temp directory and in fact got the program.bat file to work as long as I put it under the temp directory, but when I switched out to my TestWin directory it wouldn't work, so I removed everything from the directory except the batch file it self and it work. What I found out after adding files in one at a time is that the person had a file called "Test" with no file extension in there "c:\TestWin\" directory. Removing this file made it work. Putting the file back broke it. So it appeares that when teststand was running it followed the path saw a space and attempted to grab the "Test" file instead of bro
    wsing into the "Test Files" directory. If you create a file in your temp directory called "temp" with no file extension you will see the same problem. Thank you for your help.

  • Hey guys, I'm having trouble matching the colour of the image back ground (white) with the pre-set colour selection. is there a tool that can help me? thanks

    hey guys, I'm having trouble matching the colour of the image back ground (white) with the pre-set colour selection. is there a tool that can help me? thanks

    Your description of the problem is not quite clear so I made certain assumptions. I hope I am rigtht. I believe you have a color patch such as this:
    that you would like to place in an image area that has modeling in its white background. You do not want to lay in a flat color but rather to add a color and not lose the modeling or other background tone. The problem is, after making the selection, if you use Edit > Fill and set the Blending mode to Color, the white background remains white. The only colored background area may be an object's shadow or some similar area that is not pure white. (Image 2) It is an unsatisfactory result.
    If that is an accurate description of the problem, consider this:
    Image 1: The original image
    Image 2: Edit > Fill with the Blending mode set to Color. White remains white
    Image 3: Mode changed to Lab Color. Edit > Fill with the Blending Mode set to Color. Then return to RGB.
    (I would not normally use this green as a replacement color but since it is a Tiffany clock, I chose a light version of Tiffany's trademark color.)

  • ITunes ask me for password for backed up file, and i never set up any password

    iTunes ask me for password for backed up file, and i never set up any password, now i can't restore my backed up files to my phone!! please help this is really annoying!!! please help.

    For some reason I cannot post a new question so adding to this one.
    I have the same problem with the voicemail password.  I have a voicemail password, I don't need to reset it - but I want to get rid of it.  Did you get a satisfactory answer?
    VERY irritating to suddenly have to put in a password to hear voicemails.  What is up with iPhone?  I hope someone can help me. 

  • How do I burn a dvd using the PAL setting for Europe?

    This is an older answer:
    Make a new project in PAL using custom settings. Copy and paste the contents from the NTSC project to the PAL project. Render everything.
    Don't do this unless you really need to. If you're making a DVD for Europe you don't need to.
    And my question is:
    Why is it not needed to change it to PAL if this DVD is for Europe?
    Would it not be best to use a project with PAL SD 720x576 DV Anamorphic  25i  ?
    What's the difference between .... x756 DV  and  ... DV Anamorphic
    and also completely without this DV and DV Anamorphic?

    Level 10(109,395 points)Tom WolskyJan 9, 2015 5:22 PM
    Re: How do I burn a dvd using the PAL setting?in response to Totti 10Why is it not needed to change it to PAL if this DVD is for Europe?
    You don't, unless you want to have PAL resolution. Would it not be best to use a project with PAL SD 720x576 DV Anamorphic  25i  ?
    Yes, if you want a PAL resolution DVD. That's why the OP is asking how to make a PAL project. What's the difference between .... x756 DV  and  ... DV Anamorphic
    DV is 4:3. DV Anamorphic is 16:9. and also completely without this DV and DV Anamorphic?
    Not sure what this means. The DVD specification is the same as DV resolution. If the OP as an HD project that has a frame rate of 23.98, the output resolution will be NTSC DV anamorphic, because DVD only accepts 23.98, 24, or 29.97 frame rates in 720x480, not in the PAL resolution 720x576. That has to be in 25fps.
    Like Show 0 Likes(0)
    Reply
    JUst to add the reason you don't need to make PAL for Europe is because all PAL DVDs can play back NTSC. Unfortunately almost no NTSC players can play back PAL.

  • ADF mobile: how do I upload a file using the rest adapter api

    Hello,
    I want to upload files using the rest adapter. How would I upload files such as pdfs, images (png, jpg ..) etc.. Some code would be appreciated.
    Thanks,

    Thanks Frank,
    The back-end is functioning in the following way (using Jersey and handling input streams):
        @POST
        @Path("/uploadFile")
        @Consumes(MediaType.MULTIPART_FORM_DATA)
        public Response uploadFile(@FormDataParam("file") InputStream uploadedInputStream, @FormDataParam("file") FormDataContentDisposition fileDetail) {
            String uploadedFileLocation = "D:\\temp\\uploadsTest\\" + fileDetail.getFileName();
            // save it (this function reads from the input stream)
            writeToFile(uploadedInputStream, uploadedFileLocation);
            String output = "File uploaded to : " + uploadedFileLocation;
            return Response.status(200).entity(output).build();
         Is there a way to send data over a stream?
         Thanks,

  • Attempting to upload files using the zend _file_transfer system from cs5 training from the source. [was: Question for David Powers]

    I am attempting to upload files using the zend _file_transfer system from cs5 training from the source.
    On trying to upload to a remote server I am having trouble with the destination setting (C:/upload_test) in the example, please could you point me in the right direction for the an example of this setting for a remote file transfer
    Also do I have to construct a connection file to activate a Ftp file transfer?
    David Woolston

    >I am on windows platform
    Who is your host? When you checked your host path in your host control panel, what did it say?
    >i have assumed (may be incorrectly) that the purpose of the exercise was to upload to a remote site (ie my website)
    That is correct.
    >Of course that upload might take place on a computer that does not have DW installed (an internet cafe for example)
    That's irrelevant. DW is just the tool you are using to build your site. The site runs on your hosting accounts servers. This includes the php scripts you are working with.
    >I have uploaded all files necessary for the operation, when i click upload it returns no such directory exits.
    Do you have a url we can check? What destination are you specifying in zend code?
    >This made me suspect that I would need to construct a ftp file transfer connection file to satisfied username, password , connection address etc
    The exercise you are dealing with is using http file transfer. This has nothing to do with FTP. You do not need FTP for this, other than using it to move your source code from your local client to your server.

Maybe you are looking for

  • How can I turn off the preview (overview) automatically executed when I launch Image Capture?

    I love using Image Capture, but every time I launch it, it automatically does a previes of my scanner's flatbed.  Most of the time, I don't use the flatbed.  I use the feeder to scan multiple pages.  My question is this:  Is there any way to turn off

  • How to create a matchcode for the list of Customers "Group key" KNA1-KONZS

    Hi All, with reference to the creation of "Group key" KNA1-KONZS for Customers, I'd like to know if is possible to create a matchcode for the list of Customers "Group key" created. Thanks Gandalf

  • Writing keywords to files

    Hi, I have spent a long time creating keywords for all my photos but when I export or email the files themselves, the keywords don't seem to go. Is there a way to write the keywords onto the files themselves? Thanks, Chris

  • Serial # Issue

    OK, my copy of CS4 did come from eBay, but it seems to be legit. I am running Vista Home Premium with plenty of RAM and HD space. When I install Photoshop, either from the DVD or download, and enter my serial # it gives me the green check mark and br

  • Align panel broken hard in CS6

    The align panel in FW used to change to a PathPoints align panel when dealing with points. It was a bit erratic in CS5, had to close and reopent he align panel a few times to force it to change, but now it NEVER changes. This had been mentioned on th