Using Automator to Find Date in file name--Help!

Hey guys,
I have this automator question.
Daily I record a radio show. Due to cpu limitations I cannot record it right to AAC. (I use the radio shark) So I record it to aiff format. Radio shark adds in the current date to the file name so I know what date the show is from. What I need to know is if I can get an Automator action to find a file in the Radioshark folder with "Radioshow" and the Current Date in the filename.
How can I have automator use the current date to search for the file.
I need the date variable included because sometimes my automator app doesn't delete the old file, so at times the radio shark folder could contain numerous "RadioShow" files.
Any help appreciated.
17inch Imac 800Mhz/12 inch PB   Mac OS X (10.4.6)  

Hey thanks. That did work. A new question. It takes about 60 minutes to import the file. Once the file is imported I would like automator to change the Track Info and put it into a specific playlist.
Most of the time the file imports but does not finish the actions in automator (the track info and moving it to the playlist). I am assuming that it is "timing out" during the import process. Is there a way to pause the automator actions for 60 minutes after it begins the import process and then completed the subsequent actions?
Any help appreciated!
Craig

Similar Messages

  • Cannot move any files into trash to delete them. I get a Trash warning box saying "The Finder cannot complete the operation because some data in 'file name' could not be read or written.(Error code - 36)".Macbook has so much data it is almost not working

    Cannot move any files into trash to delete them. I get a Trash warning box saying "The Finder cannot complete the operation because some data in 'file name' could not be read or written.(Error code - 36)".Macbook has so much data it is almost not working.
    I have tried reseting to factory settings by removing battery and holding down the power switch for more than 5 sec but this does nothing.
    Any ideas would be greatly appreciated as I think with so much unwanted data on the desktop and other places the whole os will crash very soon.
    Thanks, Rick

    The hard drive may be dying anyway, or the directory damaged because it is so full.  You should never let the hard drive get over 85% full.
    A -36 error is a read/write error.
    All you did with the power is reset the SMC.  Does nothing to reset everything to factory settings. 
    Do you have your original 10.4 installer discs for the MacBook?
    Is your data backed up?

  • The Finder can't complete the operation because some data in "FILE NAME" can't be read or writen. (Error code -36)

    I have a RAID that my Mac says is damaged. It does mount, so I want to copy as much of the data as I can. I tried SuperDuper!, but it crashed (or gave me error and stopped).  I tried copying and pasting entire drive (1.75TB) but it stopped with this error, and same error happens with some of the files when I try to copy and paste (Drag and Drop) them individually.
    I get this error: The Finder can't complete the operation because some data in "FILE NAME" can't be read or writen. (Error code -36)

    Well, in pure Apple File System talk... -36            ioErr            I/O error (bummers)
    Not very helpful, but generally means a Drive quit being Readable or Writable since starting the operation...
    http://fuzzy.wordpress.com/2006/12/10/ioerror-36/
    If Disk Utility or fsck should fail to repair it, your best bet is DiskWarrior from Alsoft, you'll need the CD to boot from if you don't have another boot drive...
    http://www.alsoft.com/DiskWarrior/
    Might try the free trial of my favorite, Tri-Backup, it does a better copy/clone job in that it usually doesn't quit copying at every error, & has a nice log afterwards to try certain files agin if you wish....
    http://www.tri-edre.com/english/products/tribackup.html

  • Print web page to PDF with date as file name

    Hi
    I'm doing environmental monitoring for a construction project and i need to download the 5 day forecast from a particular web site daily. I'd like to automate this to happen at 7 am every day. I've tried record but am having problems.
    Here are the steps i'd like it to take:
    1. Open book mark in Safari
    2. Open print dialog (command p)
    3. Open save to PDF
    4. Select folder in finder
    5. Enter current date as file name
    6. Save pdf file.
    I've tried Get Specified URL and nothing happens. When i record the mouse always misses.
    Help

    Hi... had to put this up for a while as I got busy in my day job. Here's where i'm at
    I can successfully generate a PDF file but it's blank. The other two problems I'm having is that I'd like to name the file with the current date. I can call up the current date using that tool but i can't figure out how to make it the file name whether i print to pdf or use the tool.
    I think there's something i'm missing here.
    Message was edited by: Gary Springs

  • Cannot use Automator to Find Aperture Albums - just get errors

    I've been trying to use Automator to automate the process of Exporting my Portfolio from Aperture to jpegs, then uploading these via FTP. However, whenever I try to use the automator actions "Choose Albums" and "Find Aperture Items" I get either errors or no items returned. I've eventually concluded that both the 'Choose Albums' and the 'Find Aperture Items' (with 'Albums' selected from the drop-down) can only find albums which are inside Projects, and cannot find albums which are not (i.e. are just in a folder).
    For example, I am able to use Find Aperture Items (but not Choose Albums, incidentally) to find an album called 'Landscapes' which is inside a PROJECT called 'Portfolio', but not able to find an album called 'Landscapes' which is inside a FOLDER called 'Portfolio'. (Note the folder is not inside anything else, just under the Library heading in the inspector).
    Since I store my portfolio as a set of albums inside a folder, and do not want to store it as Projects inside a folder (as this would require the photos to be moved to that project, rather than residing in their original project and having a reference to them in the album), can you suggest any way that I can use Automator to find these albums which are not inside folders and hence export my versions?
    I should mention that when I try to use Choose Albums to find anything I get error messages, and when I try to use Find Aperture Items to find albums which are not inside projects I simply get no results.
    Also, I'm running Automator 2.2.2, Aperture 3.2.3 and Lion 10.7.3.
    Thanks

    Thanks for your help Léonie. As you suggested, AppleScript seems to be the way to go, so I learnt to use it and came up with the following...
    set rootExportFolder to "path:to:export:location"
    set albumNames to {"Foo", "Bar", "Etc"}
    set exportFolderNames to {"foo", "bar", "etc"}
    with timeout of (30 * 60) seconds
       tell application "Aperture"
          launch
          set fileNamingPolicy to file naming policy "Index only"
          set exportLargeSetting to export setting "Web Large"
          set exportThumbSetting to export setting "Web Thumb"
          repeat with i from 1 to count albumNames
             set albumName to albumNames's item i
             set allImages to get every image version in album albumName of library 1
             set exportFolder to rootExportFolder & ":" & {exportFolderNames's item i}
             set exportThumbsFolder to exportFolder & ":thumbs"
             export allImages to exportFolder using exportLargeSetting naming files with fileNamingPolicy
             export allImages to exportThumbsFolder using exportThumbSetting naming files with fileNamingPolicy
          end repeat
       end tell
    end timeout
    A quick rundown from the top:
    First I set some variables. The path to the place where I want my portfolio exported, and the names of each of the Albums my portfolio is sorted into plus the folder name for each album.
    Next I set a timeout - this is required because Apple Events time out after two minutes by default, so when exporting a large number of versions the script would time out and fail. So I set the timeout to 30 minutes instead.
    Next I launch Aperture (in the background) and select my file naming policy and version export settings. These are selected from those that I have set up in Aperture.
    Then for each of the Albums specified earlier, I get the contents of the album and export it, using Aperture's 'export' AppleScript command. For my purpose, I export both a large version and a thumbnail sized version. The thumbnails go in a folder which is in the folder where the full sized versions go.
    That's about it. My actual script contains a bit of extra code to only export versions with Green colour labels, but that's just specific to how I have my library set up, so I haven't included it here.
    Hope that's useful to anyone else who wants to export their Albums to folders!

  • How to find out the file name

    Hi,
    In selection screen (parameter) user will give input TXT file from presentation server to upload to SAP. I need to capture the file name only but not the path and need to concatenate with date stamp and need to download error log in XLS file to presentation server.
    How to find out the file name from selection screen?
    I searched SCN threads but not found relavant solution.
    Thanks,
    R Kumar

    Hi
    This code gets only filename from selection screen :
    REPORT x.
    PARAMETERS p_file(100).
    DATA : gv_full_path LIKE  ibipparms-path,
           gv_full_path_string TYPE string,
           gv_filename(100),
           gv_file_ext(3).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Ask user to select file with a popup :
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = gv_full_path.
    Get filename from path :
      gv_full_path_string = gv_full_path.
      CALL FUNCTION 'CH_SPLIT_FILENAME'
        EXPORTING
          complete_filename = gv_full_path_string
        IMPORTING
          extension         = gv_file_ext
          name              = gv_filename.
      CONCATENATE gv_filename '.' gv_file_ext INTO gv_filename.
      p_file = gv_filename.
    I hope it helps.

  • How to find PG.xml file name and path associated with a FUNCTION

    Hi,
    I am having a function:IRC_VIS_HOME_PAGE with Web HTML value as below:
    OA.jsp?akRegionCode=IRC_VIS_HOME_PAGE&akRegionApplicationId=800&OAPB=IRC_BRAND
    How to find PG.xml file name and path assoicated with above funtion.
    Thanks,
    ashok

    Ashok,
    Function IRC_VIS_HOME_PAGE will have 2 parameter defined for it which are OASF and OAHP where
    OASF=<SelectedFunctionName> - this tells the Framework to select this function in the given "Home Page" menu context.
    OAHP=<HomePageMenuName> - this is used ONLY with the OASF parameter, and it is used to establish the current menu context. It should point to a "Home Page" menu.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Searching for movie data in file Name-FIN-00000001

    While starting up FCP (6.0.6) gives an error message "Searching for movie data in file Name-FIN-00000001".
    After 10 to 20 min FCP will start up.
    How do I get rid of this annoying error message when starting up?
    Thanks W.

    As Jim says, this is a render file. However, simply rendering it won't fix this. What is causing this error is a QT reference movie in the project. When you export a QT movie, and make don't make it self contained, it is a reference movie that references media files and render files. When a render file is deleted (FCP does this automatically when the render file is no longer needed) then the refrerence movie can no longer function... one file it references is gone. Simply re-rendering won't fix it, because it is referencing that SPECIFIC render file.
    You need to find and delete the QT Reference movie from your project.
    Shane

  • When Saving a file finder changes the file name

    After updating to Mountain Lion, every time I save a file, I put in the correct file name and after beginning to save the file the file name is changed to a file name that was saved weeks ago.  It does not matter where or with what program I save it, it begins to save under the correct name and sometime before the save is complete finder changes the file name to a file a saved weeks ago.
    What library file do I have to delete this time to make this stupid thing stop doing that?!?

    It's the level of compression. Lower number, more aggressive compression, more visual artifacts.
    Aside from that you should never use jpeg as a working format. The compression is destructive and cumulative, and the file deteriorates every time you resave it.
    Use TIFF or PSD, and if you need jpeg save out a copy as a single final step.

  • EXPORT 시 DATE FUNCTION 을 FILE NAME 으로 이용하기

    제품 : ORACLE SERVER
    작성날짜 : 2002-04-08
    EXPORT 시 DATE FUNCTION 을 FILE NAME 으로 이용하기
    =================================================
    PURPOSE
    다음은 export시에 date function을 file name으로 이용하는 방법을
    설명한다.
    Explanation
    1)DATE 를 넣어서 shell program 으로 exp 를 하는 방안은 다음과 같다.
    CDATE=d`date '+%m%d%H%M%S' `;export CDATE
    exp scott/tiger file=$CDATE.dmp full=y
    2) UNIX prompt 에서
    $setenv CDATE=d`date '+%m%d%H%M%S' `
    exp scott/tiger file=$CDATE.dmp full=y
    Reference Documents
    --------------------

    Hi All,
    I got the solution.
    The code which i had written in the FM is wrong.
    OUTPUT = SY-DATUM - 1. // Wrong.
    The correct one is below :
    DATA: Temp TYPE SY-DATUM.
    Temp = SY-DATUM - 1.
    OUTPUT = Temp.
    And after that, in FM's Export tab, it should be Export parameter as OUTPUT and checked the "Pass value" check box.
    For the Physical File : <F=TEST>.txt.
    Here the FM which i created was FILENAME_EXIT_TEST.
    When I am calling the corresponding Logical file in the APD, It is working fine.
    Thanks for your inputs.

  • Need file name help

    I have several muse files for the same site, I need to find out the name of the file that is currently live that I exported through the ftp.  Also, how can I delete the other files that I am not using for this sight. Thanks in advance.

    Hey Brad, thanks for the quick response. I understand how to do that, however I made changes to the other files, but I did not export those. I need to find out the file name of the last .muse file that was exported to my ftp.  So, is there a way to know the which muse file is currently exported. I know it may sound confusing, and trust me it was at 3 am this morning.
    Thanks!

  • HT204023 I am not able to set my Personal Hotspot setting, if I try to set it massage displayed "To enable Personal Hotspot for this account, contact carrier " I am in Oman and using Nawras service for data plan. Plz help me

    I am not able to set my Personal Hotspot setting, if I try to set it massage displayed "To enable Personal Hotspot for this account, contact carrier " I am in Oman and using Nawras service for data plan. Plz help me. Before I was using this service but now facing problem.

    Md Asad wrote:
    Yes but they told mobile co mean Device 'iPhone co'
    Sorry but that makes no sense in English. Only your mobile phone company (i.e. "carrier") can enable the Personal Hotspot feature.

  • Automator script search document for file name, and rename file to date

    Hi all,
    I'm having a hard time with Automator... and I can't figure out how it's done!
    Searched the web for it a couple of times, spend hours with Automator already, but I guess my need is random!
    The thing is:
    I got a folder with 1066 files, all the files has random names.....
    I got a document (now it's html, but can convert it to PDF or txt or so ever....) with the coressponding random file names in the html.... some words before that there is the date the photo was taken in this format: 08/25/11
    Now I want somehow make automator search that folder each filename... match it in the document with the filename, and rename the files in the folder to the date the photo's were taken.... and that for all 1066 files.....
    anybody a great idea? Some help? I'm a real newby at Automator scrips!
    thanks

    Have you considered A Better Finder Rename 9?
    A Better Finder Rename 9: The Batch File Renamer for Mac OS X
    Otherwise, what you propose seems to be rather like carving the Pieta using a plastic butter knife. But, if you want, here's one example of a rough algorithm to start ...
    * translate the HTML to ASCII text in this format:  filename (date)
    * read one line at a time from the ASCII file
    * for each line, search the folder for the file
    * rename the file according to the (date)
    BTW, you might avoid a strict renaming according to just the date.
    Best luck with this project.
    JJW

  • Used variable substitution to substiture the field 'date' in file name

    Hi gurus
    I have used variable substitution to substiture the field 'date' (dd/MM/yyyy/hh/mm/ss) in the file name so when empty payload (a valid xml ) is generated by Message mapping then the communication channel is failing by showing the following error
    File processing failed with com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during
    variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload
    : date
    As of now the business is not getting effected as the business scenarion needs only customer master data at the reciever side But when ever there is no custmer master data in the sourse side the message mapping is generating an empty payload and the communication channel is failing ( so it is an internal issue and is there any way which could solve the both (ie the business must not get effected and as well the communication channel must not fail)
    any coments on this will be higly apreciated
    thanks and regards
    sandeep

    Hi Sandeep -
    Yes If you use the Variable substitution from the payload , that perticular field has to be generated in the target structure.
    To handle this You can do the following:
    Sourcefield --->exists -> IfThenElse-->TargetField
    Where     SourceField>exists(node function)-> If
                   SourceField -
    >Then
                   CurrentDate(Date Function)----->Else
    Hope this will help !!
    Regards.
    Jeet.

  • Using the regex to match the file name with date time

    Hello all,
    currently I had problem to match the following file name with the date time. Of course I can use this regex like ""(\\\\w+|.+).(zip)" to match it. However in the current application i need to parse the file name and get the current date time to check if it is matched. Does anyone have good idea?
    {code}
    testfile10-08-09-2008-08-21-04-24-0443.zip
    testfile11-08-09-2008-08-22-04-24-0441.zip
    {code}
    thanks in advanced!

    lauehuang wrote:
    Hello all,
    currently I had problem to match the following file name with the date time. Of course I can use this regex like ""(\\\\w&#43;|.&#43;).(zip)" to match it.That regex doesn't make a lot of sense:
    - with "\\\\w" you probably meant "\\w";
    - "\\w&#43;|.&#43;" doesn't make sense: you can simply do ".&#43;" in that case;
    - ".(zip)" will also match the string "%zip" or "Ezip".
    However in the current application i need to parse the file name and get the current date time to check if it is matched. I don't know what you mean by that.

Maybe you are looking for

  • MBAM installation fails with 1603 error

    I have a Windows 7 Enterprise client computer that I am attempting to install the MBAM client. The installation fails reporting a 1603 error. There are three areas in the installation log where I receive a return value 3: Exit: MBAMClientCAs.dll : Po

  • Managing G/L Accounts autorithations

    Dear SAP gurus I have a new requirement that I do not know how to manage. What I need to do is to create a rol that allow users view certain accounts balance, open items of those accounts and post documents on the same accounts. Also the restriction

  • No puedo crear JCo Destination - (Can't create JCo Destination)

    Amigos, Cuando intento crear la conexion aparece el siguiente error Please choose another name for the new JCo destination. The defined name 'PRDjr' is used in the SLD. Espero alguien me pueda ayudar. Saludos.

  • After iOS8.1.3 upgrade on 5c lost Verizon cell service (works sporadically,  "No Service" most of time).

    Carrier version Verizon 18.1 iOS version 8.1.3 (12B466) iPhone 5C (ME553LL/A) After iOS8.1.3 upgrade on 5c lost cell service (works sporadically). WiFi works fine, all other phone functions work fine.  Replaced SIM at Verizon store, updated carrier s

  • Exit for PO number checking in VA01 Transaction.

    Hi Experts, Does there exists any exit to perform PO Number checking while it is been entered in the VA01 transaction. There is a requirement to perform some extra validation when this checking is performed.