Category "osascript"

How to force close terminal window id using AppleScript?

I am starting a new terminal window from a terminal: osascript -e 'tell app "Terminal" to do script "myProgram.sh"' Since the new process is not ending(it is ba

MacOS desktop background won’t change

I was playing around with a python script that downloads and changes the wallpaper, and suddenly the wallpaper went black and won’t change even through th

AppleScript to remove icon from dock

I need to be able to run the script through Terminal only. I've seen other scripts that work as long as you change some settings in Accessibility; this is not a

AppleScript to remove icon from dock

I need to be able to run the script through Terminal only. I've seen other scripts that work as long as you change some settings in Accessibility; this is not a