autosc 0 Report post Posted January 25, 2007 can i use this script with xskin ProgressOn("Progress Meter", "Increments every second", "0 percent") For $i = 10 to 100 step 10 sleep(1000) ProgressSet( $i, $i & " percent") Next ProgressSet(100 , "Done", "Complete") sleep(500) ProgressOff() 2. XSkinMsgBoxOK($MBTitle, $MBText) How can i change the messages on the buttons "Ok " and "cancel ", ? Share this post Link to post Share on other sites
AzKay 0 Report post Posted January 25, 2007 1 ) Yes, but instead of having Progress* functions, Make the GUI, using koda, or whatnot, then change the functions in the code, eg, GUICreate(), GUICtrlCreateProgress() to XSkin* functions. 2 ) Study XSkinMsgBoxOK() in the XSkin.au3, Make the changes yourself. Isnt too hard # MY LOVE FOR YOU... IS LIKE A TRUCK- # Share this post Link to post Share on other sites
Valuater 107 Report post Posted January 25, 2007 Like AzKay said... #1 You would need to create an XSkin GUI with a Progress #include <XSkin.au3> ; folder of skin $Skin_Folder = @ScriptDir & "\Skins\Black-Yellow" $XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $Skin_Folder) $Progress1 = XSkinProgress(90, 140, 200, 20) ; mouse-over color automatic GUICtrlSetData($Progress1,50) GUISetState() While 1 Sleep(10) WEnd and #2 you would need to change the text inside XSkin.au3 for those message box buttons 8) Share this post Link to post Share on other sites
autosc 0 Report post Posted January 25, 2007 Like AzKay said... #1 You would need to create an XSkin GUI with a Progress #include <XSkin.au3> ; folder of skin $Skin_Folder = @ScriptDir & "\Skins\Black-Yellow" $XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $Skin_Folder) $Progress1 = XSkinProgress(90, 140, 200, 20) ; mouse-over color automatic GUICtrlSetData($Progress1,50) GUISetState() While 1 Sleep(10) WEnd and #2 you would need to change the text inside XSkin.au3 for those message box buttons 8) azay it is easy .... Valuter : you would need to change the text inside XSkin.au3 for those message box buttons I assigned variables in the UDF(modified) ..like this and worked for input dialogs $OKc = "myok" $CANCELc = "mycancel" $IBText = XSkinInputBox("New Document", "Give a name for your document","") but this not worked in message dialogs . XSkinMsgBoxOK still configuring what to do ... Share this post Link to post Share on other sites
Valuater 107 Report post Posted January 25, 2007 XSkinMsgBoxOK() only has one button... its "OK" remember there is XSkinMsgBox() with the two buttons ( kinda like the input box ) 8) Share this post Link to post Share on other sites
AzKay 0 Report post Posted January 25, 2007 I dont understand. I know its easy. ;3 # MY LOVE FOR YOU... IS LIKE A TRUCK- # Share this post Link to post Share on other sites