Skip to content

Commit

Permalink
2.0.0.3
Browse files Browse the repository at this point in the history
*Corrected :
- Fallback when Digimirror don't work
- Scraper.exe and Scraper64.exe better update function
- Error Message when Scrape engine doesn't start (google translated)
* Added :
- NO-Into and other matching folder name in systemlist.txt
- Progress bar in UXS Icon
  • Loading branch information
Eretzvaju committed Nov 25, 2016
1 parent cbd0d65 commit a0e4031
Show file tree
Hide file tree
Showing 27 changed files with 2,143 additions and 85 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ Ressources/SSCheck.xml
Scraper.exe
Scraper64.exe

Ressources/systemlist2.txt
766 changes: 766 additions & 0 deletions Include/Exemple/ITaskBarList.au3

Large diffs are not rendered by default.

72 changes: 72 additions & 0 deletions Include/Exemple/ITaskBarList_Example 1.au3
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
#include <ITaskBarList.au3>
#include <ButtonConstants.au3>

$GUI = GUICreate("Thumbnail Button", 250, 100)
GUICtrlCreateButton('ThumbNailClip', 1, 1)
GUISetState(@SW_SHOW)

$oTaskbar = _ITaskBar_CreateTaskBarObj()
$but1 = _ITaskBar_CreateTBButton('Down ToolTip', @ScriptDir & '\Icons\Down.ico', -1, '_Down_Button')
$but2 = _ITaskBar_CreateTBButton('Left ToolTip', @ScriptDir & '\Icons\Left.ico', -1, '_Left_Button')
$but3 = _ITaskBar_CreateTBButton('', @ScriptDir & '\Icons\Left.ico', -1, '_Right_Button');no tooltip
$but4 = _ITaskBar_CreateTBButton('Internet Explorer',@ProgramFilesDir & '\Internet Explorer\iexplore.exe', -1, '_IE_Button');
$but5 = _ITaskBar_CreateTBButton('AutoIt', @AutoItExe, -1, '_AutoIt_Button');
_ITaskBar_AddTBButtons($GUI)

_ITaskBar_SetThumbNailToolTip($GUI, 'ITaskBarList UDF ToolTip Example')

; Set progressbar to normal state (green)
_ITaskBar_SetProgressState($GUI, 2)
For $i = 1 to 100
_ITaskBar_SetProgressValue($GUI, $i)
Sleep(75)
; Set progressbar to Paused state (yellow). Notice that even thought the progressbar is in "paused" state, you can
; still can change the value. Its just an indicator. It doesnt actually pause anything.
If $i = 25 Then _ITaskBar_SetProgressState($GUI, 8);
;Set progressbar to Error state (red). This works the same way as paused state. Its just an indicator.
If $i = 50 Then _ITaskBar_SetProgressState($GUI, 4)
;Set progressbar back to normal state (green)
If $i = 75 Then _ITaskBar_SetProgressState($GUI, 2)
Next

;set progressbar Indeterminate
_ITaskBar_SetProgressState($GUI, 1)
Sleep(3000)
;clear progressbar
_ITaskBar_SetProgressState($GUI)

;Set ThumbNail Preview to only show the button from the GUI
MsgBox(0,'SetThumbNailClip','Notice that the ThumbNail preview shows the whole GUI.', 30, $Gui)
_ITaskBar_SetThumbNailClip($GUI, 0, 0, 80, 30)
MsgBox(0,'SetThumbNailClip','Now look again. You should only see the ThumbNailClip Button', 30, $Gui)
; clear thumbnail clip
_ITaskBar_SetThumbNailClip($GUI)

;Add Icon Overlay
_ITaskBar_SetOverlayIcon($GUI, @ProgramFilesDir & '\Internet Explorer\iexplore.exe')
MsgBox(0,'SetOverlayIcon','Taskbar tab should have and Internet Explorer icon overlay. ', 30, $Gui)
; clear icon overlay
_ITaskBar_SetOverlayIcon($GUI)

Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE

Func _Down_Button()
MsgBox(0, 'Button Pressed', 'Down Button has been Pressed.')
EndFunc ;==>_Down_Button

Func _Left_Button()
MsgBox(0, 'Button Pressed', 'Left Button has been Pressed.')
EndFunc ;==>_Left_Button

Func _Right_Button()
MsgBox(0, 'Button Pressed', 'Right Button has been Pressed.')
EndFunc ;==>_Right_Button

Func _IE_Button()
MsgBox(0, 'Button Pressed', 'IE Button has been Pressed.')
EndFunc

Func _AutoIt_Button()
MsgBox(0, 'Button Pressed', 'AutoIT Button has been Pressed.')
EndFunc
88 changes: 88 additions & 0 deletions Include/Exemple/ITaskBarList_Example 2.au3
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
#region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseX64=y
#endregion ;**** Directives created by AutoIt3Wrapper_GUI ****
#region Header

#include <ITaskBarList.au3>
#include <ButtonConstants.au3>
#include <GuiImageList.au3>
#include <StaticConstants.au3>

$hGUI = GUICreate("ThumbBar", 253, 140)
$cbEnabled = GUICtrlCreateCheckbox("Enabled", 33, 48, 73, 19)
$cbHidden = GUICtrlCreateCheckbox("Hidden", 33, 78, 73, 19)
$cbBackground = GUICtrlCreateCheckbox("No BackGround", 123, 48, 97, 19)
$cbDisabled = GUICtrlCreateCheckbox("Disabled", 33, 108, 73, 19)
$cbInteractive = GUICtrlCreateCheckbox("Non Interactive", 123, 78, 91, 19)
$cbDismission = GUICtrlCreateCheckbox("Dismission Click", 123, 108, 91, 19)
$Label1 = GUICtrlCreateLabel("Button Flags", 72, 12, 108, 28)
GUICtrlSetFont(-1, 14, 400, 0, "MS Sans Serif")
GUICtrlSetState($cbEnabled, $GUI_CHECKED)
GUICtrlSetState($cbEnabled, $GUI_DISABLE)
GUIRegisterMsg($WM_COMMAND, '_MY_WM_COMMAND')
GUISetState(@SW_SHOW)

_ITaskBar_CreateTaskBarObj()

$Wow64 = ""
If @AutoItX64 Then $Wow64 = "\Wow6432Node"
$sPath = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE" & $Wow64 & "\AutoIt v3\AutoIt", "InstallDir") & "\Examples\GUI\Advanced\Images"

$hImageList = _GUIImageList_Create()
_GUIImageList_AddBitmap($hImageList, $sPath & "\Green.bmp")
_GUIImageList_AddBitmap($hImageList, $sPath & "\Blue.bmp")
_ITaskBar_SetTBImageList($hGUI, $hImageList)

$but1 = _ITaskBar_CreateTBButton('IE', @ProgramFilesDir & '\Internet Explorer\iexplore.exe')
$but2 = _ITaskBar_CreateTBButton('Left ToolTip', @ScriptDir & '\Icons\Left.ico')
$but3 = _ITaskBar_CreateTBButton('Right ToolTip', @ScriptDir & '\Icons\Right.ico')
$but4 = _ITaskBar_CreateTBButton('Green', -1, 0)
$but5 = _ITaskBar_CreateTBButton('Blue', -1, 1)
$but6 = _ITaskBar_CreateTBButton('AutoIt', @AutoItExe);
_ITaskBar_AddTBButtons($hGUI)

_ITaskBar_SetOverlayIcon($hGUI, @ProgramFilesDir & '\Internet Explorer\iexplore.exe')

While 1
Switch GUIGetMsg()
Case $cbHidden, $cbEnabled, $cbBackground, $cbDisabled, $cbInteractive, $cbDismission
Global $iFlags = $THBF_ENABLED
If BitAND(GUICtrlRead($cbHidden), $GUI_CHECKED) Then $iFlags += $THBF_HIDDEN
If BitAND(GUICtrlRead($cbBackground), $GUI_CHECKED) Then $iFlags = BitOR($iFlags, $THBF_NOBACKGROUND)
If BitAND(GUICtrlRead($cbDisabled), $GUI_CHECKED) Then $iFlags = BitOR($iFlags, $THBF_DISABLED)
If BitAND(GUICtrlRead($cbInteractive), $GUI_CHECKED) Then $iFlags = BitOR($iFlags, $THBF_NONINTERACTIVE)
If BitAND(GUICtrlRead($cbDismission), $GUI_CHECKED) Then $iFlags = BitOR($iFlags, $THBF_DISMISSONCLICK)
For $i = $but1 To $but6;set all buttons the same flag
_ITaskBar_UpdateTBButton($i, $iFlags)
If @error Then ConsoleWrite(_Get_HRESULT_ERROR_STRING(@error) & @CRLF)
Next
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd

