Old 4th May 2003, 20:06   #1
carlosp
Major Dude
 
carlosp's Avatar
 
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,312
Red face Need help for script !!

Hello everybody,
i need some help with my script. i made poupmenu. you can chosse between shademode and minimize winamp. I can go to shademode but i can´t minimitze winamp throw the popupmenu. actualy i dunno how to set the trigger and what the trigger had to be. can somebody help me???

->CarlosP<-
carlosp is offline   Reply With Quote
Old 4th May 2003, 20:25   #2
hammerhead
The Shark
(Forum King)
 
hammerhead's Avatar
 
Join Date: Jul 2002
Posts: 2,537
Send a message via AIM to hammerhead
Since MAKI can't minimize, create a button with the action 'minimize', set it's alpha to 0, and when you want to minimize in make use .leftClick() .
hammerhead is offline   Reply With Quote
Old 5th May 2003, 08:24   #3
carlosp
Major Dude
 
carlosp's Avatar
 
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,312
Unhappy no chance!

This was also one of my ideas but it don´t works. If you make a popup menu the trigger happens after you chosen one of the options in the popupmenu, that means:

onLeftclick->popupapears->you choose ->minimize->nothing happens ->becuase: you can´t simulate a button press with maki.you see that this way don´t works.
carlosp is offline   Reply With Quote
Old 5th May 2003, 08:49   #4
hammerhead
The Shark
(Forum King)
 
hammerhead's Avatar
 
Join Date: Jul 2002
Posts: 2,537
Send a message via AIM to hammerhead
Actually, you can simulate a button press in MAKI. Just do 'mybutton.leftClick()'. I know it works, I use it in many of my own scripts.
hammerhead is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump