How to execute bundled shell script?

Hi there,

i’m new to applescript so please be kind with your answers :slight_smile:
Since i didnt find a hint with the searchfunction i just have to ask something

I want to bundle a directory and and shell script wich just passes

“java explo.automatix.Automatix” to the terminal to execute an Java App that is included in the Applicationbundle.

How can i do that?

I tried something like this, but it didn’t work:

tell application "Terminal"
do script "cd ~/Desktop/atx_mac.app/Contents/Resources; ./start_automatix.sh"
end tell

Thanks a lot

You’re pretty close. Instead of [do script], try [do shell script].

THANKS A LOT!

It worked !

jeckyll