Func _MY_WM_COMMAND($hWnd, $msg, $wParam, $lParam)

Local $iMsg = _WinAPI_HiWord($wParam)

If $iMsg = $THBN_CLICKED Then
Local $iID = _WinAPI_LoWord($wParam)
Switch $iID
Case $but1
ConsoleWrite('IE Button has been Pressed.' & @CRLF)
Case $but2
ConsoleWrite('Left Button has been Pressed.' & @CRLF)
Case $but3
ConsoleWrite('Right Button has been Pressed.' & @CRLF)
Case $but4
ConsoleWrite('Green Button has been Pressed.' & @CRLF)
Case $but5
ConsoleWrite('Blue Button has been Pressed.' & @CRLF)
Case $but6
ConsoleWrite('Autoit Button has been Pressed.' & @CRLF)
EndSwitch
EndIf

Return $GUI_RUNDEFMSG

EndFunc ;==>_MY_WM_COMMAND
23 changes: 23 additions & 0 deletions Include/Exemple/Icons/.svn/all-wcprops
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
K 25
svn:wc:ra_dav:version-url
V 48
/svn/!svn/ver/5/trunk/UDF's/ThumbBar%20UDF/Icons
END
Down.ico
K 25
svn:wc:ra_dav:version-url
V 57
/svn/!svn/ver/5/trunk/UDF's/ThumbBar%20UDF/Icons/Down.ico
END
Left.ico
K 25
svn:wc:ra_dav:version-url
V 57
/svn/!svn/ver/5/trunk/UDF's/ThumbBar%20UDF/Icons/Left.ico
END
Right.ico
K 25
svn:wc:ra_dav:version-url
V 58
/svn/!svn/ver/5/trunk/UDF's/ThumbBar%20UDF/Icons/Right.ico
END
130 changes: 130 additions & 0 deletions Include/Exemple/Icons/.svn/entries
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
10

dir
6
https://autoitscriptprojects.googlecode.com/svn/trunk/UDF's/ThumbBar%20UDF/Icons
https://autoitscriptprojects.googlecode.com/svn



2010-04-11T23:51:16.031991Z
5
[email protected]














cd1fe0c3-9e8d-56e7-66cc-6191dcff4f71

Down.ico
file




2010-04-11T23:51:16.031991Z
182d54d2ce4efd53e2a538a0bcf06937
2010-04-11T23:51:16.031991Z
5
[email protected]
has-props




















1406

Left.ico
file




2010-04-11T23:51:16.031991Z
c6613e1c0f3b9e5a0716ce29ae2bf6d2
2010-04-11T23:51:16.031991Z
5
[email protected]
has-props




















1406

Right.ico
file




2010-04-11T23:51:16.031991Z
297183b63df1e279ac318c072cf16d33
2010-04-11T23:51:16.031991Z
5
[email protected]
has-props




















1406

5 changes: 5 additions & 0 deletions Include/Exemple/Icons/.svn/prop-base/Down.ico.svn-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END
5 changes: 5 additions & 0 deletions Include/Exemple/Icons/.svn/prop-base/Left.ico.svn-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END
5 changes: 5 additions & 0 deletions Include/Exemple/Icons/.svn/prop-base/Right.ico.svn-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Include/Exemple/Icons/Down.ico
Binary file not shown.
Binary file added Include/Exemple/Icons/Left.ico
Binary file not shown.
Binary file added Include/Exemple/Icons/Right.ico
Binary file not shown.
Loading

0 comments on commit a0e4031

Please sign in to comment.