Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Pasting my custom icon as the file icon of the applet.icns file solves the issue. Now when I edit the AppleScript code and re-save the .app, the application's custom file icon is no longer overwritten with the default icon. Thanks! Commented May 30, 2017 at 17:09
  • Yes I’m fully aware choose file is from Standard Additions. Come on, that’s an AppleScript 101 lesson LOL. I sent choose file command to Finder, as a workaround to a problem I am STUMPED by. I don’t know if it’s an AppleScript or an OS bug or just a bug that happens on my system and it’s setup, but for some reason when I use choose file through Standard Additions, when the window to actually choose the file appears, it freezes. After 30 or 40 seconds or so, I can eventually select a file but if I need to scroll down or something, it freezes again for an additional 30 seconds or so. Commented Jun 20, 2021 at 2:15
  • continued… The problem only occurs when I run the compiled and saved script through the script menu in the menubar. It does not happen when I run the code through Debugger or Editor. Commented Jun 20, 2021 at 2:35
  • Latest release of macOS Big Sur Commented Jun 20, 2021 at 3:13
  • It works without issue for me in macOS Big Sur 11.4. Have you tried it booted to safe mode? Commented Jun 20, 2021 at 3:19