5/31/2023 0 Comments Mac automator ask for text![]() Click the "Library" button on the toolbar, if the Library is hidden.your.app) what will contains your shell script and also asks for the user inputs.Įxample, asking for two inputs: "name" and "year" you should do the following: ![]() With the Automator, you could create executable application (e.g. :)įor this, you could use the Automator.app. OS X has (mostly) all batteries included, just use it. This is an example script which asks for the user's name then says it via executing a shell command "say name" display dialog "What is you name? " default answer "" buttons default button 1ĭo shell script "say " & result with administrator privileges From what I understand I would recommend you look in to Applescript as this will allow you to have a GUI Interface as well as executing 'SHELL' commands.įirst of all I would open 'Script Editor' program that comes preinstalled on Mac's
0 Comments
Leave a Reply. |