Jump to content

_UskinLibrary.au3 (UDF) - Skin with DLL free (no ads) and fully functional!


Recommended Posts

Posted (edited)

Just one more function :graduated:

; #FUNCTION# ====================================================================================================================
; Name ..........: _USkinApplyColorTheme
; Description ...: Apply color theme using hue and saturation.
; Syntax ........: _USkinApplyColorTheme($fHue, $fSaturation  )
; Parameters ....: $fHue          - hue. value range :0.0-360
;                 $fSaturation   - saturation. value range :0.0-360
; Return values .: Success   - Returns 1
;      Failure  - Returns 0
; Author(s) .....: Ahmet
; Modified ......:
; Remarks .......:
; Related .......:
; Link ..........:
; Example .......: No
; ===============================================================================================================================
Func _USkinApplyColorTheme($fHue, $fSaturation)
If $hUSkinDLLHandle = -1 Then Return 0
Local $result = DllCall($hUSkinDLLHandle, "int", "USkinApplyColorTheme", "float", $fHue, "float", $fSaturation)
If @error Then Return SetError(0,0,0)
Return 1
EndFunc   ;==>_USkinApplyColorTheme
Edited by ahmet
  • 2 weeks later...
Posted

I have a problem, i can't explain it good but i hope you understand me.

in your examples you are using embedded USkin.dll file right? I don't want to use it as embedded, coz i'm going to use this skins at some kind of huge project and i'm using about 4 a3x files coz i want more than 1 loop at once.

Now i want to use one of this skins for all of them, i can use your example but it will increase my a3x's file size.

I hope you understand me coz i can't explain it better :graduated:

Best Regards

Posted (edited)

Ok, I understand...

1- Remove this line #include "_USkinDLL.au3" in _UskinLibrary.au3

2- Change this:

Func _USkin_LoadDLL()
    Local $sDllName
 
    $sDllName = _USkinDLL(True)
to this:

Func _USkin_LoadDLL()
    Local $sDllName
 
    $sDllName = @Scriptdir & "\USkinDLL.dll"
3- To get "USkinDLL.dll", put this line in the top of your _UskinDll.au3: _USkinDLL(True, @Scriptdir), then run!

4- That's all

João Carlos.

Edited by jscript

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

  • 3 weeks later...
Posted

Hi guys

I had a virus problem on my laptop the other day amnd when i ran superantispyware it flagged uskin dll and the skins as trojans. im wondering if anyone else has done any scans or found anything similar. Im thinking that whatever infection i had might have infected those files also.

On a side note this is AWESOME!!!!!!!!!!!!!!

Thanks guys

Drunken Frat-Boy Monkey Garbage

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...