Jump to content

SinSoul

Members
  • Posts

    10
  • Joined

  • Last visited

SinSoul's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I know, thank you for the link =) but ezSkin has several problems, for which I can't find solution. The problem is when I open any secondary gui button effect in ezskin stops working =( also ezskin doesn't have gui fadeout on inactive effect or does it? o_O And laststly, ezskin doesn't have such awesome tray message =( but in any case, you did a great job. Really appretiated, because I was using ezskin, since I made my first prog =D just want to make it more dynamic(for e.g. to change skin folder)
  2. Fixed both problems with _ControlHover(). If someone need the code, reply to the topic. Can't add it right now, since it's not finished
  3. Forgive me to bother you, but I have stuck on several problems =( First: I got about 50 buttons in my program, generated by for statement(made mostly for styling checkboxes), do I have to create function for each button? Or is there another "Easier way"? ._. I'm asking this, since xSkin buttons doesn't send GUIMsg, it has it's own function. Second: #Include <XSkin.au3> ; folder of skin $Skin_Folder = @ScriptDir & "\Skin" $XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $Skin_Folder) $button_1 = XSkinButton("Button 1", 145, 100, 100, 35, "Hello") GUISetState() While 1 MouseOver(1) ;makes the button flash on mouseover Sleep(10) WEnd Func Hello() MsgBox(64, "XSkin", "Test Button 1", 3) EndFuncButton isn't styled, I mean it is default view. I've put button images to my skin folder and nothing. Where have I gone wrong? Thank you in advance. Here's not working button: And here's how it supposed to look:
  4. Please forgive me, if I duplicate the topic, but I could find similar questions :S My first question - is there a way to change skin folder for ezSkin? I just wish to make gui with multiple skins. Second question would be - my program has multiple guis. So if I Do not close my 2 gui, just SW_HIDE it. All button effects stops working. Any solution? Thank you in advance.
  5. Great script, thank you very much x) helped me to solve the problem, it also helped me with other creativity blocks =D I'd press worship button near your profile, but it doesn't have one =(
  6. Hello. I'm still a starter in AutoIt. And though I've browser through a lot of information, but I couldn't find anything about my problem. My brain is almost toasted, my last hope lies with you guys. So here's my problem. I'm using ezSkin, the skin has it's embed close and minimize buttons. My program consist of several gui windows, the main one and 2 dynamic "More" and "Help". By dynamic I mean that they are supposed to be closed and opened at anytime. By pressing "More" there supposed to open another gui containing some checkboxes. By pressing "Help" - should open gui containing just some info. First question - how do I make a close button in new gui's for them to close? Second question - How do I pass data from gui "More" to main? Since it has script to save data to txt file. Forgive me, if I'm not making myself clear. I got 3rd world war right now in my head. In any case, I'd appreciate any help. Thank you in advance. #Include <WinAPI.au3> #include <ButtonConstants.au3> #include <WindowsConstants.au3> #include <GUIConstants.au3> #include <EzSkin.au3> Opt("TrayIconHide", 1) $EZGUI = EZSKINGUICREATE("gui", 400, 400) GUICtrlCreateLabel( "gui", 100, 20 ) GUICtrlSetColor(-1, 0xffffff) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) $about = EZSKINBUTTON("Help", 188, 320, 73, 28, $WS_GROUP) GUISetState(@SW_SHOW) While 1 EZSKINOVER() $MSG = GUIGetMsg() Switch $msg Case $EZICON[1] GUIDelete($help) Case $EZICON[2] GUISetState(@SW_MINIMIZE, $EZGUI) Case $about ;Create new GUI $help = EZSKINGUICREATE("Help", 400, 400) $EZICON = EZSKINICON($help) GUICtrlCreateLabel( "Help", 100, 20 ) GUICtrlSetColor(-1, 0xffffff) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) ;tried to declare a close button, but when I add while statement here, pc freezes GUISetState(@SW_SHOW) EndSwitch WEnd #endregion
  7. Thank you =) btw your code works like a charm. Used it also to generate buttons. I'm getting to love AutoIt xD Also thank you for fast reply ===case solved===
  8. Thank you very much! Even though I've found a problem, but still your example probably 100 times more effective.
  9. Please close the topic...I had silly code mistake If GUICtrlRead($CHECKBOX[$i][color="#FF0000"])[/color] = $GUI_CHECKED Then Forgot the close the bracet
  10. Hello everyone. I've just joined the community and also just started using autoit. I'm really new to it, so please don't judge me too heavily. In any case, here's my question: I got multiple Checkboxes situated over Buttons. I have script manipulating checkbox(on button click checkbox will be checked or unchecked, depending on condition). Is there a way to do that with all checkboxes using arrays and for statement? Or any other method? Here's what I came up with(of course not working): Global $BUTTON[5] Global $CHECKBOX[5] $BUTTON[1] = EZSKINBUTTON("button1", 35, 60, 75, 30) $CHECKBOX1 = GUICtrlCreateCheckbox("", 85, 70, 10, 10) $BUTTON[2] = EZSKINBUTTON("button2", 35, 100, 100, 30) $CHECKBOX[2] = GUICtrlCreateCheckbox("", 85, 110, 10, 10) $BUTTON[3] = EZSKINBUTTON("button3", 35, 140, 100, 30) $CHECKBOX[3] = GUICtrlCreateCheckbox("", 85, 150, 10, 10) $BUTTON[4] = EZSKINBUTTON("button4", 35, 180, 100, 30) While 1 EZSKINOVER() $MSG = GUIGetMsg() For $i = 1 to 6 Step +1 If $MSG = $BUTTON[$i] Then If GUICtrlRead($CHECKBOX[$i] = $GUI_CHECKED Then GUICtrlSetState($CHECKBOX[$i], $GUI_UNCHECKED) Else GUICtrlSetState($CHECKBOX[$i], $GUI_CHECKED) EndIf EndIf Next WEnd #endregion Or do I have to declare each set manually? :S Any help would be appreciated. Thank you in advance.
×
×
  • Create New...