photo supreme mac how can I add a command line via automator

Post Reply
mantras
Posts: 211
Joined: 24 Dec 12 8:36

photo supreme mac how can I add a command line via automator

Post by mantras » 08 Oct 19 6:18

hi
i have 2 database and v4 and v5

on windows it's enough to add -d and the folder and catalog

i would like to run v5 with a command line to open a database created for v5
and i would like to run v4 with a command line an old database for v4
i want to keep v5 and v4

i'm a windows users , i don't know how can i do it under mac
i google without found an easy tutorial

how can i do under mac via automator ?
might you please post some screenshots?
thanks
Photo Supreme Evangelist ,windows 10 & macos Sierra & high sierra ,photosupreme 4, lightroom & photoshop cc

Username
Posts: 207
Joined: 18 Feb 18 22:21

Re: photo supreme mac how can I add a command line via automator

Post by Username » 15 Oct 19 23:55

You could do an Applescript something like this.
Make sure you set your username and correct path and name to PSu v4 and it's DB.

Code: Select all

set theDialogText to "Choose version of PhotoSupreme to launch."
display dialog theDialogText buttons {"Cancel", "PhotoSupreme v4", "PhotoSupreme v5"} default button 3 cancel button "Cancel"
if button returned of result = "PhotoSupreme v4" then
	do shell script "/Applications/Photo\\ Supreme\\ 4.app/Contents/MacOS/IDimagerSU -d '/Users/XXXXXX/Library/IDimager Systems, Inc.v4/Catalog/photosupreme.cat.db'  > /dev/null 2>&1 &"
else
	do shell script "/Applications/Photo\\ Supreme.app/Contents/MacOS/IDimagerSU -d '/Users/XXXXXX/Library/IDimager Systems, Inc./Catalog/photosupreme.cat.db'  > /dev/null 2>&1 &"
end if
end
PSu Server 5 & Postgres 10 on macOS 10.14
- I'm the user

Post Reply