Zum Hauptinhalt gehen

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Applescript key error

Kommentare

4 Kommentare

  • Rick Allen
    to my knowledge ( I say that because it very hard to get actual info regarding this stuff) selected variants passes variant id's not paths to the raw file.

    What is that you are trying to do?

    I've had better luck by using argv which passes the posix path of the raw file....
    0
  • fiveyears
    Hello and thanks for your reply.
    I just want to get the paths of the parents of the selected variants.
    0
  • Rick Allen
    I'm sure there is a better way than this but this works


    on run argv
    try
    if (class of argv is list) then
    set selected_images to item 1 of argv

    repeat with img_path in selected_images
    set img_text to img_path as text
    display dialog img_text
    end repeat

    end if
    end try
    end run
    0
  • fiveyears
    Thank you, it is strange, but it works!
    0

Post ist für Kommentare geschlossen.