Wait for mac 20164/26/2023 Python MagicScript.py & osascript -e 'tell application (path to frontmost application as text) to display dialog "The script has completed" buttons with icon caution' Let’s say we’re running a python script and want an alert box to notify us when it has completed, the syntax for such a use case could look like the following: ![]() For example, you could use this to trigger a dialog box in the frontmost application when a task at the command line has completed.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |