image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old May 10th, 2005, 06:06 AM
Damrod's Avatar
Registered User
 
Join Date: Aug 2002
Location: Aachen, Germany
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
Damrod is on a distinguished road
Automator: Processes only possible in Automator app?

So, I have played around with Automator a little, and found a handy little action I could run with it: A little script/program that get's all widgets from my Desktop (Where I download them to) and moves them to Library/Widgets. Within Automator it works great, but when I save it as a program it does not work at all.

Any ideas? As Automator would die for me if the feature of creating little helper apps does not actually work
__________________
PowerMac G4 MDD '03 1.25GHz, 1 GB RAM, 2x80 GB HDD, on OS X 10.4.x/10.5.x
iPod nano 2nd Gen 2GB
Part of the party since MacOS 7

My Last.fm Profile
Reply With Quote
  #2  
Old May 10th, 2005, 09:52 AM
Registered User
 
Join Date: May 2005
Posts: 1,339
Thanks: 0
Thanked 1 Time in 1 Post
barhar is on a distinguished road
It appears that you ...

Launched 'Automator', selected 'Finder' from the Library list, and dragged 'Get Selected Finder Items' from the Action list to the rightmost field.
Next, you dragged 'Move Finder Items' from the Action list to beneath the above 'Get Selected Finder Item' - in the rightmost field, then clicked on 'Move Finder Items' 'To:' popup and navigated to, and selected, your 'Home/Library/Widget/'s folder.
You then saved the workflow as an application via the 'File, Save As...' menu item.

Let us say you named the application as 'WidgetMover.app'.
Now, should you make a selection of '.wdgt' files and then double click on 'WidgetMover.app', the file selection is deselected and 'WidgetMover.app', not the desired files, is moved to your 'Widgets' folder.

To get around this scenario - just drag your application, 'WidgetMover.app', to the 'Dock'. Now, make your file selection and then click on the 'Dock' based 'WidgetMover.app' icon. The selected files should be moved.

Naturally, any selected file(s) will be moved, since no type of checking if performed. Thus, make sure you select only '.wdgt' files before clicking on the 'Dock' based 'WidgetMover.app' icon.
Reply With Quote
  #3  
Old May 10th, 2005, 11:07 AM
Damrod's Avatar
Registered User
 
Join Date: Aug 2002
Location: Aachen, Germany
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
Damrod is on a distinguished road
Quote:
Originally Posted by barhar
It appears that you ...

Launched 'Automator', selected 'Finder' from the Library list, and dragged 'Get Selected Finder Items' from the Action list to the rightmost field.
Next, you dragged 'Move Finder Items' from the Action list to beneath the above 'Get Selected Finder Item' - in the rightmost field, then clicked on 'Move Finder Items' 'To:' popup and navigated to, and selected, your 'Home/Library/Widget/'s folder.
You then saved the workflow as an application via the 'File, Save As...' menu item.

Let us say you named the application as 'WidgetMover.app'.
Now, should you make a selection of '.wdgt' files and then double click on 'WidgetMover.app', the file selection is deselected and 'WidgetMover.app', not the desired files, is moved to your 'Widgets' folder.

To get around this scenario - just drag your application, 'WidgetMover.app', to the 'Dock'. Now, make your file selection and then click on the 'Dock' based 'WidgetMover.app' icon. The selected files should be moved.

Naturally, any selected file(s) will be moved, since no type of checking if performed. Thus, make sure you select only '.wdgt' files before clicking on the 'Dock' based 'WidgetMover.app' icon.
Though it's not what I did, it is an interesting alternative you provide there.

My workflow looke more like this:

Request approval -> Get Finder Object (in my case the Desktop-folder) -> Get Finder object contents -> filter finder objects (in my case only files with the suffix .wdgt) -> Move objects

Like I said, it works in Automator, but not as Application
__________________
PowerMac G4 MDD '03 1.25GHz, 1 GB RAM, 2x80 GB HDD, on OS X 10.4.x/10.5.x
iPod nano 2nd Gen 2GB
Part of the party since MacOS 7

My Last.fm Profile
Reply With Quote
Reply

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 10:13 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.