Post

Replies

Boosts

Views

Activity

Comment on Apps pane of Language & Region preferences not showing all languages
I've done some testing by adding another language to a copy of my applet. That new language is not visible in the "Apps" pane at all. I can't get that language to appear. But, French now does show correctly for my original applet as well as the duplicate. I've also ended up with 7 copies of my applet in the Apps pane Application Chooser. That and the fact that French is now working even though I've not changed anything in my applet suggests the app-specific localisation in macOS is a bit wonky.
Feb ’22
Comment on Seeking suggestions - how to have versions of an Automator service workflow
Many thanks for all that. It is a much more elegant solution. As mentioned, I don't understand XML files. So, I don't know where or how to add "variables" to the wflow file. I could use System Events to add a new plist item to the file but, I don't know where in the structure to put it so that it is not overwritten by Automator when I edit and save the AppleScript. Anyway, I tried to just shove in a new key called "variables" using a text editor. Now Automator can't open the Service at all or it just hangs and I have to force quit it. So, I clearly have no idea of what I'm doing. As an aside, the wflow file has this section: on run {input, parameters} (* Your script goes here *) return input end run But my AS code isn't there. It's located under "ActionParameters", "source". My AS code is in a logical place as it is run by the "Run AppleScript" action. But, what is expected to go in the "on run" section ? Cheers.
Feb ’22
Comment on Notarization wipes the "Icon?" file
Thanks. I'll have another look at Xcode. Can you provide more info on how you set a custom icon ? Before Tahoe, I didn't need to worry about assets.car or info.plist. Looks like now, I do.
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
Jan ’26
Comment on Can't get Xcode to parse the code in one file in editor
"remove the file by reference from the project and add it back again" <== I don't understand what "remove the file by reference" means. Is it a facility in Xcode ? Is there a setting somewhere in Xcode which lists files that are "attached" to or used by a project ? Anyway, I've moved onto to more tutorials. Many thanks.
Replies
Boosts
Views
Activity
Jan ’24
Comment on Notarising applet: "Error: No Keychain password item found for profile: <>"
Thanks. I still can't see that item anywhere in Keychain Access. Nonetheless, notarytool can see it which is the main thing. Visibility is perhaps complicated by my arrangement: I am signed into an AppleID different to that used for my developer account. It actually makes life easier for me but might complicate some things. Cheers.
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
Apr ’23
Comment on Desktop picture Pref Pane cropped on selection
Sorry, should have done that. Now too late to delete this post.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Error "The application "Preview" can't be opened" -1703
Many thanks.
Replies
Boosts
Views
Activity
Mar ’22
Comment on Error "The application "Preview" can't be opened" -1703
Quinn, thanks. When I clicked on "FB9958432" above, I was taken to Feedback Assistant which said "Feedback Not Found". Is that what you expect ?
Replies
Boosts
Views
Activity
Mar ’22
Comment on Error "The application "Preview" can't be opened" -1703
Yes, "do shell script" seems to be an effective workaround. I decided to use System Events instead of Finder and that works well. BTW, no need to tell current application to do a shell script in your first example. "do shell script" is in the "Scripting Additions" dictionary.
Replies
Boosts
Views
Activity
Mar ’22
Comment on Error "The application "Preview" can't be opened" -1703
Yes, 12.3 seems to be a problem. I've tested my code in macOS 12.2.1 and had no problem. But, in 12.3, I get the -1703 error.
Replies
Boosts
Views
Activity
Mar ’22
Comment on Apps pane of Language & Region preferences not showing all languages
I've done some testing by adding another language to a copy of my applet. That new language is not visible in the "Apps" pane at all. I can't get that language to appear. But, French now does show correctly for my original applet as well as the duplicate. I've also ended up with 7 copies of my applet in the Apps pane Application Chooser. That and the fact that French is now working even though I've not changed anything in my applet suggests the app-specific localisation in macOS is a bit wonky.
Replies
Boosts
Views
Activity
Feb ’22
Comment on Apps pane of Language & Region preferences not showing all languages
I've done another test: created a new applet with one dialog using the same localization files as in my original applet. French and all other languages work in that test applet. So, something is amiss in my production applet. Now for a lot of head scratching.
Replies
Boosts
Views
Activity
Feb ’22
Comment on AppleScript Scripting Additions' dialogs - why does cancel cause an error ?
Many thanks. I've decided to use your 2nd suggestion – only another 4 lines of code.
Replies
Boosts
Views
Activity
Feb ’22
Comment on Seeking suggestions - how to have versions of an Automator service workflow
Many thanks for all that. It is a much more elegant solution. As mentioned, I don't understand XML files. So, I don't know where or how to add "variables" to the wflow file. I could use System Events to add a new plist item to the file but, I don't know where in the structure to put it so that it is not overwritten by Automator when I edit and save the AppleScript. Anyway, I tried to just shove in a new key called "variables" using a text editor. Now Automator can't open the Service at all or it just hangs and I have to force quit it. So, I clearly have no idea of what I'm doing. As an aside, the wflow file has this section: on run {input, parameters} (* Your script goes here *) return input end run But my AS code isn't there. It's located under "ActionParameters", "source". My AS code is in a logical place as it is run by the "Run AppleScript" action. But, what is expected to go in the "on run" section ? Cheers.
Replies
Boosts
Views
Activity
Feb ’22
Comment on Seeking documentation – AppleScript applets containing Open/Save dialogs auto-create preferences
OK, many thanks. I think I get it. Cheers.
Replies
Boosts
Views
Activity
Sep ’21
Comment on Seeking documentation – AppleScript applets containing Open/Save dialogs auto-create preferences
I'm trying to understand more about that preferences file. Perhaps my applet can make use of it. I don't know. Can you point me towards documentation that would help understand what it does and can be used for ? I have Googled quite a lot but nothing seems relevant.
Replies
Boosts
Views
Activity
Aug ’21