Skip to main content

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

Stitching Error with Photoshop Script

Comments

7 comments

  • Paul Steunebrink
    This is a known error (at least known for me, but I have reported it a long time ago). CO Pro 7.2.0 was the last version that that worked up to Photoshop CS6. After support for PS CC was added in 7.2.1, older versions of PS got this error.

    Solution
    You can solve this by pasting the older script into the application folder in CO8. Note that you have to repeat this step each time you update CO8. Alternatively, you can place the older script in the user folder for scripts. Capture One look into that folder too. This way you can have both the new and older script available! You get a second 'Stitch with Photoshop' in the scripts menu.

    How to obtain the older script?
    Either install CO 7.2.0 and get it from the program folder (location below) or download it from my website:
    http://imagealchemist.net/wp-content/up ... toshop.zip

    Where to place the script?
    After unzipping the download or extracting it from the CO7 program folder, place it in:
    /Applications/Capture One/Contents/Resources/Scripts (you have to repeat this after each update)
    or in
    /Users/<user name>/Library/Scripts/Capture One Scripts (one-time action only)
    0
  • Alexander Maier
    Thank you!!! I have tried the script. Photoshop starts and imports the pictures. But then I get also the message "„System Events“ hat einen Fehler erhalten: „menu item "Auto-Align Layers..." of menu "Bearbeiten" of menu bar item "Bearbeiten" of menu bar 1 of application process "Adobe Photoshop CS6"“ kann nicht gelesen werden."

    I have tried both versions: User Script Directory and Replacing the Original Script. Possible the can be a problem with the language versions?

    Alexander
    0
  • Alexander Maier
    Seams the problem is in the Scipt PS_Stitching.scpt in the section "--open Auto Align tool"?

    on AutoAlign_CS6(process_name)
    my AutoAlign_CS5(process_name)
    end AutoAlign_CS6

    on AutoAlign_CS5(process_name)
    tell application "Adobe Photoshop CS6"
    activate
    tell application "System Events"
    tell process process_name

    --open Auto-Align tool
    try
    set edit_menu to menu 1 of menu bar item "Edit" of menu bar 1
    on error e
    set edit_menu to menu 1 of menu bar item 4 of menu bar 1
    end try

    -- too many items in edit menu to do this by index, so just just fail if we cant find it
    set auto_align_item to menu item "Auto-Align Layers..." of edit_menu
    click auto_align_item

    delay 1

    set window_name to "Auto-Align Layers"

    set window_is_closed to my waitForWindowToClose(process_name, window_name, 120, 2)

    --press the ok button for them if they didnt do anything
    if window_is_closed is false then
    try
    --get position of radiobutton, click it and hit enter
    set buttonpos to position of radio button 1 of window window_name

    set item 1 of buttonpos to (item 1 of buttonpos) + 10
    set item 2 of buttonpos to (item 2 of buttonpos) + 10


    tell application "Capture One"
    click mouse buttonpos
    delay 0.1
    click mouse buttonpos
    end tell

    delay 0.5

    keystroke return

    delay 5
    end try
    end if

    delay 5

    my waitForWindowToClose(process_name, "Progress", 120, 2)

    end tell
    end tell

    end tell

    end AutoAlign_CS5
    0
  • Paul Steunebrink
    Maybe language plays a role as well. I also believe that the error is in the PS_Stitching.scpt file.

    I tried to test in a German version, but that stopped. CO8 in German is not a problem, but I suspect it expects a German PS as well?

    I can bring it up when I contact Phase One over some issues, which will be next week, I expect.
    0
  • Alexander Maier
    Great informations! Time is not a problem for me.

    I will switch my complete workflow for documentary architectural photography to Capture One. Using moderate wide angle lenses with shifting technics requires stitching of photos.

    Possible you can influence Phase One to pack both scripts in the standard installation. I prefer to buy software and hardware as to rent this.
    0
  • Alexander Maier
    I tried some things. The problem seams to be the German language of Photoshop CS6. When I startet editing the script from "menu item "Auto-Align Layers..."" to menu the German menu item I will come a step further. But my scripting experience is not good enough to edit the whole script. Possible Phase One can deliver the "old" scripts in further releases.
    0
  • Alexander Maier
    Hello Paul,

    did you get a solution from your connections?

    Regards

    Alexander
    0

Post is closed for comments.