How can I do this with automator, shouldent be to hard right?

I am not new to the programming world but new to apple, however, i wanted to know if this was possible or not ;
Id like to run a script that will ultimatly do this
1)Run Safari
2) Open brokerage website
3) Log In (using key chain or by apple script inputing the user name and password or asking me for dialog box
4)click a certain link somewhere on the page that will pop up the streaming quotes section
5) minimize all safari windows expect the one that is streaming the quotes
6) keep clicking a link that refreshes every half hour the account page so it dosent log me out
should be doable right? Any tips for a first time user for apple script? I read some of what it can do and how its done, (iv programmed with C++ and visual basic) and apple script seems to be really simple, however I dont want to under or over estimate its abbilites.
Any input MUCH appricated.

m_oody,
Good, and I can see that we are thinking along the same lines with regards to other applications for it.
I am a little confused as to why you had to comment out the "on run". I set this script up so that you can already run it as an AppleScript or an Automator action. The "on run" and "end run" pairing are assumed in simple AppleScripts that only have a single routine but, in my opinion, should really be included for good programming style.
Run as AppleScript
Compile, save and run as it is without commenting out anything. You can add further calls to activities, like you mentioned, in the main "on run" routine, and the required GUI commands with other subroutines.
Within the main "on run" routine is where you could call subroutines that would open up other windows or tabs with other sites using Safari, other browsers, and other net applications such as RSS readers, Internet radio, etc.
Run as Automator action
You are right that there are currently a limited selection of actions available with which to build a workflow. However, Apple did leave enough flexibility through actions with calls to AppleScript ("Run AppleScript"), a Unix Shell script ("Run Shell Script"), run other Automator workflows ("Run Workflow")and, Web Services ("Run Web Service") to provide extensibility to the application. Of course there is also a tremendous flexibility within Unix itself with all the scripting and full programming languages that can be run through the Shell.
Long winded today!
Here is what needs to be done to run this as an Automator action.
1) Open Automator and look for an action called "Run AppleScript" which is within the "Automator" category of actions.
2) Drag it over to the workflow assembly line. You will notice it contains the core of an AppleScript main routine.
3) Normally when you are building these routines you build them within this environment and test them there and only replace the text labelled "(* Your script goes here *)". However, in our case it was build in the AppleScript Script Editor environment and because the Properties section must go at the top we need to modify its structure for it to run properly and fit into a workflow that consists of more than this one action. So here is what you need to do:
a) Go to Script Editor and either delete the line entirely or comment out the line by putting the "--" characters in front of the "on run {}" line. I usually just comment the line out so that if I need to work with it in AppleScript again it is easy to do.
b) Remove the comment characters from "on run {input,parameters}" and "return input". These lines are required to accept and pass on info within the workflow.
c) Select all of the text in the script and copy it to the clipboard.
d) Move over to Automator, select all of the text in the "Run AppleScript" action, and paste in the new script.
It should now compile if you press the hammer icon and run if you press either the green arrow icon on the action or the overall workflow run icon.
You now have the option of saving it as:
1) Basic Workflow, requiring Automator to be running
2) Application, free of Automator running
3) Various plug-ins including one for iCal alarms which you could use for your automated morning download. Search for plug-ins in the Help of Automator for more information.
Once it is saved as an alarm you just need to set up a schedule for running it in iCal, attach the alarm by using the "Open File" alarm, and watch the action.
The AppleScript can also be run with an alarm in iCal. In that case you attach the alarm using the "Run Script" alarm.
PowerBook 12" Mac OS X (10.4.6)

