Leaderboard
Popular Content
Showing content with the highest reputation on 02/27/2025 in all areas
-
Just uploaded SciTEx86.zip & SciTEx64.zip which contain the Latest SciTE 5.5.5 versions released 25 February 2025, for those that like to use the latest version of SciTE Full. This will also be part of the final update soon of SciTE4AutoIt3.2 points
-
This is the tasks.json content included in the installer: { "version": "2.0.0", "tasks": [ { "label": "Add AutoIt Includes", "type": "shell", "command": "powershell", "args": ["-File", "${config:autoit.aiPath}/SciTE/AutoIt3Wrapper/run_autoit3wrapper.ps1", "-AutoitPath", "${config:autoit.aiPath}", "-Options", "/addincludes", "-ScriptFile", "${file}"], "presentation": { "reveal": "always", "panel": "shared", "echo": false, "showReuseMessage": false, "clear": true }, "problemMatcher": [], "detail": "Add missing includes to the AutoIt script" }, { "label": "Run Au3Stripper", "type": "shell", "command": "powershell", "args": ["-File", "${config:autoit.aiPath}/SciTE/AutoIt3Wrapper/run_autoit3wrapper.ps1", "-AutoitPath", "${config:autoit.aiPath}", "-Options", "/au3stripper", "-ScriptFile", "${file}"], "presentation": { "reveal": "always", "panel": "shared", "echo": false, "showReuseMessage": false, "clear": true }, "problemMatcher": [], "detail": "Strip/Merge your script" } ] } ... so unsure what is missing there as it does contain those full paths?1 point
-
Visual Studio Code Extension currently available and future plans for SciTE?
WildByDesign reacted to SOLVE-SMART for a topic
Thanks, I think the pull request regarding this would be easy. But it could be the case that there are more functions involved which can be analyzed by debugging. Maybe I can check it too (tomorrow). Next step, as you already mentioned, calling @LoganCH for this. But unfortunately he did not give us any sign for weeks, no matter on which channel (here on the forum or on GitHub). I hope he's doing well 🤔 . Best regards Sven1 point -
Visual Studio Code Extension currently available and future plans for SciTE?
WildByDesign reacted to donnyh13 for a topic
It seems so. https://code.visualstudio.com/docs/reference/variables-reference#_environment-variables1 point -
Bad suggestion. VB6 uses stdcall by default, and the OP shows that cdecl alternative was not used.1 point
-
CryptoNG UDF - Cryptography API: Next Gen
TheXman reacted to argumentum for a topic
As is, it is not. You could take all you posted here and put it in the examples section, and in the place of this post, a link to the examples area post. Also add a link in the code for users to find the includes #include <bignum.au3> ; https://get it from here and add comments for the reader of the post, to have context as otherwise, ...what is this and what does it solve. Thanks1 point -
Visual Studio Code Extension currently available and future plans for SciTE?
SOLVE-SMART reacted to Jos for a topic
Yes & No 🙂 Thanks, but I was a little confused as I had that already in my earlier post on keybindings.json and just got confused with tasks.json am was looking at to see it there is a simple fix for the aiPath. I also would like that the AutoIt3 specific tasks are only shown when editing an AutoIt3 file.1 point -
Visual Studio Code Extension currently available and future plans for SciTE?
Jos reacted to SOLVE-SMART for a topic
Hi @Jos, you can set editorLangId as the "when" value in the keybindings.json file. For example to comment-in / comment-out a line only for javascript, it would look like this: { "key": "ctrl+numpad1", "command": "editor.action.commentLine", "when": "editorTextFocus && !editorReadonly && editorLangId == 'javascript'" } CTRL+Numpad1 will comment-in/out for JS, but not for all other languages. So you can use another shortcut for other languages too ... etc. I hope this is what you're looking for 🤝 ? Best regards Sven1 point -
You might need to use cdecl.1 point
-
Visual Studio Code Extension currently available and future plans for SciTE?
Jos reacted to SOLVE-SMART for a topic
Similar to @donnyh13, I had not enough time. But I try to give you @Jos feedback soon. Best regards Sven1 point -
Sorry Jos. Still working on getting the basics of VSCode down, before I can do much for testing.1 point
-
Visual Studio Code Extension currently available and future plans for SciTE?
Jos reacted to WildByDesign for a topic
Another suggestion, @Jos, would be adding the keybindings.json file as you suggested to me recently. That way the user can use the same Ctrl+Shift+Z for adding missing Includes. I am not as familiar with Au3Stripper though or whether or not the extension already has a key combo for it.1 point -
Another AutoIt extension for Visual Studio Code
genius257 reacted to SOLVE-SMART for a topic
You're welcome. Fair enough 🤝 . I believe both will be available. The CTRL+Click and the reference-peek functionality - which would made both of us happy 😀 . Let's see what @genius257 can do. Best regards Sven1 point -
Hi Sven, thanks for your detailed explanations, I didn't know about this feature. Yes, I was talking about Ctrl+Shift+F (and Ctrl+F as well depending on context). Even if this feature is very useful, I still think it shouldn't be the default behaviour (still in my opinion) as when I "Ctrl+Click" a variable, I'm used to instantly reach its definition. But yes, this feature should be available. Regards !1 point
-
Another AutoIt extension for Visual Studio Code
genius257 reacted to SOLVE-SMART for a topic
In my opinion it would be great to get a collection listed. You already mentioned: like for javascript 👌 . Thanks for all your effort and keep your enthusiasm - great 😀 . Best regards Sven1 point -
Here another approach to display large MsgBox (based only on mouse). I had this code for WMI when lots of properties need to be shown : #include <Constants.au3> #include <WinAPIProc.au3> #include <WinAPISys.au3> #include <WindowsConstants.au3> #include <WinAPIConstants.au3> Opt("MustDeclareVars", True) Global Const $tagMOUSEHOOKSTRUCT = $tagPOINT & ";hwnd hwnd;uint wHitTestCode;ulong_ptr dwExtraInfo;dword mouseData;" Global $hHook Example() Func Example() Local $hStub = DllCallbackRegister(WH_MOUSE, "LRESULT", "int;wparam;lparam") $hHook = _WinAPI_SetWindowsHookEx($WH_MOUSE, DllCallbackGetPtr($hStub), 0, _WinAPI_GetCurrentThreadId()) Local $sList = "First line here" & @CR For $i = 2 To 200 $sList &= "Line " & $i & @CR Next $sList &= "Last line here" Local $iRep = MsgBox($MB_OKCANCEL, "Example", $sList) _WinAPI_UnhookWindowsHookEx($hHook) DllCallbackFree($hStub) EndFunc ;==>Example Func WH_MOUSE($iMsg, $wParam, $lParam) If $iMsg Then Return _WinAPI_CallNextHookEx($hHook, $iMsg, $wParam, $lParam) Local $tMouse = DllStructCreate($tagMOUSEHOOKSTRUCT, $lParam) Local $hWnd = _WinAPI_GetAncestor($tMouse.hwnd, $GA_ROOT) If $wParam = $WM_MOUSEWHEEL Then Local $iDir = _WinAPI_HiWord($tMouse.mouseData) WinMove($hWnd, "", WinGetPos($hWnd)[0], WinGetPos($hWnd)[1] + ($iDir / 3)) ElseIf $wParam = $WM_LBUTTONDOWN Then If $tMouse.hwnd = $hWnd Then WinMove($hWnd, "", WinGetPos($hWnd)[0], 0) ElseIf $wParam = $WM_RBUTTONDOWN Then WinMove($hWnd, "", WinGetPos($hWnd)[0], @DesktopHeight - WinGetPos($hWnd)[3] - 50) EndIf Return _WinAPI_CallNextHookEx($hHook, $iMsg, $wParam, $lParam) EndFunc ;==>WH_MOUSE Left click will bring you to top Right click will bring you to bottom Mouse wheel to scroll the MsgBox Enjoy !1 point
-
Try this: #include <GDIPlus.au3> Global $hGUI = GUICreate("", 512, 512) _GDIPlus_Startup() $hArrowTexture = _GDIPlus_BitmapCreateFromFile(@ScriptDir & "\arrow.png") $iW = _GDIPlus_ImageGetWidth($hArrowTexture) $iH = _GDIPlus_ImageGetHeight($hArrowTexture) $iW2 = $iW / 2 $iH2 = $iH / 2 $hGraphic = _GDIPlus_GraphicsCreateFromHWND($hGUI) $hBitmap = _GDIPlus_BitmapCreateFromGraphics(512, 512, $hGraphic) $hBackbuffer = _GDIPlus_ImageGetGraphicsContext($hBitmap) $hArrowBitmap = _GDIPlus_BitmapCreateFromGraphics($iW, $iW, $hBackbuffer) $hArrowGC = _GDIPlus_ImageGetGraphicsContext($hArrowBitmap) $hArrowMatrix = _GDIPlus_MatrixCreate() GUISetState() AdlibRegister("Rotate", 20) While 1 Switch GUIGetMsg() Case -3 AdlibUnRegister("Rotate") _GDIPlus_MatrixDispose($hArrowMatrix) _GDIPlus_GraphicsDispose($hGraphic) _GDIPlus_GraphicsDispose($hArrowGC) _GDIPlus_BitmapDispose($hBitmap) _GDIPlus_BitmapDispose($hArrowBitmap) _GDIPlus_BitmapDispose($hArrowTexture) _GDIPlus_ImageDispose($hBackbuffer) _GDIPlus_Shutdown() Exit EndSwitch WEnd Func Rotate() _GDIPlus_GraphicsClear($hBackbuffer, 0xFF6495ED) _GDIPlus_MatrixTranslate($hArrowMatrix, $iW2, $iW2) ; move it back to 0, 0 since (112 / 2) and (37 / 2) are it's middle origin point _GDIPlus_MatrixRotate($hArrowMatrix, 1) ; rotate it around it's middle origin point _GDIPlus_GraphicsSetTransform($hArrowGC, $hArrowMatrix) _GDIPlus_MatrixTranslate($hArrowMatrix, -$iW2, -$iW2) _GDIPlus_GraphicsClear($hArrowGC, 0xFFCCCCCC) ; show the GC _GDIPlus_GraphicsDrawImageRect($hArrowGC, $hArrowTexture, -$iW2, -$iH2, $iW, $iH) ; place the arrow at the center of it's GC _GDIPlus_GraphicsDrawImage($hBackbuffer, $hArrowBitmap, 256 - $iW2, 256 - $iW2) ; move it's GC by an offset so the image is at the correct XY using it's origin _GDIPlus_GraphicsDrawImageRect($hGraphic, $hBitmap, 0, 0, 512, 512) EndFunc Br, UEZ1 point