applescript convert images

コメント

4件のコメント

  • NNN636074493211147594
    is this only for the Lion Platforms? In Snow Leopard I do not see Files&Folders; in the Library.?
    0
    コメントアクション Permalink
  • RomVA
    tell application "Media Pro"
    activate

    set a to selection of catalog 1
    set b to thumbnail of item 1 of a
    set the clipboard to b as picture

    end tell

    Thumbnail is read only and AppleScript can't work with images/pictures data. All it can do is pass the data to an application which can work with the data.

    Don't know which version of OS X you have. But once you have the data in the clipboard you can pass it to the application 'Preview' and use it's function 'New From Clipboard' and save the images. From there you can use applescripts "Image Events" to process the image at you hearts content. You can't pass the data straight to "Image Events" because it only works with files, thats why you first need to create the file with Preview.
    0
    コメントアクション Permalink
  • NNN636473610254394183
    Hello,

    I'm having issues with Applescript working properly for a number of commands...
    Here are some examples:
    tell application "Microsoft Word"
    execute find find text "hello"
    end tell
    The resulting response is:
    error "Microsoft Word got an error: Can’t continue execute find." number -1708
    Another example:
    tell application "Microsoft Word" to page scroll down 1
    And the result:
    error "Microsoft Word got an error: Can’t continue page scroll." number -1708
    Does anyone have an idea what is going on? Is my applescript incorrect or am I missing something else?
    0
    コメントアクション Permalink
  • Benjamin Liddle
    [quote="NNN636473610254394183" wrote:
    Hello,

    I'm having issues with Applescript working properly for a number of commands...
    Here are some examples:
    tell application "Microsoft Word"
    execute find find text "hello"
    end tell
    The resulting response is:
    error "Microsoft Word got an error: Can’t continue execute find." number -1708
    Another example:
    tell application "Microsoft Word" to page scroll down 1
    And the result:
    error "Microsoft Word got an error: Can’t continue page scroll." number -1708
    Does anyone have an idea what is going on? Is my applescript incorrect or am I missing something else?


    This forum is for Expression Media. I suggest doing some research elsewhere for Microsoft Word-specific AppleScript issues
    0
    コメントアクション Permalink

サインインしてコメントを残してください。