Similar Messages

  • Hi, Unfortunately my Laptop has died (which had my iTunes on it). I want to ensure my music on my iPhone 5 and my iPad Air are backed up. Also, I want to sort my music in the way I used to with iTunes. How can I do this with just these two devices?

    Hi, Unfortunately my Laptop has died (which had my iTunes on it). I want to ensure my music on my iPhone 5 and my iPad Air are backed up. Also, I want to sort my music in the way I used to with iTunes. How can I do this with just these two devices, i.e. NO Computer? Can the iCloud help? Why can't I download iTunes (i.e. my library as I saw it on the computer) to these devices? Thanks to anyone who can help me here.

    You can change the email address of one's appleID...
    I'd recommend changing moms email to yours to get a good backup on the Mac
    Then switch mom's back to hers
    Then change your account to the same email you used.
    I've done something similar when I needed to update my Apple account (one ID changing email addresses and phone)

  • I need to change a photo into a video file in order to post on youtube. How can I do this with my mac?

    I need to change a photo into a video file in order to post in youtube. How can I do this with my mac mini?

    When I go to import, the choices are :
    movies
    camera archive
    imovie for IOS
    imovie for HD
    It refuses to import a photo with any of these choices, which is located on the desktop or in a folder. It's a regular .jpg
    There are instructions to drag it. I put it there, and it bounces right back. The photo will not stay.
    I just need this one picture to go on so I can post a meditation on youtube.  It doesn't come from a camera.

  • Trying to install Abode CS4 design standard Upgrade version. How can I install this with out having to install all my previous versions?  Thanks Mario

    Trying to install Abode CS4 design standard Upgrade version.
    How can I install this with out having to install all my previous versions?
    Thanks
    Mario

    You simply install it and input the required serials, including one of a previous product when asked for it.
    Download CS4 products
    Mylenium

  • I HAVE OS X 10.6.4, BUT NEED TO RUN SOFTWARE THAT REQUIRES POWERPC.  HOW CAN I DO THIS WITH LION?

    I HAVE OS X 10.7.4 (Lion), BUT I NEED TO RUN SOFTWARE THAT REQUIRES POWERPC.  HOW CAN I DO THIS WITH LION?

    If you are running Lion then you cannot run PPC software. Your computer would have to be capable of being booted by Snow Leopard in order to run PPC software. Or consider upgrading your PPC software or buying replacement software that works with Lion.
    What specific Mac model do you have?

  • New iPad Air 2 with a persisting blank screen. Support site suggests a restore after turning off 'Find my iPhone' on the device. How can I do this with a blank screen?

    New iPad Air 2 (December 2014) with a persisting blank screen. Support site suggests a restore after turning off 'Find my iPhone' on the device. How can I do this with a blank screen?

    Thanks JimHdk,
    After a little more searching across various online resources I was able to cure it by holding down the home button and the on/off button for 10 seconds to restart it and it all came back with a clear screen.

  • I am using Toast 11 to burn dvd's. With FCP10.1.3  I could go into the FCP shared folder grab the encoded .m2v file and drag it into Toast 11 and author dvd and burn.  How can you do this with FCP 10.1.4?

    I am using Toast 11 to burn dvd's. With FCP10.1.3  I used to go into the FCP shared folder grab the encoded .m2v file and drag it into Toast 11 and author dvd and burn.  How can you do this with FCP 10.1.4? 

    BenB it creates a disc image only and it's not in .m2v. I think it saved it as an Apple Pro Res 422 format instead. The disc image file format will not allow
    Toast 11 to create menus etc.  Thanks for your help.

  • I need to reload (resend information) multiple tabs in less than a second (I am playing Travian), but how can I do this with firefox for mac?

    When I try to send multiple attacks within a second playing Travian, it is impossible because it is too slow to confirm "resend information" on each tab, and it also takes too long to move from one tab to another. I've tried changing all the possible settings I can think of, but nothing seems to work.. This works fine if you have windows or linux, so how can I make this work with my mac, or do I have to get a pc just for that :( Thank you ever so much for helping me.. I've spent countless hours on this and I am just about to give up playing Travian because of this one stupid little thing :(

    It is working for me if I open a second Firefox instance with its own profile by starting Firefox with the -no-remote command line switch.
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    * http://kb.mozillazine.org/Bypassing_the_Profile_Manager
    Use the -no-remote command line switch to open another Firefox instance with its own profile and to run different Firefox instances simultaneously.
    * http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile

  • After updating iPod to iOS 5.0, cannot get into Game Center with previous nickname. It says my nickname is already in use by another account.  Why did this happen and how can I fix this with my old nickname and its data?

    After updating iPod Touch to iOs 5.0, I cannot get into Game Center with previous nickname.  The screen says my nickname is already in use by another account.  Why did this happen and how can I fix this so I can still use the same nickname?

    Did you haveany problem with updating to iOS 5? It soundsl like the update did not correctly restore from the backup that iTunes mnakes as the fisr step of the update.

  • My 4th Generation iPod Touch takes 480 x 640 pictures?! How can I up this resolution? It should be higher, right?

    Hello there!
    This vacation I made pictures with my iPod touch (back-camera) but somehow the pixels I get on the pictures when I sync with my MacBook Pro are 480 x 640?! How can I up this resolution (either on the camera, or on the already taken pictures)? It should be higher, right?
    Thank you in advance for your reply!
    Pieter Kroon

    Ehmm... okay, after reviewing I understand what is going on. Some of the pictures are taken by the front facing camera and the back-facing camera is just not very good... It seems everything is good I am sorry for asking this stupid question, I should've investigated things further.
    Anyway, thank you very much for your reply.

  • Ipod is locked out and it tells me to try again  in 23,204,020 mins how can i bypass this and reset it  i tried hard resting it and it does not work

    ipod is locked out and it tells me to try again in 23,204,020 mins how can i bypass this and reset it tried hard resting it and it does not work

    Read this.

  • How can I implement this with CWGraph control?

    Who can help me,i meet a difficult problem:
    Now i have a form(historygraph.frm), four DTPicker controls(DTPicker1,DTPicker2,DTPicker3,DTPicker4), and three command control(cmdFind,cmdNextPage,cmdPreviousPage).
    My database is SQL SERVER 2000,
    In my table(mytable),I have two fields:
    (1)savetime(datetime) (2)value(integer)
    So DTPicker1 and DTPicker2 stand for the time that I want begin to find in the database table savetime field. DTPicker3 and DTPicker4 stand for the time that I want end to find in the database table savetime field.
    DTPicker1.Format = dtpShortDate
    DTPicker2.Format = dtpTime
    DTPicker3.Format = dtpShortDate
    DTPicker4.Format = dtpTime
    When the user select the time query range.(from begin time to end time)
    and press the command(cmdFind),I need these data value to display with the CWGraph control.Meanwhile,I must display the data savetime on X Axes,and the data value on Y Axes.
    Because the amounts of data is very large,So I must display the Graph on limited amount,When the chartlength is full,user can press the Next Page command,also user can press the Previous Page command to look the last page data chart. The whole interval of the pages can set 1 hour or 3 hour and so on.
    For Example:
    data1 savetime:09:00:03,data1 value:1000
    data2 savetime:09:00:08,data2 value:1020
    data3 savetime:09:00:20,data3 value:2000
    On the X Axes,display in order: 09:00:03 09:00:08 09:00:20 ...
    I have complete the code that get the savetime and value when user select the datetime query range,But I can't display it with chart,and implement the function as I describe above.
    Who can give me help ,how to use CWGraph control,How to set it,I have see the sample but can not solute this problem.
    Please Help me,otherwhise My boss will ......
    Thanks.

    Okay, first you will want to use the PlotXvsY method of CWGraph. This method plots a 1D or 2D array of Y data against a 1D array of X data.
    Place a CWGraph on your form. By default its name will be CWGraph1. You can change the format X axis by right-clicking on the graph and selecting Properties. On the Format tab, you will see that time is one of the Built-in format styles. Select the appropriate format string and press Apply. Anywhere you want the graph to plot your data you can place the command:
    CWGraph1.PlotXvsY savetime, value
    To view help on this method, you can type in the above command, place the cursor somewhere in the method call and press F1.
    Now, in terms of displaying only part of the data, I recommend deciding the maximum number of data points you want displayed at a time. You can then create arrays of the desired subsets of times and values to display, and use these subsets in your call to PlotXvsY. If you create a Sub with arguments for selecting the subsets of data, the Sub could be called from the callbacks of your command buttons.
    Regards,
    Eric

  • Control Value:Set [Variant] Method - how can i use this with strict type definitions?

    I want to pass default values to a strict type definition from a mainVI to a subVI, but I'm not allowed to use the "Control Valueet [Variant] Method" invoke node to do it.  How else can I achieve this?
    thanks,
    Z

    Hi Z,
    If you use strict type defintion references you can use Call by reference Node. Depending on the connector pane for the subvi which is referenced you just wire your data to the corresponding terminals. I attach an easy example which dynamically opens and writes to an arbitary number of a template.
    Hope it helps
    Pelle S
    District Sales Manager
    National Instruments Sweden
    Attachments:
    Call by reference node.zip ‏20 KB

  • Mac Mini set-up - how can I do this with a new wireless keyboard

    Hi,
    I have just bought a mac mini and a mac wireless keyboard. Unfortunately, it appears that to set up the mac mini I need to register a username etc which requires a keyboard. However, to set-up the keyboard I need to get past the set-up screen!
    Can anyone suggest how I might solve this problem?
    Thanks!

    Hi, try this...
    http://support.apple.com/kb/TS4456

  • In Safari I had an icon on the toolbar "open in dashboard" so a selected part of a webpage would open in my macbook-dashboard. How can I do this with Firefox?

    The "open in dashboard" button in Safari allows me to make my own widget for the macbook dashboard. The widgets I am using are parts of webpages that would update regularly. Is there an equivalent in Firefox?

    Another shortcut for maximizing the currently active window is to press Alt+Spacebar followed by x for maximize.
    A past thread on this problem: [https://support.mozilla.org/questions/980358 opens off monitor screen].
    Do you have multiple monitors by any chance? If so, can you set the monitor where you want Firefox to "primary"?
    If this problem persists -- in other words, if Firefox stops saving the new position of its window(s) correctly between sessions -- the settings file that stores the last window position may be corrupted. You could try removing that file and let Firefox use its default sizing and positioning. Note: this also will default some toolbar customizations.
    Here's how:
    Open your current Firefox settings (AKA Firefox profile) folder using either
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    In the first table on the page, click the "Show Folder" button to open a new window showing your currently active settings files.
    Leaving that window open, switch back to Firefox and Exit, either:
    * "3-bar" menu button > "power" button
    * (menu bar) File > Exit
    Pause while Firefox finishes its cleanup, then rename '''localstore.rdf''' to something like localstore.old
    Start Firefox back up again. Is the window visible?

Maybe you are looking for

  • Slow music store

    does anybody know how to quicken up my itunes store. everytime i go on it it takes forever to load up!!

  • Upgrading from older OS to latest

    I have 2 older MAC's a G4/700Mhz/OSX 10.3.9 and G5/1.8Ghz/OSX 10.4.11 can I upgrade them to the latest OS and if so what will happen to older programs like CS3 and Quark 7.  Also on the G4 will I be able to install Chrome. Please advise how I can and

  • Dr. Brown 1-2-3 PS CS5 (to overwrite files)

    I have been a lot of issues on CS5 using Save for Web as a part of recorded action to create 3 jpg sizes. Results are images at 300 ppi instead 72 ppi. (No problems on CS4 running the same steps in the action) One day it works & the other don't. A lo

  • Misleading advertising on Adobe's website?

    Greetings all, This probably isn't the place for writing a complaint, but after spending a couple of hours trying to leave feedback on Adobe's feedback page, I ran out of patience and decided to post here. On Adobe's "How to buy" page, you'll find th

  • Multithreading and ttclasses

    Being a newcomer to TT, I would like to know if: Do the client libraries (such as ttclasses) support multithreaded clients (pthreads)? I did not see anything in the docs. If it is supported, is there anything at all special that has to be followed an