Simple (you would think) Automator workflow

Hi all,
I have been using Mac for the last 3 years. I have a very good knowledge of computers in general, Unix/Linux in particular but I have never used Automator. I would like to create a very simple application in Automator: when I click on the application icon I want to see a form in which I type the name of a song and as a result I want to see a window that contains all the music files that match that name.
I have no problem in creating this as a unix shell script and I know I can use spotlight (the problem with spotlight is that everytime I have to type the search string, click on Show All, then refine the search by setting Kind=Music etc.)
So I thought it would be a piece of cake to do it in Automator.
I'm using the action "Find Finder Items" with "Name Contains" AND "Kind is Audio". If I run this in automator I get the results I want (if I click on the Results tab). However, when I save it as Application and then double click on it, I get the input window in which I can specify the name of the songs I'm looking for (so far so good) but then nothing appears, the application seems to terminate correctly but I am never presented with the results.
I have tried to add a "Reveal Finder Items" after the first action but that's not what I want as it opens one window for each file that matches my search and each window shows all files, with the one I'm looking for highlighted.
What I need is something similar to spotlight, I want a window to open, showing all files that match. I know I can add more actions and for example copy all files that match into a specific folder then open the folder, but that's a dirty way of solving my problem and a bit of an overkill. Aliases would be slightly better, but still not exactly what I want.
This is driving me crazy, you would think it should be a very easy thing to accomplish with Automator...
Any help would be greatly appreciated.
TIA
/Pippo

thanks, but it still doesn't do what I want.
1) not all my music is in iTunes, so I can't use the Find in iTunes action
2) adding a Choose from List (as you suggested) after the Find Finder Items now shows me a list of all matches, so that is an improvement, thanks, but I stil can't do anything with that. What I need is a Finder window with the result of the search so that I can simply QuickView the song (or copy it or whatever)
3) using the Finder search is similar to using spotlight, it doesn't do what I want, I don't want to have to type each time that I'm only looking for songs.
I just want an Automator workflow that:
1) asks for a file name
2) searches my computer for audio files that match the name
3) shows the result in a window where I can then work with the files.
it really bugs me that I can't make Automator perform such a simple workflow, I'm sure I'm missing some obvious action.
please help
TIA
/pippo

