Jump to content
Sign in to follow this  
autosc

xskin question

Recommended Posts

autosc

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

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

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)


NEWHeader1.png

Share this post


Link to post
Share on other sites
autosc

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

XSkinMsgBoxOK()

only has one button... its "OK"

remember there is XSkinMsgBox() with the two buttons ( kinda like the input box )

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
AzKay

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×