New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Creating Automator Action


Post Reply New Thread Subscribe

 
Thread Tools
johneasley

 
Member Since: Oct 09, 2011
Location: Winter Haven, FL
Posts: 7
johneasley is on a distinguished road
Mac Specs: Macbook Pro i7, 2.2 ghz, 8 gb RAM, 750 gb HDD

johneasley is offline
Hi Everybody. I'm completely new to Mac; just got my Macbook Pro yesterday. I'm loving it and everything is working as it should but I could use a little help with the Automator and Speech Feedback apps. I have Googled the issue and ran a search through this forum.

These articles were more or less on point but the steps I want to complete aren't available. ATPM 15.11 - How To: Making Your Own Speakable Items and ATPM 12.07 - How To: Maybe You Ought To Be Using Automator

I installed Adobe Photoshop Elements and Google Chrome. I dragged both into Speakable Items and simplified the names to "Open Email" and "Open Photoshop." Both work as planned. Now I would like to create Automator actions to quit both of those apps without speaking the entire name. However, when I try to create an Automator workflow with Quit Application, those two apps are not available. For example, I can navigate to the Elements folder but Photoshop Elements Editor is grayed out. (It is available in Finder and in Applications) Any suggestions on how to create this action would be appreciated.

Thanks.

John
QUOTE Thanks
Slydude

 
Slydude's Avatar
 
Member Since: Nov 16, 2009
Location: North Louisiana, USA
Posts: 6,845
Slydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant future
Mac Specs: 2.8 GHz MacBook Pro 10.8,3 8 GB mem, 2.66 GHz Mac Pro - Dead, iPhone 4

Slydude is offline
I don't have Google Chrome installed to test for sure but if you got it to open using Automator it should be possible to close it as well. I tried the following with Photoshop Elements and it works so I think it will work for Chrome as well with minor changes:

!. Launch Automator and decide the kind of workflow you are going to create. Then type "Quit"(without quotes" in Automator's search field to find actions with the word quit.
2. Choose "Quit Application" and drag it into the workflow. I think it has Address Book selected by default but you can scroll to the bottom go the list and choose Other.

From here a dialog will appear and you can select the program that you want to Quit. In the case of Elements choose the one that says Photoshop Elements not Elements 9

You can chain a series of these steps together to close several applications without closing everything. If you can't do the same thing with Chrome it can probably be closed using a one line Applescript as part of the workflow.

Sylvester Roque Former Contributing Editor About This Particular Macintosh

"Got Time to breathe. You got time for music." Denver Pyle as Briscoe Darling
QUOTE Thanks
johneasley

 
Member Since: Oct 09, 2011
Location: Winter Haven, FL
Posts: 7
johneasley is on a distinguished road
Mac Specs: Macbook Pro i7, 2.2 ghz, 8 gb RAM, 750 gb HDD

johneasley is offline
Thanks for jumping in to help, Slydude. It sort of worked but the results were not what was anticipated. I must have done something wrong. Here are the stepsI took:
* Opened Automator.
* Selected Workflow for the type of document
* Found 'Quit Application' and dragged it to the panel on the right
* Scrolled down the applications list to Other and then navigated to Adobe Photoshop Elements Editor (the only app in the folder that was active)
* Tested it by clicking on Run and it successfully closed Photoshop
* Saved it to the Documents folder as a file called Close Photoshop
* Quit Automator
* Moved it to the Speakable Items folder
* Reopened Photoshop
* When I spoke 'Close Photoshop', it opened Automator and displayed the workflow I had just created.

I repeated the same steps to create a workflow to close Google Chrome with the same results; it opened Automator and displayed the 'Close Chrome' workflow.

I must have missed some crucial step somewhere. Any idea what I did wrong?

Thanks.
QUOTE Thanks
Slydude

 
Slydude's Avatar
 
Member Since: Nov 16, 2009
Location: North Louisiana, USA
Posts: 6,845
Slydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant future
Mac Specs: 2.8 GHz MacBook Pro 10.8,3 8 GB mem, 2.66 GHz Mac Pro - Dead, iPhone 4

Slydude is offline
Quote:
Originally Posted by johneasley View Post
I must have missed some crucial step somewhere. Any idea what I did wrong?

Thanks.
You're almost there. When you speak the name of the workflow and it opens in Automator do they work properly if you click the Run button in Automator's window? I bet they do.

To fix the problem do the following open each of the workflows in Automator and save them as Applications instead of workflows. Use the names that you want to say in Speakable Items to trigger the workflows.

BTW Don't feel bad I made similar mistakes in the beginning. And still do from time to time for that matter.

EDIT: If you are developing an interest in Automator there are several good podcasts available. One of my favorites is Mac Automation Made Simple with Ben Waldie. There are several others that are also good though.

Sylvester Roque Former Contributing Editor About This Particular Macintosh

"Got Time to breathe. You got time for music." Denver Pyle as Briscoe Darling
QUOTE Thanks
johneasley

 
Member Since: Oct 09, 2011
Location: Winter Haven, FL
Posts: 7
johneasley is on a distinguished road
Mac Specs: Macbook Pro i7, 2.2 ghz, 8 gb RAM, 750 gb HDD

johneasley is offline
That was it! That did the trick. Had to do a File, Duplicate To... in order to get to a dialog box where the type could be changed to Application but that worked. Thanks for the help Slydude.
QUOTE Thanks
Slydude

 
Slydude's Avatar
 
Member Since: Nov 16, 2009
Location: North Louisiana, USA
Posts: 6,845
Slydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant futureSlydude has a brilliant future
Mac Specs: 2.8 GHz MacBook Pro 10.8,3 8 GB mem, 2.66 GHz Mac Pro - Dead, iPhone 4

Slydude is offline
Glad to help. Automator is one of my favorite features about the Mac. If you don't mind here are a few tips that might make your experience more enjoyable:

1. When saving a workflow as an application, service, o similar save one copy somewhere as a workflow. It is easy to make changes to these in the future if say the name of a server changes or you want to add another application to the list of things to quit.

2. I mentioned several websites in those articles that have additional actions for Automator. The actions label as Universal Binary or Intel may work under Lion. The ones labeled PPC will not.

3. Sometimes a major shift in the OS will break one of your projects. This happened with the shift from 10.6 to 10.7. Sometimes the workflows need to be completely rebuilt but often fixing the problem is as simple as opening the workflow in the newer version of Automator and re-saving it.

Sylvester Roque Former Contributing Editor About This Particular Macintosh

"Got Time to breathe. You got time for music." Denver Pyle as Briscoe Darling
QUOTE Thanks
johneasley

 
Member Since: Oct 09, 2011
Location: Winter Haven, FL
Posts: 7
johneasley is on a distinguished road
Mac Specs: Macbook Pro i7, 2.2 ghz, 8 gb RAM, 750 gb HDD

johneasley is offline
Excellent. Good to know. Thanks again.
QUOTE Thanks

Post Reply New Thread Subscribe


« Photoshop CS5 reinstalling problems | FaceTime says "no camera"? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Time Machine never finishes? rsales Other Hardware and Peripherals 8 01-26-2011 06:45 PM
Thinking about getting my first Mac JAleshire67 Switcher Hangout 23 11-13-2010 11:23 AM
Apple plans to push HTML5 by creating new, 'innovative' websites the8thark Apple Rumors and Reports 12 10-02-2010 11:58 PM
Creating pdf's cwatson69 OS X - Operating System 3 10-24-2009 06:40 PM
Upgrading PERL Forum Setup, MySQL, etc. ssotti OS X - Development and Darwin 0 11-29-2003 12:16 PM

All times are GMT -4. The time now is 11:07 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?