メインコンテンツへスキップ

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

Help! Won't create new document because folder already exists.

コメント

2件のコメント

  • Eric Valk

    A simple work around would be to make a folder "Macintosh HD:Users:macuser:Desktop:Photo Work:Sessions" and put all your sessions in that folder.

    0
  • Matt Loxton

    I've now worked it out, I'll post it here for anyone else that might ever want to try the same thing.

     

    set thisFolderPath to alias "Macintosh HD:Users:mattloxton:Desktop:Photo Work:"

    tell application "Finder"
    set latestModifiedFolderName to name of item -1 of (sort every folder of thisFolderPath by modification date)
    set the clipboard to latestModifiedFolderName
    end tell

    tell application "Capture One 20"
    activate
    close every document without saving
    end tell

    delay
    1

    tell
    application "System Events"
    key code 45 using command down
    key code 9 using command down
    keystroke return
    end tell

    tell
    application "Photo Mechanic 6"
    activate
    end tell

     

    0

投稿コメントは受け付けていません。