Burning Desire stack - "shell" command problem

Sarah Reichelt sarahr at genesearch.com.au
Wed Jan 21 18:03:39 EST 2004


Remove the space between "shell" and the first bracket. I ran into the 
same sort of problem a couple of days ago and that was what fixed it.

Cheers,
Sarah
sarahr at genesearch.com.au
http://www.troz.net/Rev/

On 22 Jan 2004, at 8:55 am, Barry Levine wrote:

> I have a field named "theImageToCreate" containing the following text:
>
> hdiutil create -fs HFS+ -volname MyDisk -size 100m 
> ~/Desktop/MyDiskImage2.dmg
>
> I have a button with the following script:
>
> on mouseUp
>   shell (field "theImageToCreate")
> end mouseUp
>
> When the script executes, I get an error. Here's the error dialog info:
>
> Type	Handler: can't find handler
> Object	Create disk image file
> Line	shell (field "theImageToCreate")
> Hint	shell



More information about the use-livecode mailing list