Page 1 of 1

How to create file menu?

Posted: Sat Aug 28, 2010 4:10 am
by p4tr1ck
This is a stupid question, sorry. I saw this on the "open anything " example, and am puzzled why it doesn't seem to be on the main GUI.
How would I create just a basic toolbar at the top, that would normally contain things like "file" and "edit"?
Thanks :D

Re: How to create file menu?

Posted: Sat Aug 28, 2010 8:23 am
by Dixie
Hi p4trick...
Have a look at page 119 in the user guide... choose Tools > Menu Builder to open the Menu Builder..

be well

Dixie

Re: How to create file menu?

Posted: Sat Aug 28, 2010 4:09 pm
by p4tr1ck
Okay, thanks a ton for your help =]

Re: How to create file menu?

Posted: Sat Aug 28, 2010 7:27 pm
by p4tr1ck
One more question, how do I make the width of the menu bar to be the width of the card? I tried to use a script and it seemed to move everything over far to the left.

Re: How to create file menu?

Posted: Sat Aug 28, 2010 8:17 pm
by Dixie
Hi...

I am assuming that you are running under windows since you want the menus in the card rather than having a menubar at the top of the screen as in MacOS X... So the answer is that you have to make your own... put a graphic behind the menu group.

I have attached a stack with such an example...

be well

Dixie

Re: How to create file menu?

Posted: Sat Aug 28, 2010 10:32 pm
by p4tr1ck
Thanks a lot for your help :wink:

Haha, okay, one off-topic question. How do I get rid of the asterisk (*) that appears next to my window title, implying that the document is unsaved? My app won't even save, its not for creation purposes.
Thanks :)

Re: How to create file menu?

Posted: Sat Aug 28, 2010 11:34 pm
by Dixie
Hi...
Open the stack inspector and put something into the title field... once you have given the stack a title, the asterisk will then disapear ...

take care

Dixie

Re: How to create file menu?

Posted: Sun Aug 29, 2010 3:44 am
by p4tr1ck
Okay thanks. And sorry to bother you with all these simple questions...I'm bad at figuring things out :(
One last question, this one about scripting. I know answer file is good for getting a path, but it doesn't work for saving files. Is there an equivalent that doesn't give you a "file not found" error when you make something new?
I intend to impress my professor with this one =)

Re: How to create file menu?

Posted: Sun Aug 29, 2010 4:05 am
by Dixie
Hi ...

There is no problem with asking questions... That is what the forum is for ... try 'ask file' as this displays a standard Save dialog for you to enter a file name and specify a location.... look at 'ask file' in the dictionary...
take care

Dixie

Re: How to create file menu?

Posted: Sun Aug 29, 2010 4:34 am
by p4tr1ck
Wow your a lifesaver. Thanks so much for all this help you've given me :D

Re: How to create file menu?

Posted: Sun Aug 29, 2010 5:11 pm
by p4tr1ck
Is it possible to send a message to an object in another stack?
Thanks

Re: How to create file menu?

Posted: Sun Aug 29, 2010 5:27 pm
by Dixie
p4trick
send me your mail address : john@ihouse.on-rev.com

Dixie

Re: How to create file menu?

Posted: Sun Aug 29, 2010 5:37 pm
by p4tr1ck
Okay thanks.

Re: How to create file menu?

Posted: Sun Aug 29, 2010 7:13 pm
by Mark
Hi p4trick,

Of course it possible to send a message to another object (in another stack). Look up the commands send and call in the dictionary (see Help menu).

Best regards,

Mark