Don't worry - we generally don't beat people up around here for asking easy
questions. We would all have too many bruises... "easy" is a relative thing
anyway.
Add this to the script of your index stack and the buttons should work:
on openStack
get the filename of this stack
set the itemDelimiter to "/"
delete last item of it
set the directory to it
end openStack
I believe "the directory" is initially set to the directory where the MC
engine lives.
Phil
----
Salvatore Bancheri wrote:
>
> I am asking this question at the risk of being ridiculized by the entire
> list. I have created a card stack called index with a card containing 10
> buttons. Each button is supposed to open a stack. All stacks to be open
> and the index stack are in the same directory (mc.exe is in another
> directory). The script of the button is:
>
> on mouseUp
> go stack the short name of me
> end mouseUp
>
> When I click on the button, nothing happens. Please, be nice in your
> answers: I am learning and I am not a programmer. Many thanks,
>
> Sal
>
> This is the MetaCard mailing list.
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
--
Phil Davis
------------------
[EMAIL PROTECTED]
This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm