登录:     


Forum: General Discussion

Topic: I need a script for Text

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

I would like T to open the text box on "the master deck", and then "apply and close" the text box. Any help would be appreciated.
 

发表时间 Tue 10 Nov 15 @ 10:26 pm
+1
 

I don't follow, what textbox?
 

There's no way to map hitting that Apply button that I can think of. Could certainly add one for you though :)
 

What apple button? Maybe I did not explain this correctly. I can map the "T" on the key board to open the "Text box" (you know, the text plugin in so you can put text on the screen), but it just lets me do a deck, not master. I would like to map it so it opens the text box for the master effect, then I type what I want, and then when I hit it again, it applies and closes. I don't need it to actually activate ( that's not a bad idea, but I don't want to be greedy, but you can do both, and let me decide). So any help from you guys would be appreciated.
 

Something like this?
deck master effect_show_gui "Text"

This would open it for the master. From within there, your T shortcut wouldn't work though (you need to be able to type :p )
It should probably be possible to use escape to close that window though. (And perhaps something like ctrl+enter or so to press apply)
 

Thank you, forgot about the typing. No way to make one key to open and close? I can do the apply.
 

The command Adion have you will toggle the window open/closed :)
 

It just opens (deck master effect_show_gui "Text"), it does not close. Is it because I'm using (\) as the key?
 

Confirmed. Effect gui won't close.
Even with a non-text key.
 

Ah, it's because you're using a keyboard shortcut and once the plugin window opens that has keyboard focus.
 

Ok, no problem, I can live with that. As long as I didn't put in the wrong script. The whole script thing is one of my short comings. Thanks for the help guys.
 



(陈旧帖子或论坛版块会自动关闭)