Most likely you're trying to delete the stack that is currently running. The message box can do it because it is a different stack. You could try to:
send "delete stack" && quote & vgName & quote to me in 20 milliseconds which would give enough time for the rest of the script to run before the message hit. Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Doug Lerner > Sent: Saturday, January 31, 2004 10:52 PM > To: How to use Revolution > Subject: Can't delete option question... > > > A certain stack is closed and I want to delete it in a > script. My code looks > like: > > if vgName is not among the lines of the openStacks then > if exists(stack vgName) then > delete stack vgName > end if > end if > > This causes a "can't delete object" error when run at the > delete stack line. > > But... I can delete that stack in the message box. > > Any ideas why this would be? > > Thanks, > > doug > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-> revolution > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
