Results 1 to 4 of 4
  1. #1


    Member Since
    Sep 25, 2008
    Posts
    13
    Applescript newbie
    I'm using AppleScript for the first time , to mark and manipulate images in a folder in Finder . I'm running two scripts from Spark using hotkeys . The first script to add label colour works fine , the second script to rotate the image only works when I run the script from the script edit window and choose the file from a drop down menu - when I click on the image icon and use the hotkey it simply de-highlights it. Thanks for any help on this.

  2. #2

    scathe's Avatar
    Member Since
    Jan 12, 2009
    Location
    Prague, Czech Republic
    Posts
    1,096
    Specs:
    2,4Ghz 15" unibody
    So the seconsd script also highlights/dehighlights? I'm a little unclear as to what exactly you are doing

    Sounds like the script wouldn't rotate whatever you have selected, since even in script editor you still get a drop down

    You can try exporting the script as an app, but I think you need to alter your script so that is uses the highligted object and not a new input

  3. #3


    Member Since
    Sep 25, 2008
    Posts
    13
    Sorry , highlight was confusing . I'm using one script to change the label on the image to red , or back to no colour , using a two-key combination. I open the folder of images , click on an image to select it , click shift-x and the label changes to red . When I run the Rotate script from the script editor in Spark , it asks me to choose my folder ,then image file ,from menus and then it rotates the image ,- but when I open the folder , click on an image to select , and use my hotkeys shift-A, it just de-selects the image.

  4. #4

    scathe's Avatar
    Member Since
    Jan 12, 2009
    Location
    Prague, Czech Republic
    Posts
    1,096
    Specs:
    2,4Ghz 15" unibody
    still, looks like the script doesn't work with a currently selected item, so it wouldn't rotate whatever you select

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. applescript help
    By primrey in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 02-12-2012, 04:11 PM
  2. Help Please! I need Applescript help!
    By jf4m in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 12-02-2011, 09:34 AM
  3. Applescript newbie - How to Fn+F9?
    By Splint in forum OS X - Operating System
    Replies: 4
    Last Post: 06-24-2010, 12:08 AM
  4. Replies: 0
    Last Post: 10-21-2009, 08:10 AM
  5. silly question from a newbie (AppleScript)
    By quariguasi in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 02-12-2009, 04:14 AM

Posting Permissions

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