Results 1 to 6 of 6
  1. #1
    Need help with Scripting for folder action
    MBasile's Avatar
    Member Since
    Dec 12, 2006
    Posts
    505
    Specs:
    MacBook CoreDuo
    Need help with Scripting for folder action
    Ok, I have a script set up to upload all the images I put in the folder to Flickr. However, the folder doesn't empty itself after uploading the images. How can I change the script to delete the images after uploading them?

    The current script is attached
    Attached Images Attached Images

  2. #2
    Need help with Scripting for folder action
    MBasile's Avatar
    Member Since
    Dec 12, 2006
    Posts
    505
    Specs:
    MacBook CoreDuo
    need to change something else too:
    When I drag images to the folder the script is associated with it moves the files to the folder, is there any way to make it copy rather than move?

    Heres what I want over all:
    -I drag images to the folder
    -It copies files to the folder so they stay in their original location too
    -It runs the upload to flicker automation/application
    -It moves the copies to the trash

  3. #3
    Need help with Scripting for folder action
    Brown Study's Avatar
    Member Since
    Mar 11, 2004
    Location
    Winnipeg
    Posts
    1,964
    Specs:
    G4 Tiger and OS 9
    An ordinary ol' AppleScript ''tell'' script would follow the pathway and say: Delete every item of folder ''blahblah'' of folder ''blahblah'' of folder ''blahblah'' etc.
    Then the files could be sent into the ether with the command:

    empty trash

    Sorry, but beyond very simple folder actions, I get lost. Your best bet would be macscripter.com, where there's tons of stuff. I don't think you can use it's search, though, without joining.
    Real radios glow in the dark.

  4. #4
    Need help with Scripting for folder action
    MBasile's Avatar
    Member Since
    Dec 12, 2006
    Posts
    505
    Specs:
    MacBook CoreDuo
    Quote Originally Posted by Brown Study View Post
    An ordinary ol' AppleScript ''tell'' script would follow the pathway and say: Delete every item of folder ''blahblah'' of folder ''blahblah'' of folder ''blahblah'' etc.
    Then the files could be sent into the ether with the command:

    empty trash

    Sorry, but beyond very simple folder actions, I get lost. Your best bet would be macscripter.com, where there's tons of stuff. I don't think you can use it's search, though, without joining.
    thanks for the help, but a lot of this I guess is just over my head

  5. #5
    Need help with Scripting for folder action
    MBasile's Avatar
    Member Since
    Dec 12, 2006
    Posts
    505
    Specs:
    MacBook CoreDuo
    well this is what I get for trying to learn something new while sick

    I don't know why I kept keeping it as a folder with folder actions, when the partial point of a folder is to store things, and I didn't want to store things in it. All I had to do was while in Automator was save it as an application instead of a folder action, and then place the app on the sidebar where I wanted the folder

  6. #6
    Need help with Scripting for folder action
    Brown Study's Avatar
    Member Since
    Mar 11, 2004
    Location
    Winnipeg
    Posts
    1,964
    Specs:
    G4 Tiger and OS 9
    That makes a lot of sense. I thought I was missing something.
    Real radios glow in the dark.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Scripting Help
    By MBPFTW in forum Web Design and Hosting
    Replies: 2
    Last Post: 05-06-2011, 03:56 PM
  2. Help With Automator Folder Action
    By fa6ab in forum OS X - Apps and Games
    Replies: 0
    Last Post: 02-16-2011, 01:56 AM
  3. Utilities folder missing in action....
    By Bushwookie in forum OS X - Operating System
    Replies: 4
    Last Post: 08-30-2010, 10:53 PM
  4. How to enable folder action permanently on Mac Leopard
    By macuserforum in forum OS X - Operating System
    Replies: 0
    Last Post: 05-04-2010, 04:55 AM
  5. folder action not working as expected
    By mr.wu in forum OS X - Operating System
    Replies: 1
    Last Post: 10-08-2009, 03:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •