Automator help

Hi guys;
I've able to get an automator service to rename a bunch of files exactly the way I want
by having it "Copy Finder Items" and then Make Finder Items Sequential".
But it then dumps all the renamed files on the desktop.
How do I add an option for it to either create a folder to put it in or dump
the files into a pre-existing folder?
I assume its an easy addition but I have no idea how to do this.
Drew

Sorry for the last minute addition.
One more thing.
I'd like to be able to Rename the files sequentially in a few ways.
If I could have the number either put at the beginning (I have that now)
or if I could have some text then a dash then the number followed by another dash then the rest of the text.
Example
Text-01-Rest of Text
Text-02-Rest of Text
etc...
I hope I'm not making this vague and convoluted.
Drew

Similar Messages

  • How do I restore Automated Help from a Device/thumbdrive?

    I re-installed Yosemite fresh after upgrading to a new hard drive and then migrated all my files over.  However, the automated help file did not come over.  So I went to a website that had a collection of the files:  https://github.com/upekkha/AppleHardwareTest
    There is found the correct version of the hardware test for my Macbook and then download a dmg file that created a device on my desktop (similar to when you plug in a thumbdrive) from which I could restore the .diagnostic file.  I don't have hidden files turned on so I can see it in the folder but its the right directory structure:  System/Library/CoreServices.  The website says to restore this file but I don't know how to do that.  I can't copy it without changing the set up to show hidden files, which I don't want to do and I am not sure that's the right way to do it.  So what is the easiest way to restore that to the Coreservices folder on my computer?  I could copy it to a thumbdrive if need be as well.  I have used the terminal but not real familiar with syntax so if I have to copy it that way please provide the exact syntax.  The full name of the device created on my desktop is:  "AHTBThree/System/Library/CoreServices/".  It appears as though there is nothing showing in Coreservices folder but as noted it is because the file is hidden.

    Well I figured it out so let me give step by step instructions in case anyone else has the same issue whereby you Apple Diagnostics file is missing or corrupted.
    First, you need to start terminal and enter the following command, which will make hidden files visible (don't worry you can change it back by giving the same command and substituting "FALSE" for "TRUE" once you are finished):
    defaults write com.apple.finder AppleShowAllFiles TRUE
    Then go to this site:  https://github.com/upekkha/AppleHardwareTest  to find the missing or corrupted ".diagnostics" folder.  As explained there, run EACH of these commands separately to determine the correct model and board number:
    sysctl hw.model | awk '{ print $2 }'
    ioreg -l | grep board-id | awk -F\" '{ print $4 }'
    The first will give you the model of your Mac (in my case, "Macbook 7,1") and the second will give you the board number (in my case, Mac-F22C89C8).  With those two identifiers you find your particular Mac product heading in bold on the page ((in my case a MacBook) and click or double click on the matching model and board number combination--this will download the ".diagnostics" folder you need including the complete folder structure (i.e., "System/Library/CoreServices/" in my case).  Navigate to the ".diagnostics" folder and copy it to the corresponding folder on your Mac (i.e., "System/Library/CoreServices/") in my case.  Then follow the instructions here:  Using Apple Diagnostics - Apple Support.

  • Could Automator help photo org problems after the upgrade to iPhoto 6?...

    Yes, I'm another person that has had the organization of thousands of photos screwed up after paying for and installing the upgrade.
    After reading the numerous threads on this same topic i haven't seen an answer yet...Same as the others, after updating to iPhoto6 my simple, by date, file org is shattered.
    - Of the many proposed fixes, renaming rolls by date is not practical since many of us have photos on a single "roll" (download event) that span many different days. Breaking these original rolls up by date is impractical with thousands of photos.
    - Using the calendar view to navigate the photo library doesn't work because most of the photo dates aren't accurate or are simply missing from this view.
    Could the Tiger Automator be creatively used to help re-organize these photos?
    Can anyone confirm that Apple has acknowledged this problem and is working on a patch/fix for this obviously large scale problem? My pc advocate friends think this is hilarious after i've been bragging about my trouble free macs for the last 20 years.....
    Any help would be GREATLY appreciated!

    Go back to 7.6.1 at least.. do not use 7.6.3 firmware.. as it has wireless issues.
    You go back by selecting firmware update with option key held down.

  • First time automator help?

    I want to create an automator action that will send an email twice a
    day to someone that will tell them my current IP address.
    As I've never done one of these before I think the best way to do this
    is to tell automator to go to www.myipaddress.com and either email the
    text, or take and email a screenshot. Can anyone please help me work through my first automator or give me a lead on where to find help?
    Thanks!
    Jason

    Hi,
    I got this link in  Your  profile --> "Your stuff" -->  https://discussions.apple.com/thread/3740351

  • Automator Help: Create simple workflow to automate opening random playlist?

    I'm fairly inexperienced with Automator. I've figured out how to create some workflows by having it record my actions but this is somewhat limiting. I'm hoping to accomplish something slightly more complex and I've been unable to find an existing thread on this (I may be searching for the wrong terms).
    I'm hoping someone here can help me to create an Automator workflow that will:
    1.) At a specific time on a specific day of the week (i.e. every Wednesday at 4pm)
    2.) Open a randomly selected file from a specified folder (i.e. go to folder "Playlists" and pick one of the 15 .m3u playlists available at random and open it).
    Is this possible with Automator? I've read other posts that seem to suggest something like this is possible but I'm having trouble finding the right building blocks in Automator to make it happen. I'm hoping it's fairly simple because I certainly don't want to ask too much of anyone here. Any help would be greatly appreciated but please don't go out of your way if this is a complex or demanding request.
    My goal is to create a virtual TV channel of sorts. I'd create specialized playlists (i.e. Wednesdays might be sitcom night whereas Thursdays are Sci-Fi night) and my Mac Mini would automatically open one of the multiple "sitcom" playlists (at random) every Wednesday just before I would get home. I love my Mac Mini and Front Row (and Boxee as of late) but sometimes I would like for my computer to be automated so it feels more like a regular TV channel (but one with programming I'm guaranteed to like).
    Thanks everyone. I really appreciate your time and input.

    Do you want to randomly select the playlists, or the items within a particular playlist, or both? Making an iCal alarm plug-in with something like the following will play a random item in the specified playlist:
    1) Get Specified iTunes Items {add your playlist}
    2) Play iTunes Playlist {select shuffle}

  • Find Create Move --  Automator Help~

    Here is what I want to do...
    I have a folder with 1000+ files. I want to create a folder with a filename, and move all files associated with that name to a newly created folder.
    So. I've created a follow automator action.
    Find Finder Items
    Where: a specified folder location
    Whose: name - contains - XYXYX
    New Folder
    Name: XYXYX
    Where: Desktop
    Move Finder Items
    To: (New Path - Variable)
    ^
    ^
    When I do this, it selects all files contain XYXYX in the filenames, then COPY to a folder named "XYXYX" which is created on the Desktop.
    Honestly, I'm not even sure how "New Path" variable works in this Automator. But, somehow, I got this almost working the way I wanted, except that I have to input both Finder Name AND New Folder Name.
    Ideally, I would just input XYXYX once, then Find / Create / Move automatically.
    Can anyone help??

    You can save to and get from whatever variables you have created - the "New Path" is just the default name for a new variable that is going to contain file paths.
    The problem with inputting your XYXYX value just once is that the *Find Finder Items* action doesn't accept variables. You might check out this article to try and get it to take variables, otherwise a *Run AppleScript* action (or just an AppleScript) could be used.

  • Can Automator help me set up a "simple" macro in TextEdit? And how?

    A TextEdit macro. A simple macro. That's all I want. I'm sure it can't be that hard, but I'm missing a big step.
    I do the same thing with many TextEdit documents: Find and Replace one text string; then Find and Replace with a different text string; then a few more times. It's the same text string every time I use the file. It basically takes 2 minutes each time, but I'm doing this five times a week, and a macro to make it take 2 seconds would be really nice. (After all, it's what I was doing in WordPerfect twenty years ago.)
    I can record the actions in Automator, but then that won't work unless I have the relevant TextEdit file in exactly the right place. And now I'm scared because I experimented with a file in a different location on the desktop, and totally lost control of the computer - and eventually had to turn the computer off.
    There must be an easy way to do this. When I have an open TextEdit file, I want to do one keystroke, or 1-2 mouse clicks, and then have all the strings get replaced.
    What am I missing? Most of the introductions seem to take me to procedures much more complicated than I want.
    For example:
    Command-F (for Finding)
    Key VocabularyˆReturnˆReturn (<--the string I want to replace)
    [Tab] (<-- to get to the replace with field)
    --------ˆReturn (<--and what I want to replace it with)
    Replace All
    Command F
    ˆTab (<--all the tab stops I want to replace)
    [Tab]
    [space]/[space] (<--and what I want to replace them with)
    Replace All
    Thanks for any help you can offer, and my apologies for what I suspect is a really stupid question.

    A TextEdit macro. A simple macro. That's all I want. I'm sure it can't be that hard, but I'm missing a big step.
    I do the same thing with many TextEdit documents: Find and Replace one text string; then Find and Replace with a different text string; then a few more times. It's the same text string every time I use the file. It basically takes 2 minutes each time, but I'm doing this five times a week, and a macro to make it take 2 seconds would be really nice. (After all, it's what I was doing in WordPerfect twenty years ago.)
    I can record the actions in Automator, but then that won't work unless I have the relevant TextEdit file in exactly the right place. And now I'm scared because I experimented with a file in a different location on the desktop, and totally lost control of the computer - and eventually had to turn the computer off.
    There must be an easy way to do this. When I have an open TextEdit file, I want to do one keystroke, or 1-2 mouse clicks, and then have all the strings get replaced.
    What am I missing? Most of the introductions seem to take me to procedures much more complicated than I want.
    For example:
    Command-F (for Finding)
    Key VocabularyˆReturnˆReturn (<--the string I want to replace)
    [Tab] (<-- to get to the replace with field)
    --------ˆReturn (<--and what I want to replace it with)
    Replace All
    Command F
    ˆTab (<--all the tab stops I want to replace)
    [Tab]
    [space]/[space] (<--and what I want to replace them with)
    Replace All
    Thanks for any help you can offer, and my apologies for what I suspect is a really stupid question.

  • URGENT :Photo Upload automation : help required

    Hi Experts,
    I need your help in my program which require executing DOS command from SAP ECC 6.0.
    The requirement is "to make an automated SAP program workable with ECC 6.0 which will able to execute DOS command Dir *.jpg -> photo.txt to create a File ‘Photo.txt’, Then I need to upload this file automatically into SAP Internal table for further processing" that will lead to photo upload (this part is already done by me).
    I am not sure if someone has done some similar things in past if yes kindly guide how to do this.
    best Regards,
    Rahul
    null

    Hi Rahul
    Firstly you need to create an archive to store the pictures. Then
    Goto SM30 or SM31.
    Enter the Table/view name as TOAAR_C.
    Click on New Entries.
    Give StSym  as 'A2'.
    Give a description ..
    In Arch. Path enter as  /.
    Select the radio button 'File store'.
    Save the entry.
    You can view the photo through PA20/PA30/PA40 for each employee.
    For this you have to add an entry in Table T588J for your header
    modification.
    The field type of this entry should be 'PIC'.
    Then you have to run the report RPHDYNPG for generating the screen
    header.
    After the initial configuration as described above,
    for uploading the Photo
    Go to Tcode OAAD -> Create
         Business Object : PREL
         Document Type   : HRICOLFOTO
    Click on Create.
    System will ask for personnel no  and path of Photo
    If you need detailed step by step procedure, do let us know. If you need a useful code to carry out this, do let me know with your email ID

  • Wireless printer sharing- Verizon only has automated help-or any help- for windows. i have a mac.

    i have a new Brother 490CW which instructs me to "push the WiFi protected set up button" on the router. the Verizon supplied router Ultraline series only has on/off power button.  Verizon's help is abysmal.  The automated response sends me back the the help for windows.  can anyone tell me how to set up this printer as wireless?
    thanks.

    Pretty good directions here : http://www.brother-usa.com/support/wireless/Step1.​aspx?ProductID=MFC-490CW
    You'll find the SSID (ESSID) + WEP key on a sticker on the Verizon-supplied router.
    Kevin
    Verizon Telecom
    Fiber Solution Center
    Notice: Content posted by Verizon employees is meant to be informational and does not supercede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • Automation Help

    Hi, Just getting to grips with my nord wave, and have got it working in logic pro 8 just fine as external midi on midi channel1, the problem i have is i can't seem to record any automation in like i normally would on my soft synths.
    Any ideas or help would gratefully be appreciated.
    Many thanks

    You mean recording Midi CC data? Just hit record on the Nordlead track and turn the knobs, that should record the Midi Data into a new Midi region (or merge it with the existing one if you have set it that way in the project's recording preferences). Just make sure to set your Nord to "Local off" otherwise you'll get some Midi feedback if you select your Nord in Logic and then turn the knobs.
    You can also duplicate the track (assigned to the same Audio object) and record your Controller data into the duplicated track, that keeps things more tidy in the Arrange.
    Logic's Automation has got nothing to do with recording Midi CC data, they are totally (well almost) independent from each other.

  • Automator Help - Need script to send text to an existing document

    Hi,
    Automator Newbie Alert. I need help with a basic automator script. I would like to highlight some text, right click and send to an existing document. Adding the text on a new line. Is this possible?
    Thanks

    Sorry, I agree. It will update Style Library and other out of the box ones. Include the library titles in a collection and run the update against them provided these libraries are common across all sites. If not, you will have to first get an extract of
    all such libraries in all sites say in a CSV file and then update the script below to refer to the CSV records.
    Add-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction Stop;
    #List of Libraries to be updated.
    $Libraries = @("Shared Documents","My Document Library");
    $spAssgn = Start-SPAssignment;
    $site = Get-SPSite http://site -AssignmentCollection $spAssgn
    #Walk through each site in the site collection
    $site | Get-SPWeb -Limit ALL -AssignmentCollection $spAssgn |
    ForEach-Object {
    #Enumerate through all document libraries
    $_.Lists|Where{$_.BaseTemplate -eq "DocumentLibrary" -and $Libraries -contains $_.Title}|Foreach-Object{
    #Get the list in this site
    $list = $_;
    #Create a version each time you edit an item in this list (lists)
    #Create major versions (document libraries)
    $list.EnableVersioning = $true
    #Create major and minor (draft) versions (document libraries only)
    $list.EnableMinorVersions = $true
    #Keep the following number of versions (lists)
    #Keep the following number of major versions (document libraries)
    $list.MajorVersionLimit = 7
    #Keep drafts for the following number of approved versions (lists)
    #Keep drafts for the following number of major versions (document libraries)
    $list.MajorWithMinorVersionsLimit = 5
    #Update the list
    $list.Update()
    Stop-SPAssignment $spAssgn;
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Automator help needed

    Hi,
    the question is relevant automator workflow.
    I have a folder with hundred subfolder and in each subfolder there is a file named index.html
    I would like to batch rename all the index.html files with the own subfolder name and then move all of them in a separate folder.
    I have tried several options but the result is always a failure.
    Can some one help?
    Thanks,
    Millone

    Hi,
    OS X can print everything.
    But not by AppleScript without using the GUI Scripting (simulated keyboard and mouse, I use this when there is not any other solution), It's generally slow, not very reliable and the user can not touch the keyboard, mouse or trackpad during the execution of the script..
    It's possible directly in some applications ("Microsoft Word", "Pages"), but Pages does not open HTML files.
    It's possible in Safari by using a virtual printer : https://bitbucket.org/codepoet/cups-pdf-for-mac-os-x/wiki/Home
    AppleScript can change the printer in Safari and create a PDF in the default folder, but it can't change the destination folder.
    There are command line utilities that can be use in an AppleScript, but requires Terminal knowledges to install or make it executables ( http://code.google.com/p/wkhtmltopdf/ or http://plessl.github.com/wkpdf/ ).
    Here is my solution (this AppleScript uses cocoa frameworks in python shell):
    set x to quoted form of POSIX path of (choose folder with prompt "Select the source folder")
    set destFolder to quoted form of POSIX path of (choose folder with prompt "Select the destination folder")
    set pythonScript to "import os, sys, Foundation, AppKit, WebKit
    class AppDelegate (Foundation.NSObject):
      def applicationDidFinishLaunching_(self, aNotification):
         wview = aNotification.object().windows()[0].contentView()
         wview.frameLoadDelegate().openFileIn(wview)
    class WebkitLoad (Foundation.NSObject, WebKit.protocols.WebFrameLoadDelegate):
      def webView_didFailLoadWithError_forFrame_(self, wview,error,frame):
         self.openFileIn(wview)
      def webView_didFailProvisionalLoadWithError_forFrame_(self, wview,error,frame):
         self.openFileIn(wview)
      def openFileIn(self, wview):
         fPath = sys.stdin.readline().rstrip()
         if (fPath == \"\") : AppKit.NSApplication.sharedApplication().terminate_(None)
         tPAth = Foundation.CFStringCreateWithCString(None, fPath, Foundation.kCFStringEncodingUTF8)
         self.filePath = tPAth
         url = Foundation.CFURLCreateWithFileSystemPath(None, tPAth, 0, False)
         wview.window().setContentSize_((400, 200))
         wview.setFrame_(Foundation.NSMakeRect(0,0, 400, 200))
         wview.mainFrame().loadRequest_(Foundation.NSURLRequest.requestWithURL_(url))
         if not wview.mainFrame().provisionalDataSource(): self.openFileIn(wview)
      def webView_didFinishLoadForFrame_(self, wview, frame):
         if (frame == wview.mainFrame()):
           view = frame.frameView().documentView()
           view.window().display()
           rect = view.bounds()
           view.window().setContentSize_(rect.size)
           view.setFrame_(rect)
           dirPath, t = os.path.split(self.filePath)
           fName = os.path.basename(dirPath)
           pdfData = view.dataWithPDFInsideRect_(rect)
           if (pdfData.writeToFile_atomically_(self.destF + fName + \".pdf\", False)): os.remove(self.filePath)
           self.openFileIn(wview)
    app = AppKit.NSApplication.sharedApplication()
    delegate = AppDelegate.alloc().init()
    AppKit.NSApp().setDelegate_(delegate)
    rect = Foundation.NSMakeRect(0,0,100,100)
    wind = AppKit.NSWindow.alloc()
    wind.initWithContentRect_styleMask_backing_defer_ (rect, AppKit.NSBorderlessWindowMask, 2, False)
    wview = WebKit.WebView.alloc()
    wview.initWithFrame_(rect)
    wview.mainFrame().frameView().setAllowsScrolling_(False)
    wview.preferences().setLoadsImagesAutomatically_(True)
    wview.preferences().setShouldPrintBackgrounds_(True)
    wview.setMediaStyle_(\"screen\")
    wind.setContentView_(wview)
    loaddelegate = WebkitLoad.alloc().init()
    loaddelegate.filePath = \"\"
    loaddelegate.destF = Foundation.CFStringCreateWithCString(None, sys.argv[1], Foundation.kCFStringEncodingUTF8)
    wview.setFrameLoadDelegate_(loaddelegate)
    app.run()"
    do shell script "/usr/bin/find " & x & " -type f -name 'index.html' -print | /usr/bin/python -c " & (quoted form of pythonScript) & " " & destFolder
    activate
    display dialog "Done"
    If the script creates the PDF file, the HTML file will be deleted, otherwise the HTML file will remain in the folder.
    Another solution : the "Paparazzi!" application http://derailer.org/paparazzi/ (Donation Ware).
    With this script:
    set x to quoted form of POSIX path of (choose folder with prompt "Select the source folder")
    set destFolder to POSIX path of (choose folder with prompt "Select the destination folder")
    -- get all "index.html" files and his parent name
    set r to do shell script "/usr/bin/find " & x & " -type f -name 'index.html' |/usr/bin/perl -pe 's:.*/(.*?)/.*:$_\\1:'"
    if r is not "" then
        set tFiles to paragraphs of r
        set TC to count tFiles
        repeat with i from 1 to TC by 2
            set tFile to item i of tFiles
            set folderName to item (i + 1) of tFiles
            tell application "Paparazzi!"
                capture tFile delay 0
                repeat while busy
                    delay 0.1
                end repeat
                save as PDF in (destFolder & folderName & ".pdf")
            end tell
            --do shell script "/bin/rm -f " & (quoted form of tFile) & " > /dev/null 2>&1 &"
        end repeat
        quit application "Paparazzi!"
        activate
        display dialog "Done"
    end if
    The HTML files will not be changed, if you want to remove it, uncomment this line :  --do shell script "/bin/rm -f " & (quoted form of tFile) & " > /dev/null 2>&1 &"
    Another solution that I would use:
    The script move the HTML files and it change the relative paths to absolute paths in the HTML files.
    It's not very complicated, but it requires to know the tags of your HTML files.

  • Automator Help With Mouse Movement and Click

    Hi all, thanks in advance for any help you can give me.
    I'm trying to use Automator to go into my Volume Purchasing Program purchase history (in Chrome) and download each redemption code spreadsheet. I will need the automator script to scroll to the bottom of the page and click 'More Purchases', wait for the page to load, and repeat that many many times. (I have a lot of purchases on my account.) Then I would like to write a second script that I will run after all of the purchases are shown that will click 'Download Codes' for each line. I've done this by hand for over 2 hours now and still have a long ways to go. Figured Automator could help me out.
    Any tips on how to accomplish this? I've tried recording my actions but when I play it back, it won't even switch to Chrome.

    I have not found automator to be very good at doing this kind of thing.
    It is theoretically possible to have applescripts imbedded in Automator that will choose from a dropdown menu, but I have also not found that to be too reliable.
    I have had much better luck with Startly - QuicKeys 4 for Mac OS X

  • Automator: help me!

    Hello guys, I have some dates in .docx and I would insert them in iCal. Could I do it with Automator? How? Thanks

    Probably better done with AppleScript.
    However, you're going to have to give more information (an example would help)

  • Ask for confirmation does not prompt - automator help

    Hello everybody,
    I wrote a simple application to mount the Media folder of my NAS. The first step is asking for confirmation as I want to make sure I am at home when my NAS is available and I do not want to continue the script when I am at work for example. Everything works fine when I test it insde automator.
    I then tried to save the script as application and put in my Login items.
    So when I start up I can see the little gear on top turning but there is not pop-up asking for confirmation. The script just get stuck.
    Anybody know what might be the problem? When I run the application normally by clicking on it everything goes as it shoud but if it's in Login items it gets blocked at the first step and never even ask for cofnfirmation
    Thanks a lot

    Hi,
    Is the "Hide" checkbox  is checked in "System preferences" --> Accounts--> "Login items" ?
    If it is checked, uncheck it.
    If it still doesn't work, try this:
    Remove the asking for confirmation action
    Insert the "Run appleScript" action, cut all text in the action
    Copy/paste this text in the action:
    on run
          activate
          display dialog "Do you want to mount the Media folder of my NAS?"
    end run

Maybe you are looking for

  • In IOS 7 how do I set imessage to use a different apple id to my icloud and app store settings as i could in IOS 6

    sice upgrading from IOS 6 to IOS 7 I can longer receive imessage messagaes using my email that is linked to a different apple id than the one i use for my app store purcahses and icloud account. Am I missing a setting or has this option now been remo

  • Cache-flush VM-related performance issue

    Dear forum, I've got a peculiar performance issue going on with the BDB pagecache being flushed to disk. I've managed to reproduce the issue perfectly on three out of three quite different systems that I've tried on, so it is at least quite well-defi

  • Need to pull vendor address information from PO

    Hi Friends.. I am creating a shipper instructions smartform and need to display shippers address in the form.. For that purpose i need to pull the vendor address information from the PO... Can some one tell me the data extraction logic involved here

  • Render pause doesn't relieve the processor

    Ever since I started using AE (from version CS to CS4 now) I remember having that problem: the pause button in the render queue stops rendering but it DOES NOT relieve your processor in anyway nor does it free up any memory consumed. So I wonder what

  • Ipod touch 4th Generation 16 GB

    my ipod is giving very low battery back up and heats very much, got 4 times repalced but same problem. IPOD Touch 4th Genration 16 GB