Custom Query
Results (28 - 30 of 3841)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#3914 | No Bug | SciTE-Lite 4.4.6 bad font | anonymous | |
Description |
on new version SciTE-Lite have bad font, how I can fix it? or how I can change it back to previous font/fixedsys |
|||
#3909 | Completed | _DebugReportData to report Array column formatted | Jpm | Jpm |
Description |
Can also be extended to handle other type as _DebugReportVAr() @@ Debug(98) : {Array 2D} -> $Array2D display by columns [5][2] Row Col 0 Col 1 # 0 0,0 0,1 # 1 1,0 1,1 # 2 2,0 2,1 # 3 3,0 3,1 # 4 4,0 4,1 instead of @@ Debug(99) : {Array 2D} -> $Array2D by _DebugReportVar()[5][2] [0] "0,0" "0,1" [1] "1,0" "1,1" [2] "2,0" "2,1" [3] "3,0" "3,1" [4] "4,0" "4,1" |
|||
#3908 | Fixed | using #AutoIt3Wrapper_Res_Icon_Add with UNC path | Jos | mychaelsoft@… |
Description |
This script splashes a small image at coords 100,100. #AutoIt3Wrapper_Res_File_Add works for a local path, but not a network path. Other wrapper commands like #AutoIt3Wrapper_Res_Icon_Add work with UNC, but File_Add doesn't. #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseUpx=y #AutoIt3Wrapper_Res_Icon_Add=\\FILESERVER\Scripts\Resources\DCL_53x53_16.ico,8 #AutoIt3Wrapper_Res_File_Add=\\FILESERVER\Scripts\Resources\DCL_53x53_16.ico, rt_rcdata, DCL_LOGO_ICON_UNC #AutoIt3Wrapper_Res_File_Add=C:\Users\michaelp\OneDrive - Davis C\Pictures\DCL_53x53_16.ico, rt_rcdata, DCL_LOGO_ICON_LOCAL #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include-once #include "\\FILESERVER\Scripts\Include\ResourcesEx.au3" #include <GuiConstants.au3> #include <WinAPIConstants.au3> #include <WinAPISysWin.au3> ;Added to fix error in ResourcesEx.au3 Global $hSplashlogoImage = 0 Global $bResource=InputBox("Choose #AutoIt3Wrapper_Res_File_Add source", "1. UNC path" & @CRLF & "2. Local path") If $bResource = "1" Then $hSplashlogoImage = _Resource_GetAsImage("DCL_LOGO_ICON_UNC") ; this fails If $bResource = "2" Then $hSplashlogoImage = _Resource_GetAsImage("DCL_LOGO_ICON_LOCAL") _SplashGUILogoButton(100, 100) Sleep (3000) ;Most of the following code, credit to user nend @ https://www.autoitscript.com/forum/topic/107746-splashimageon/ Func _SplashGUILogoButton($LogoHorizontalPos, $LogoVerticalPos) _GDIPlus_Startup() $hSplashGUILogo = GUICreate("SplashGUILogo", 16, 16, $LogoHorizontalPos, $LogoVerticalPos, $WS_POPUP, BitOR($WS_EX_LAYERED, $WS_EX_TOOLWINDOW, $WS_EX_TOPMOST)) _SetBitmap($hSplashGUILogo, $hSplashlogoImage, 255, 16, 16) ; DCL dog icon $hBack = GUICtrlCreateLabel("", 0, 0, 16, 16) ; empty label control GUICtrlSetState(-1, $gui_disable) GUISetState(@SW_SHOWNA, $hSplashGUILogo) _GDIPlus_Shutdown() Return ($hSplashGUILogo) EndFunc ;==>_SplashGUILogoButton Func _SetBitmap($hGUI, $hImage, $iOpacity, $n_width = 200, $n_height = 200) ; To support _$hSplashGUILogo Local $hScrDC, $hMemDC, $hBitmap, $hOld, $pSize, $tSize, $pSource, $tSource, $pBlend, $tBlend $hScrDC = _WinAPI_GetDC(0) $hMemDC = _WinAPI_CreateCompatibleDC($hScrDC) $hBitmap = _GDIPlus_BitmapCreateHBITMAPFromBitmap($hImage) $hOld = _WinAPI_SelectObject($hMemDC, $hBitmap) $tSize = DllStructCreate($tagSIZE) $pSize = DllStructGetPtr($tSize) DllStructSetData($tSize, "X", $n_width) DllStructSetData($tSize, "Y", $n_height) $tSource = DllStructCreate($tagPOINT) $pSource = DllStructGetPtr($tSource) $tBlend = DllStructCreate($tagBLENDFUNCTION) $pBlend = DllStructGetPtr($tBlend) DllStructSetData($tBlend, "Alpha", $iOpacity) DllStructSetData($tBlend, "Format", 1) _WinAPI_UpdateLayeredWindow($hGUI, $hScrDC, 0, $pSize, $hMemDC, $pSource, 0, $pBlend, $ULW_ALPHA) _WinAPI_ReleaseDC(0, $hScrDC) _WinAPI_SelectObject($hMemDC, $hOld) _WinAPI_DeleteObject($hBitmap) _WinAPI_DeleteDC($hMemDC) EndFunc ;==>_SetBitmap ;}}} |
Note: See TracQuery
for help on using queries.