TommyWillB
Registered
Is there a way I can invoke a shell script by double-clicking a desktop icon?
Certainly I can do a lot with AppleScript, but it is not clear to me if AppleScript can invoke a shell script.
On WinDoze you can do a certain amount of this by coding your command into a shortcut. I can't figure out if there is a way to do this via an Alais.
Is there a way to associate all .sh files so that when double-clicked they launch the terminal and run there? (Not really what I want, but may be okay.)
Even better I'd like this script to run as a particular user... not just the user of the person who clicks it.
Any ideas?
Certainly I can do a lot with AppleScript, but it is not clear to me if AppleScript can invoke a shell script.
On WinDoze you can do a certain amount of this by coding your command into a shortcut. I can't figure out if there is a way to do this via an Alais.
Is there a way to associate all .sh files so that when double-clicked they launch the terminal and run there? (Not really what I want, but may be okay.)
Even better I'd like this script to run as a particular user... not just the user of the person who clicks it.
Any ideas?