Automator Question

Discussion in 'Mac Programming' started by Reelknead1, Mar 31, 2010.

  1. Reelknead1 macrumors 6502

    Joined:
    Sep 21, 2009
    #1
    I hope this is in the correct section but I'm trying to create a workflow that will allow me to

    -Launch Entourage 2008
    -Click File
    -Click Export
    -etc
    -etc
    -Quit Entourage 2008

    this is all done by recording my actions.

    When I go to run it, It will launch Entourage but will fail after that. It seems as though automator is incapable of clicking file?

    I have also tried using applescript and recording it that way but it doesn't want to record my actions?

    Any advice would be greatly appreciated.

    Thanks in Advance.
     
  2. sammich macrumors 601

    sammich

    Joined:
    Sep 26, 2006
    Location:
    Sarcasmville.
    #2
    Have a look at this page and see if you can implement what you want in Applescript. You can of course add AppleScript to your automator workflow to do the things that already work.
     
  3. Reelknead1 thread starter macrumors 6502

    Joined:
    Sep 21, 2009
    #3
    I'm new at this so sorry if i'm asking simple questions.

    when i put this in to script editor
    tell application "Finder" to activate
    menu_click({"microsoft entourage", "file", "export"})

    I get the error message
    «script» doesn’t understand the Menu_click message.

    Any ideas?
     
  4. Caleb531 macrumors 6502

    Caleb531

    Joined:
    Oct 17, 2009
    #4
    For AppleScript, you can set it up like this:

    Code:
    tell application "Finder"
    	activate
    	tell application "System Events"
    		tell process "Finder"
    			click menu item "New Finder Window" of menu "File" of menu bar 1
    		end tell
    	end tell
    end tell
     
  5. Reelknead1 thread starter macrumors 6502

    Joined:
    Sep 21, 2009
    #5

    I can't get it to work so i'm trying something a little different maybe someone can help me with the new problem

    I'm trying to make a script that will open finder then go users, my username, documents, microsoft user data, entourage identities, main identity, then copy Database file.

    How can i do that?
     

Share This Page