Hidden-Show problem

Aug 1, 2009 at 6:18 PM

Hey guys,

First Question: I will make a button it show a hidden frame. But when i make the command  "frame2.hidden = false" nothing happen??

Second Question: I will make a button it say something in a channel. But when i make the command "my.computer.keyboard.sendkey("{ENTER}") nothing happen??

I hope you can help me.

 

Aug 16, 2009 at 6:09 PM

First Question: I will make a button it show a hidden frame. But when i make the command "frame2.hidden = false" nothing happen??

 

Ok, i have been working on this too, and it seems as though you need to put "Frame2:hide()" ((Note the : ))

Not sure if it's right, but it should work (to show, put :show() instead of :hide() )

 

Second Question: I will make a button it say something in a channel. But when i make the command "my.computer.keyboard.sendkey("{ENTER}") nothing happen??

Ok, this code looks more like this:

SendChatMessage("MY-MESSAGE-HERE", GUILD, nil)

GUILD can be PARTY, SAY, YELL, OFFICER, etc, but i don't know how to make it work to Channels, like trade, general, etc.

nil just means it can be used in either Orcish (horde) or alliance (Common)