Hello I'm trying to make a simple script. The applescipt is called from the command line as an ordinary shell script : admin$ ./scipt.app "hello"
And the Applescript is looking like this :
set message to system attribute "$1"
tell application "Finder"
display dialog message
end tell
Now my problem is that the dialog returns an empty message, where there should be "hello" displayed. Is this something that can be done with an Applescript ? I know that I can use osascript but that isn't an option.
I hope there is a simple sollution.
Qpple
And the Applescript is looking like this :
set message to system attribute "$1"
tell application "Finder"
display dialog message
end tell
Now my problem is that the dialog returns an empty message, where there should be "hello" displayed. Is this something that can be done with an Applescript ? I know that I can use osascript but that isn't an option.
I hope there is a simple sollution.
Qpple