Similar Messages

  • You would think Verizon would Appreciate their customer

    You would think a Verizon Wireless being a leader in a competitive market place would put customers first, fulfilling their commitments and especially respect for long time customers time.
    In a nutshell.   I notice my December bill is about $30 more than previous months.  So I call customer service on 12/6/12 and talk to Ron,  he goes on to tell me that a promotion I was on expired. I asked him to show me where I would know that, he made a lot excuses and kept me on hold for a long time and never came with anything.  Then he said we extend your two promotion, wait let me put it in the system. Then is reviewing it and says he is extending the promotion for one year and I said you said two years before.   He then said I am going to transfer you over to the promotion department who will fulfill the request .  That’s when he transferred me to Ron, rep#  who told me he can’t do anything and don’t know why the Ron told me he could do that since he is not even in the department that understands the promotions.
    What gives hear?    I want Verizon Wireless to expend the promotion on my account for two years as YOUR REP COMMITTED and adjust all my bills where the promotion dropped off without wasting another hour time.  This would be a good place for the CEO to listen to the recorded conversations to see what is really happening in the trenches. They should also looked how something like this almost put Home Depot out of business.   We all do have choices and the I hope Verizon and the competitors like ATT Wireless, Tmobile and Sprint take note of this.
    I expect a prompt reply and action immediately.  Hello social media……..
    >Post edited to remove employee ID numbers<
    Message was edited by: Verizon Moderator

    Verizon is huge.  They have a lot of departments.  I call them all the time to ask about my plan and bill.
    The rep you spoke to should have sent you to the billing department or walked you through your bill for that month. A detailed version is on this website, it shows all phone numbers called and when.  I use the Verizon app to check my bill on the reg.
    I left Verizon once and tried a lot of other services (t-mobile, metro, simple, pageplus).  Ever call 611 while on metro? I did.  I'm back on Verizon, nough said.
    I think he sent you to the promotions/loyalty department probably because you were probably "angry".  That department has offers and authority to make customers happy in some cases.  They have authority that customers service does not have.
    Bottom line, "Ron" was trying to help you out and is human.

  • I do not like inbox search and want to use google but i cannot find any way to remove inbox--in fact when i search for it to remove you would think it is not there--but it is and i cant get it off. anyone know how?

    Question
    i do not like inbox search and want to use google but i cannot find any way to remove inbox--in fact when i search for it to remove you would think it is not there--but it is and i cant get it off. anyone know how? edit
    Details

    What you should see on a restart is a black screen followed by a screen with the Apple (at which point you let go of the two buttons). There is no progress bar, just the Apple. The Apple will stay there for 15 seconds or so, then the "Slide to Unlock" screen will redisplay.
    But, I don't think the reset will fix it for you. I just tested it, and it comes back on with the zoom still on. The only way to get it to zoom out is the tapping with the 3 fingers.
    I said to double-tap....MY BAD! You need to triple-tap with three fingers!
    Try that and see if it will display the zoom menu for you, or if it will zoom back out.
    Cheers,
    GB

  • HT4623 This really ***** that they sent out and update to the iPhone ISO6 and I can't send or receive pics! Being that its apple you would think they would know better than to send out a bad update like this! I'm paying for a service and I can even use it

    This really ***** that they sent out and update to the iPhone ISO6 and I can't send or receive pics! Being that its apple you would think they would know better than to send out a bad update like this! I'm paying for a service and I can even use now!!! I'm very upset! Think about canceling my iPhone 5 order! This is terrible!

    Wahhhhhhhhhh! Wahhhhhhhhhh!
    Are you over your little tantrum now?  Do you want help you would like to continue to act like a toddler?
    If you want help, try telling us what happens when trying to send pics.  Any errors?
    If you want to whine... go somewhere else.

  • HT2736 I do not understand why the simplest of tasks do not appear next to each other in a list of links. You would think tht "Reedem" an item would be right next to "Gift" an item, burt for some reason that just does not make sense to Apple.

    I never did find the "Gift Certificate" link even thoug support said where it "should" be, and "No" Nowhere near where you would reedem them.

    mojaleski wrote:
    When I want to read something in e-mail or which I downloaded and want the font large enough for me to see and expand with my fingers...the content then doesn't resize the shape to fit on the screen and I have to keep going from left to right to left back and forth in order to read it. Seems like it should automatically become an elongated column to fit the viewing area with just less words per line. PLEASE fix this so I can enjoy reading with larger type size to accomodate my eyesight.
    Double tap the column to make it size to fit. It will make it fit the width but not make the font larger by putting less word on a line.
    Hard to make corrections as it is hit or miss to get in between letters in a word.
    Tap and hold to get the magnifying glass or better still get the iPad User Guide which is free in iBooks - it has pictures and will save me having to type so many words to try and answer your questions
    Is there no way to scroll up or down deleting as you go...so far all I can do is delete one word/line at a time, ie in forwarding e-mail and trying to get rid of the long list of other people's contacts.
    Yes, I'm replying to this on my iPad - again, much better described in the User Guide.
    Thank you
    You're welcome. But please do have a look at the iPad User Guide - it will make things clearer and you may even find something new that you didn't already know.
    Regards,
    Colin R.

  • All my books inc pdfs gone.  ibooks keeps crashing.  You would think that Apple was fragmentized as it seems to be.

    What happens now, doesn't seem to be an update for ibooks.  Are all my books in the cloud so when you ever fix it I can get them that way?
    Updated to Yosemite on my mac and my iPad is os 8.2

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • How To Reset a Form (Not as easy as you would think)?

    Hi All,
    I'm unable to get a form to reset its value when using a commandButton that has immediate set to true.
    I've got a simple little jsf page that has a form and a datatable. The form is bound to an object in a class I'm using to handle the view, the datatable is bound to a dataModel from the same handler class. The functionality I have is quite simple:
    a user clicks on a commandLink in a row of the datatable
    the corresponding object is loaded into a "currentObject" property of the handler class
    the form fields are mapped to the "currentObject" property of the handler.
    The user may update or reset the form.
    The goal is to have the reset commandButton set the "currentObject" property of the handler class to null (or a new, unpopulated object) so that the fields of the form are set to blank again on render. This works fine as long as I don't use immediate="true". When I do use the immediate=true attribute, the "currentObject" variable is, indeed, set to null, but the form still renders with the old "currentObject" values in it!!
    I have to use immediate="true" because there is validation going on for the form that I want to avoid.
    If I use a commandButton type="reset", the fields are not cleared because the reset functionality of the browser (ie6 and firefox) resets the fields to the values they were at the time the form was displayed--the very values I wish to totally remove!
    This seems like such a common, simple thing to do. What am I missing?
    Thanks,
    John

    I have a similiar problem, and maybe putting buttons in a different form is the answer:
    I have a page with a selectOneListbox on the left, and a set of inputs on the right. The listbox represents the available beans to select, and the set of inputs contains all the editable fields for the beans. Basically this is just a bean editor.
    There is a command Button beneath the listbox for viewing a bean. When this button is clicked, the set of inputs are populated with that bean's data.
    There is also a command button beneath the set of inputs that allows the user to save their changes.
    All of these elements are in the same form tag.
    JSF jsp:
    <f:view>
      <h:form>
        <h:panelGrid columns="2">
          <h:panelGrid columns="2">
            <h:selectOneListbox size="10" value="#{editor.selectedBean}" >
              <f: selectItems value="#{editor.beanSelectItemCollection}" />
            </h:selectOneListbox>
            <h:commandButton actionListener="#{editor.view}" value="View" />
          </h:panelGrid>
          <h:panelGrid  columns="2">
            <h:inputText value="#{editor.editingBean.property}" />
            <h:commandButton actionListener="#{editor.save}" value="Save" />
          </h:panelGrid>
        </h:panelGrid>
      </h:form>
    </f:view>Editor bean:
    public class Editor {
      // use a blank bean as default
      // so the editor is populated with blanks
      private Bean editingBean = new Bean();
      // don't initially select any beans
      private Bean selectedBean = null;
      private Map beans = new HashMap();
      public Editor() {
      public void save(ActionEvent e) {
        beans.put(editingBean.getId(), editingBean);
      public void view (ActionEvent e) {
        editingBean = (Bean)selectedBean.clone();
      // getters and setters
      public Bean getEditingBean() {
        return editingBean;
      public void setEditingBean(Bean b) {
        editingBean = b;
      public Bean getSelectedBean() {
        return selectedBean;
      public void setSelectedBean(Bean b) {
        selectedBean = b;
      // before entering the JSP for this bean, this method should be called
      // to populate the editor
      public void setBeans(Collection c) {
        beans.clear();
        for (Iterator i = c.iterator(); i.hasNext(); ) {
          Bean b = (Bean)i.next();
          beans.put(b.getId(), b);
      public Collection getBeans() {
        return beans.values();
      public Collection getBeanSelectItemCollection() {
        Collection items = new ArrayList(beans.size());
        for (Iterator i = beans.values().iterator(); i.hasNext(); ) {
          items.add(new SelectItem(bean, bean.getProperty());
        return items;
    }Here comes the problem:
    If I want to set fields as required or use any of the JSF validation functionality, my view usecase breaks. This happens if the user views bean1 changes some data to be invalid/not existant and then tries to view bean2. If they don't click the save button, validation/required should not be checked. My initial thought is that I should be able to set my view button and view listbox to be immediate. This does properly update the view listbox, but then if I change the values in the backing bean for the set of inputs, those changes are never updated to the screen, and the set of inputs is still populated with bean1's data even though the backing bean for all those inputs is now bean2.
    It appears that the view never requeries the backing bean when responseComplete() is called (which happens with an immediate command). Is this a bug in faces, or is this how the spec says it is supposed to behave? If this is the correct behavior what is a better practice to acheieve my usecase?
    My current workaround is to ignore faces validation and manually validate when the user clicks the save command, and then manually set the messages for the bad components. Obviously, this is not an ideal solution, but I was hoping that this faces behavior was incorrect and thus my solution would be temporary.
    I'm not tied to a specific solution, but I am discouraged that Adam says in order to reset the set of inputs, we have to manually update the model during the apply request values phase.

  • Downloaded iOS 8.2 on ipad3 and won't respond to code or turn on turn off button. Can't sync with my iMac either? You would think after iOS 8.1 apple would learn their lesson.

    Downloaded iOS 8.2 and now won't respond to code or turn on and off button. If pressed Siri comes on and says connect to internet. iMac can't connect to iPad either? With ios8.1 fiasco apple would not release another problem.

    do not download ios 8.2 it totally destroyed my iPad 2 , and hour after the update it gave me a black screen with the date and the battery status and that's it it wont shutdown itune will not reset cause of the find my ipad
    DO NOT UPDATE to 8.2

  • Automator Workflow as Finder Plug In Doesn't Seem to Work Correctly

    Has anyone noticed that if you create an Automator Workflow as a Finder Plug-in in Leopard it does not seem to work correctly or at all?
    I have a two action Workflow.
    1. Get Selected Finder Items
    2. Import Files into iPhoto
    When run inside Automator, it works fine. If I save as Finder Plug-in and use it in the Finder, it gets to the second action and dies.
    I've seen other posts about Finder Plug-in weirdness and was wondering if this was another symptom.

    Yes, I found this out today. Any Finder Workflow that I start with "Get Selected Finder Items" does not work. Hope they fix this soon ...that's an important one to work.

  • Hey is the new update going to let people facetime more than one person like 3-way? you'd think apple would have done this by now

    hey is the new update going to let people facetime more than one person like 3-way? you'd think apple would have done this by now

    If there is we will not learn about until the update is released. Speculation about such is not permitted in the forums.

  • How do you assign a keyboard shortcut to an Automator workflow?

    This has to be an incredibly basic question, but my searches haven't turned up anything.
    I created an Automator workflow to "Create new email message".
    I'd like to be able to launch this with a keyboard shortcut.
    In System Preferences, I can see how to assign keyboard shortcuts to menu items, but can't figure how how/if you can do this for automator shortcuts.
    Thanks.

    Found in a thread about Automator elsewhere (https://discussions.apple.com/message/19043068#19043068):
    Assign a keyboard shortcut in System Preferences -> Keyboard -> Keyboard Shortcut -> Services

  • How to apply multiple automator workflows to one file

    Hi everyone,
    I've set up a few workflow applications to automate the process of making packshots from PDF files. The way those roughly work is they create a temporary copy in a folder, open a Photoshop droplet that executes all the actions on the file, and then save the finished product in a "finished" folder.
    However, we frequently need to deliver multiple packshots made from the same file. I was asked to make one automator app that allowed us to drop the PDF version on it, resulting in the multiple types of packshots in the "finished" folder, together with the original PDF.
    The way I have this set up right now is as follows:
    1) Copy the original PDF file to the "finished" folder
    2) Execute the first automator app
    3) Execute the second automator app
    This seems simple enough, and does work in 10.6.8. When I try it on a different computer in our studio though, with 10.7 installed, I get various errors:
    - Sometimes it says an error occured within one of the automator apps, while the app works fine when running it seperately (on all computers).
    - Sometimes it says something like "An error occurred while converting the data" when moving on from the first application to the second application
    - Sometimes I'll get an error message in the log, saying:
    *** -[_NSArrayl objectAtIndex:]: index 0 beyond bounds for empty array
    What I got from this is that it's actually not getting the right input it requires (or not getting any input, since it's an empty array). However, the previous task is set to "return the task input" (our systems are Dutch so excuse me for any discrepancies in translations please), and the resulting output that I get seems to be what I want the next automator application to use. Below is a screenshot of the error message:
    What I've tried:
    - I read somewhere that the newer versions of Automator require the action "Retrieve selected finder items" between them. I've tried using this in various ways (between all other actions/tasks, only before the second application to be run and before both applications to be run), but with no success. The problem I have with these is that, during the applications, it moves the files around, thus apparently selecting those folders as well.
    - Building an entirely new workflow on the newer system
    - Using "Start application" instead of "Execute Automator workflow". This results in Automator saying that it did execute the workflow while nothing happened.
    - Using "Ignore input" for the second application. This also results in Automator saying that it executed the workflow while nothing happened.
    So right now, I'm pretty stumped as to how to get this combination of apps to work in 10.7. Any solutions or workarounds are most welcome.
    Thanks in advance!

    Yes, angelanna. You can merge or split your video file via FCP sequence.
    ahaah, maybe I think angelanna would like to get the resulting file with MTS format because he mentioned “No need to be compressed”. Are you asking for this, angelanna?
    If so, a simple MTS files managing and editing tool  is needed. Maybe you can have a try the Mac version of Aunsoft Final Mate for managing HD camcorder footages. I just downloaded its free trial version and it offers a simple way of garping footages directly  from camcorder. And also it provides a attractive feature to join flawlessly and split accurately native MTS files for video file output with original MTS format.
    Maybe this is the tool cwhich an help you out, angelanna.
    Enjoy your video.

  • Running an automator workflow w/o opening automator

    Is it possible to run an automator workflow - (check addressbook for birthdays - then send a card) once a day without having to remember to open automator everyday (the whole point is I forget to do this in the first place, so I'm hoping automator can just take care of it). but I don't want to have to leave automator open all the time... I think I read something about using applescripts, but I havent played with them at all...
    Thanks

    Hmm, your idea sounds about right. If you created the birthday event in iCal yourself (i.e. it's not the Birthday calendar iCal provides from your Address Book), then you can add an alarm to it. In that case, you have some nice options and effects.
    Since you would be adding the alarm to the birthday event, then the Automator workflow won't run every day and will only run when the birthday occurs. As for options, you can set the alarm for the event to activate at a specific time in reference to the event, e.g. the day before or perhaps around noon. (That is somewhat dependent on whether you made the event an all-day event or for a certain time, but it works either way and is pretty self evident.) You could also have it automatically occur a day late or even a week late.
    As such, you might consider making the workflow be more specific. You could create a workflow specifically for that birthday, and in that case you'd just specify a person from your Address Book instead of searching it for birthdays. Just depends on how you want to approach it. Regardless, saving the workflow as plug-in in Automator will be the easy way to refer to it as an iCal alarm.
    You mentioned iCal popping up reminders and that's an example of what an alarm can do if you set it that way, so you're probably familiar with them. However, you won't see that when you set the alarm to open a file (as in this case) unless you set a second alarm for the event to show a reminder. To add more alarms to the same event in iCal, you can click on the name "alarm" in the info drawer and it will give you a menu to add another alarm. You can also remove extra alarms in the same way. Wasn't sure if you knew that already.

  • Old Toad's automator workflow to backup Library6.iPhoto database

    Dear Old Toad,
    I just today downloaded your workflow to backup the iPhoto database file, and am having problems making it work.
    When I run it, either from the dock or the script menu, it launches Automator but then closes without doing anything. I don't get a confirmation screen, and no copy of the database is created.
    So I opened it in Automator to see if editing it would help, even though my library is already named iPhoto Library and stored in user/pictures. When I dragged it onto the Automator window, there was only 1 action (Get Specified Finder Items) instead of the 4 that show up in the ReadMe. When I dragged it onto the Automator app to open it, I got nothing.
    I downloaded it via Firefox 3.0.1 and got a 1.1MB zip, and I tried downloading it twice in case it had corrupted in the download, but no change with the second try. Downloaded from here:
    http://web.mac.com/toad.hall/ToadsCellar/ToadsCellar.html
    Running OS 10.4.11, iPhoto 7.1.5, on a G4.
    Something else I can try?
    Thanks,
    Daiya
    Message was edited by: Daiya

    Yes. Run the application like you would use the Save command in other applications, often. Running it again will overwrite the current backup copy with a new backup that will include all changes you've made to your library, new pictures, deletions, slideshows, books, etc.
    I suggested keeping it in the dock so you can quickly run it after any changes you've made to the library. Being in the Dock makes it more convenient than having to go into the Application folder and launching it from there.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Automator Workflow to export Numbers documents in PDF format

    Does anyone know of any automator workflow to export Numbers documents in PDF format? I tried this program: Convert to PDF 1.2
    http://www.apple.com/downloads/macosx/automator/converttopdf_mauriziominelli.htm l
    But it gives an error.

    Reading carefully is often useful.
    The description of the tool which you tried clearly states :
    *About Convert to PDF*
    *_Convert all of your text files to PDF_. This action uses the underlying cups printing system ability to convert files, it’s a simple front end to the command line tool cupsfilter.*
    As far as I know, but maybe you don't, *_a Numbers document isn't a text file._*
    I already posted a script exporting Numbers documents as PDF.
    Here is an enhanced version which apply only to Numbers '09 (or maybe higher) :
    --[SCRIPT save2Numbers&PDF.app]
    Enregistrer le script en tant que Script : save2Numbers&PDF.scpt
    déplacer le fichier créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    aller au menu Scripts , choisir Numbers puis choisir save2Numbers&PDF
    Le script enregistre le document au format natif de Numbers
    et l'enregistre dans un fichier PDF.
    S'il existe déjà un PDF homonyme, il est renommé en lui ajoutant une chaîne
    construite sur sa date de modification.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    +++++++
    Save the script
    as a Script: save2Numbers&PDF.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    go to the Scripts Menu, choose Numbers, then choose save2Numbers&PDF
    The script saves the document in the native Numbers format and saves it in a .pdf file
    If such a .pdf already exists, it is renamed with a stamp matching its modification date.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox
    --=====
    Yvan KOENIG (VALLAURIS, France)
    modifié 2010/08/17
    property closeIt : true
    (* true = closes the saved document
    false = doesn't close it *)
    property theApp : "Numbers"
    property theExt : "numbers"
    --=====
    on run
    tell application theApp
    activate
    set le_document to front document
    if modified of le_document then save le_document
    delay 0.2
    set thePath to path of document 1
    end tell -- theapp
    set {xPath, xExt} to my saveAs(thePath)
    if closeIt then tell application theApp to close document 1 saving no
    end run
    --=====
    on saveAs(p)
    local extension_export, type_export, nomde_loriginal, dossierde_loriginal, nomde_lexport, cheminde_lexport
    set {extension_export, type_export} to {"pdf", "LSDocumentTypePDF"}
    set {nomde_loriginal, dossierde_loriginal} to my quelNomEtDossier(p)
    if nomde_loriginal ends with theExt then
    • replace the original extension by the xExt one *)
    set nomde_lexport to (text 1 thru -(1 + (length of theExt)) of nomde_loriginal) & extension_export
    else
    • add the xExt extension name *)
    set nomde_lexport to nomde_loriginal & "." & extension_export
    end if
    set cheminde_lexport to dossierde_loriginal & nomde_lexport
    • CAUTION, When saving, Numbers doesn't take care of an existing document.
    It replaces it by the new one. *)
    tell application "System Events"
    if exists (file cheminde_lexport) then
    Playing safety, we rename the existing file by inserting a modificationdatetime stamp *)
    set name of file cheminde_lexport to (text 1 thru -(2 + (length of extension_export)) of nomde_lexport) & my horoDateur(modification date of file cheminde_lexport) & "." & extension_export
    end if
    end tell -- System Events
    • save as type_export document *)
    tell application "Numbers" to save document nomde_loriginal as type_export in cheminde_lexport
    return {cheminde_lexport, extension_export}
    end saveAs
    -- =====
    on quelNomEtDossier(f)
    local nom, dossier
    tell application "System Events" to tell file (f as Unicode text)
    set nom to name (* Unicode text *)
    set dossier to path of container (* Unicode HFS path *)
    end tell -- to System Events
    return {nom, dossier}
    end quelNomEtDossier
    --=====
    • Build a stamp from the modification date_time
    on horoDateur(datedemodification)
    local les_secondes
    set les_secondes to time of datedemodification
    return ("_" & year of datedemodification & text -2 thru -1 of ("0" & (month of datedemodification as integer)) & text -2 thru -1 of ("0" & day of datedemodification) & "_" & text -2 thru -1 of ("0" & les_secondes div 3600) & text -2 thru -1 of ("0" & (les_secondes mod 3600) div 60) & text -2 thru -1 of ("0" & les_secondes mod 60))
    (* Here, the stamp is "YYYYMMDDhhmmss" *)
    end horoDateur
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) mardi 17 août 2010 18:16:27

Maybe you are looking for

  • Gaps every 40 seconds when recording from cassette or records

    Since purchasing Audition 3.0 some months ago, whenever recording from a cassette or record a blank space is inserted every 40 seconds into the recording. This gap is quite audible when playing the recording back. I tried to contact support and twice

  • How to use Google Fonts in email?

    Hi, I would like to know how I use google fonts in my emails. We're using the ubuntu font and I see the fonts on my computer but after sending an email the fonts change. I'm using the addon SmartTemplate4. Hope any f you know the answer! Thanks in ad

  • SQL*Plus login problems

    Hi. I am just reading through my PL/SQL 101 book and exam guide for preparation for the 1Z0-007 exam. I have downloaded Oracle 9i and I cannot login to SQL+ at all. I want to use my database as a stand alone system for the time being until I can netw

  • I want to buy an iphone 5 from an Apple store in Japan. Can I use my Australian SIM?

    My understanding is I am able to buy SIM free iphones from Apple stores here in Japan. I am currently living here and have my Australian iphone 4s with all of my contacts and apps connected through this number. Besides the fact I know I need a nano s

  • GRC AC 5.3 - RAR Parameters

    Hello, I have the following 8 queries related to GRC AC 5.3 RAR parameters When I go into RAR -> Configuration -> Miscellaneous, I see the following entries. Maximum Display Lines For Print Preview  This parameter specifies the maximum number of line