Post

Replies

Boosts

Views

Activity

Reply to How to make a progress meter for an AppleScript that works with the Photos app
Thanks red_menace - that does look promising. I'm not a swift guy, but I did follow your link for swift-progress to the github website and in the readme.md page there is a link to download a build of the project, but sadly the link is dead/broken. Is there another place to get it? I don't know how to build it myself :-(. Sorry about all the necessary spoon-feeding. I did also try SKProgressbar - I tracked down version 2.0 but I can't get it to run - even if I right click on it and select Open. I get a dialog box saying: “SKProgressBar” can’t be opened because Apple cannot check it for malicious software.
Mar ’25
Reply to How to make a progress meter for an AppleScript that works with the Photos app
I just noticed something. I've been saving this AppleScript as a workflow in Automator so that it's accessed via the Services menu. When I run it that way I do NOT get a progress meter. However, if I save the AppleScript as a stand alone app and run it that way I DO get a progress meter. Is there any way to make the progress meter appear if initiated from the Services menu?
Mar ’25
Reply to How to make a progress meter for an AppleScript that works with the Photos app
Hmm - this doesn't seem to be working for me :-(. The code runs and does what it's supposed to do, but I never see a progress meter. Here's the structure of what I made: tell application "Photos" do some stuff, including set nPhotos end tell set progress total steps to nPhotos set progress completed steps to 0 set progress description to "FILENAME TO DATE AND TITLE:" repeat with i from 1 to nPhotos set progress additional description to "Processing image " & i & " of " & nPhotos tell application "Photos" do some more stuff end tell set progress completed steps to i end repeat return sorry about all the double-line spacing. For some reason all single carriage returns in by responses are ignored and what I add another I end up double line spacings. Quite annoying...
Mar ’25
Reply to How to make a progress meter for an AppleScript that works with the Photos app
I had already found that link - it contained the 2.0 version that I mentioned couldn't be opened. Sigh - I'm kind of peeved at Apple that such a simple thing as a progress meter is so poorly supported and troublesome in AppleScript. This is something that should have been nailed down literally decades ago.
Replies
Boosts
Views
Activity
Mar ’25
Reply to How to make a progress meter for an AppleScript that works with the Photos app
Thanks red_menace - that does look promising. I'm not a swift guy, but I did follow your link for swift-progress to the github website and in the readme.md page there is a link to download a build of the project, but sadly the link is dead/broken. Is there another place to get it? I don't know how to build it myself :-(. Sorry about all the necessary spoon-feeding. I did also try SKProgressbar - I tracked down version 2.0 but I can't get it to run - even if I right click on it and select Open. I get a dialog box saying: “SKProgressBar” can’t be opened because Apple cannot check it for malicious software.
Replies
Boosts
Views
Activity
Mar ’25
Reply to How to make a progress meter for an AppleScript that works with the Photos app
I just noticed something. I've been saving this AppleScript as a workflow in Automator so that it's accessed via the Services menu. When I run it that way I do NOT get a progress meter. However, if I save the AppleScript as a stand alone app and run it that way I DO get a progress meter. Is there any way to make the progress meter appear if initiated from the Services menu?
Replies
Boosts
Views
Activity
Mar ’25
Reply to How to make a progress meter for an AppleScript that works with the Photos app
Hmm - this doesn't seem to be working for me :-(. The code runs and does what it's supposed to do, but I never see a progress meter. Here's the structure of what I made: tell application "Photos" do some stuff, including set nPhotos end tell set progress total steps to nPhotos set progress completed steps to 0 set progress description to "FILENAME TO DATE AND TITLE:" repeat with i from 1 to nPhotos set progress additional description to "Processing image " & i & " of " & nPhotos tell application "Photos" do some more stuff end tell set progress completed steps to i end repeat return sorry about all the double-line spacing. For some reason all single carriage returns in by responses are ignored and what I add another I end up double line spacings. Quite annoying...
Replies
Boosts
Views
Activity
Mar ’25
Reply to How to make a progress meter for an AppleScript that works with the Photos app
Just wanted to quickly say thanks for your response. I've managed to get myself swamped at the moment so I'll try this tomorrow let you know how it went.
Replies
Boosts
Views
Activity
Mar ’25