I think that on osx you want to do a "unix style" external command action, not an applescript.

I don't think you can specify command line arguments using the external command action. do something like this instead.

have a script called CreateDir with the following 3 lines of code (example is linux osx may differ slightly)
#!/bin/bash
mkdir $PATH
exit 0


External action calls the command /wherever/you/put/it/CreateDir (make sure this script is executable by the Witango process.
And fill in an environment variable with the "path/folder" value.


/john


isabelle wrote:

Hi everybody

i would like to create, rename or delete a folder with Witango5. I saw the exemple of fergal (very good, bravo fergal) but it's a Windows exemple. is there someone who could help me to do the same thing on mac osx.
i tried to do an applescript or a text with command shell "mkdir path/forder" but it doesn't work with the external fonction in Witango dev.. but i'm not a specialist of applescript or shell...:-(
Worse the applescript option in external command is in grey and can't be used...


Thanks for all reply!

Isabelle

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to