Leaderboard
Popular Content
Showing content with the highest reputation on 03/06/2016 in all areas
-
1 point
-
ISN AutoIt Studio [old thread]
InunoTaishou reacted to ISI360 for a topic
Hi guys! 2011 I posted the first version of the ISN AutoIt Studio in the german autoit forum. Unbelievable how the program has changed in recent years. A big thanks goes to you! Because without you, the ISN would not be what it is. And of course, thanks for those who have supported the ISN with donations! Today I want to bring ISN out of the BETA status and present you the version 1.0. Please Notice here that the ISN thereby may not be automatically designated to be error free. But I believe that with the current version can already be working well! So I wish you lots of fun with the ISN and thanks for your loyalty! Changelog Version 1.0 (translated by google) -> ISN AutoIt Studio: <- ----------------------------------- - Fix: Several bugfixes - Fix: If the action "Go to function" rerun the cursor will automatically jump back to the starting position - Fix: Fixed problem with special characters in the script tree (in UTF8 mode) - Fix: When searching for program updates often the window appeared "New update available" which led to problems. This is now fixed. Fixed issue when searching with umlauts (in UTF8 mode): Fix - - Fix: Fixed problems with umlauts in the parameter editor (in UTF8 mode) - Fix: Fixed a bug by some elements were not in the script tree angeziegt - Fix: Several bugfixes in the script tree. The function "Go to element" now works faster. - Bug fix: The "hot key" list in the program settings can now be sorted - Bugfix: "Create new project" window could not be labeled the text in the box. This is now fixed. - Fix: file associations could not be opened in the ISN. This is now fixed. - NEW: The timer for the project time paused now when the ISN AutoIt Studio has no focus or after 60 seconds there is no input. - NEW: Bottom right in the ISN window there is now a small clock icon. This indicates whether the timer for the project period is currently running or stopped. - NEW: The ISN now works by default in UTF-8 mode. (Can be changed, however, in the program settings) - NEW: Occurs when compiling an error occurs, a message appears if the operation is to be continued or not. (This also applies to the macro "file compiling") - NEW: In the MSG box generator is now in need are given a parent window. There is also now a preview function for the MSG box. - NEW: With the function "to Goto" can now jump back by holding the SHIFT key again to the starting point. - NEW: New Credit Song - NEW: The comment function in the script tree was completely überarbietet. Comments will now be added directly in the script to an element. (Or in the UDF header background) - NEW: color settings revised in the program settings. (And new settings added, such as eg. The color of the input cursor) - NEW: The color settings in the program settings can be exported or imported in a file - NEW: now The ISN AutoIt Studio has an experimental "Dark Theme" (Dark Design). Just in the Program Settings -> Appearance -> Select the Skins "Dark Theme". - NEW: If the cursor is set to a color value (hex value) is automatically displayed a color preview of the cursor. - NEW: Some icons updated - NEW: French language updated (thx to Swirti) - NEW: "Remove Empty Folders from the finished project" can now be disabled in the Compile Settings - NEW: "Make Project Tree" The function is now also available in the context menu of the project tree - NEW: Macro Security: In the program settings, there is now the option "Macro Security". Here you can select the different security levels to run Macros can influence in a project. This should especially be interesting for any who work a lot with foreign projects. So is running "evil" macros can be easily prevented. -> ISN form Studio 2: <- ----------------------------------- - Fix: Several bugfixes - Fix: Extra code the character was "|" not properly stored. This is now fixed. - Fix: Several bugfixes with umlauts - NEW: The ISN form Studio 2 is now UTF-8 compatible. - NEW: In the "order of the controls", the Controls now by clicking to sort on each table column. - NEW: In the program settings, there is now a new option: ignore extra code when testing form - NEW: In an UpDown Control the Control a handle gets generated with GUICtrlCreateUpdown now automatically in the code. ($ NAMEVONCONTORL_Updown) - NEW: If several controls marked, these can now be locked together / Unlocked - NEW: In the GUI properties, there is now the possibility to assign directly GUI events. (For. $ GUI_EVENT_CLOSE example.)1 point -
How to get some parameters about an Edit control?
Gianni reacted to InunoTaishou for a topic
This should do it. The hidden left/top might be off a few pixels because I think the control is accounting for the padding where the text is started (Since the letters aren't directly next to the left side of the edit control and they're not directly below the top of the edit control). Should accomplish what you're looking for. Just a few notes: #include <GUIEdit.au3> #include <Math.au3> #include <GuiScrollBars.au3> #include <WinApi.au3> Func _CheckEdit($hEdit1) Local $hWnd = GUICtrlGetHandle($hEdit1) Local $tRectEdit = _WinAPI_GetClientRect($hWnd) Local $iWidth = DllStructGetData($tRectEdit, "Right") - DllStructGetData($tRectEdit, "Left") Local $iHeight = DllStructGetData($tRectEdit, "Bottom") - DllStructGetData($tRectEdit, "Top") Local $aClientText = _GUICtrlEdit_GetMaxTextSize($hEdit1) Local $tScrollInfo = DllStructCreate($tagSCROLLINFO) Local $nTrackPosH Local $nMaxH Local $nTrackPosV Local $nMaxV Local $aData[6] DllStructSetData($tScrollInfo, "cbSize", DllStructGetSize($tScrollInfo)) DllStructSetData($tScrollInfo, "fMask", $SIF_ALL) _GUIScrollBars_GetScrollInfo($hWnd, $SB_HORZ, $tScrollInfo) $nTrackPosH = DllStructGetData($tScrollInfo, "nTrackPos") $nMaxH = DllStructGetData($tScrollInfo, "nMax") DllStructSetData($tScrollInfo, "cbSize", DllStructGetSize($tScrollInfo)) DllStructSetData($tScrollInfo, "fMask", $SIF_ALL) _GUIScrollBars_GetScrollInfo($hWnd, $SB_VERT, $tScrollInfo) $tScrollInfo = _GUIScrollBars_GetScrollInfoEx($hWnd, $SB_VERT) $nTrackPosV = DllStructGetData($tScrollInfo, "nTrackPos") $nMaxV = DllStructGetData($tScrollInfo, "nMax") $aData[0] = _Max($nTrackPosH, 0) ; Hidden pixels on the left $aData[1] = _Max($aClientText[0] - $aData[0] - $iWidth, 0) ; Hidden pixels on the right $aData[2] = _Max($nTrackPosV * $aClientText[2], 0) ; Hidden pixels over the top $aData[3] = _Max($aClientText[1] - $aData[2] - $iHeight, 0) ; Hidden pixels below bottom $aData[4] = $iWidth ; Width of the visible portion of the Edit (without scrollbar surface) $aData[5] = $iHeight ; Height of the visible portion of the Edit (without scrollbar surface) Return $aData EndFunc ;==>_CheckEdit Func _GUICtrlEdit_GetMaxTextSize($iCtrlId) Local $hWnd = GUICtrlGetHandle($iCtrlId) Local $hDC = _WinAPI_GetDC($hWnd) Local $hFont = _SendMessage($hWnd, $WM_GETFONT) Local $hSelectObject = _WinAPI_SelectObject($hDC, $hFont) Local $iLineCount = _GUICtrlEdit_GetLineCount($hWnd) Local $aReturn[3] = [0, 0, 0] For $iLine = 0 To $iLineCount Local $sText = _GUICtrlEdit_GetLine($hWnd, $iLine) Local $tSize = _WinAPI_GetTextExtentPoint32($hDC, $sText) Local $iWidth = DllStructGetData($tSize, 1) Local $iHeight = DllStructGetData($tSize, 2) $aReturn[0] = _Max($iWidth, $aReturn[0]) $aReturn[1] += $iHeight $aReturn[2] = _Max($iHeight, $aReturn[2]) Next _WinAPI_SelectObject($hDC, $hSelectObject) _WinAPI_ReleaseDC($hWnd, $hDC) ; $aReturn[0] = Longest width of a line ; $aReturn[1] = Total height of the lines top to bottom ; $aReturn[3] = Tallest height of a single line Return $aReturn EndFunc ;==>_GUICtrlEdit_GetMaxTextSize1 point -
I would suggest to take some time and read about the _GDIPlus_* function in the help files. If you have any questions do not hesitate to ask here.1 point
-
Here an example: #include <GDIPlus.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> _GDIPlus_Startup() Global Const $SC_DRAGMOVE = 0xF012 Global $iW, $iH, $hImage, $hBitmap, $hGUI $hImage = _GDIPlus_BitmapCreateFromMemory(_Torus()) $hBitmap = _GDIPlus_BitmapCreateHBITMAPFromBitmap($hImage) $iW = _GDIPlus_ImageGetWidth($hImage) $iH = _GDIPlus_ImageGetHeight($hImage) $hGUI = GUICreate("", $iW, $iH, -1, -1, $WS_POPUP, $WS_EX_LAYERED) GUISetState() _WinAPI_BitmapDisplayTransparentInGUI($hBitmap, $hGUI) GUIRegisterMsg($WM_LBUTTONDOWN, "_WM_LBUTTONDOWN") Do Until GUIGetMsg() = $GUI_EVENT_CLOSE _WinAPI_DeleteObject($hBitmap) _GDIPlus_BitmapDispose($hImage) _GDIPlus_Shutdown() GUIDelete() Func _WinAPI_BitmapDisplayTransparentInGUI(ByRef $hHBitmap, ByRef $hGUI, $iOpacity = 0xFF, $bReleaseGDI = True) If Not BitAND(GUIGetStyle($hGUI)[1], $WS_EX_LAYERED) = $WS_EX_LAYERED Then Return SetError(1, 0, 0) Local $tDim = DllStructCreate($tagBITMAP) If Not _WinAPI_GetObject($hHBitmap, DllStructGetSize($tDim), DllStructGetPtr($tDim)) Then Return SetError(2, 0, 0) Local $tSize = DllStructCreate($tagSIZE), $tSource = DllStructCreate($tagPOINT), $tBlend = DllStructCreate($tagBLENDFUNCTION) Local Const $hScrDC = _WinAPI_GetDC(0), $hMemDC = _WinAPI_CreateCompatibleDC($hScrDC), $hOld = _WinAPI_SelectObject($hMemDC, $hHBitmap) $tSize.X = $tDim.bmWidth $tSize.Y = $tDim.bmHeight $tBlend.Alpha = $iOpacity $tBlend.Format = 1 _WinAPI_UpdateLayeredWindow($hGUI, $hScrDC, 0, DllStructGetPtr($tSize), $hMemDC, DllStructGetPtr($tSource), 0, DllStructGetPtr($tBlend), $ULW_ALPHA) _WinAPI_ReleaseDC(0, $hScrDC) _WinAPI_SelectObject($hMemDC, $hOld) _WinAPI_DeleteDC($hMemDC) If $bReleaseGDI Then _WinAPI_DeleteObject($hHBitmap) Return True EndFunc Func _WM_LBUTTONDOWN($hWnd, $iMsg, $wParam, $lParam) _SendMessage($hGUI, $WM_SYSCOMMAND, $SC_DRAGMOVE, 0) EndFunc ;==>_WM_LBUTTONDOWN ;Code below was generated by: 'File to Base64 String' Code Generator v1.19 Build 2014-11-14 Func _Torus($bSaveBinary = False, $sSavePath = @ScriptDir) Local $Torus $Torus &= 'iVBORw0KGgoAAAANSUhEUgAAAMEAAAC4CAYAAABab4iVAAAAD3RFWHRUaXRsZQAzRCBTaGFwZXOyEsx3AAAAH3RFWHREZXNjcmlwdGlvbgBKYXNjIHNoYXBlcyBsaWJyYXJ5YCDaygAAABF0RVh0QXV0aG9yAEJlbiBGZW5za2Vly0TQAAAAN3RFWHRDb3B5cmlnaHQAMjAwMCBKYXNjIFNvZnR3YXJlIEluYy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuELV9fAAAACx0RVh0Q3JlYXRpb24gVGltZQB0ZXIgMjcgSnVuIDIwMDAgMjI6NTk6MzIgLTAwMDBddm5oAAAAB3RJTUUH0gIMDSQEXWlNsAAAAAlwSFlzAAALEgAACxIB0t1+/AAAAARnQU1BAACxjwv8YQUAAEpISURBVHja7X0JuGVXVeY6w31VlUplqIwkZABCBjIxyRAkCLaJBkQEQWm1RZuP/roVsbVp2qFBP21t6W6UFtsGQYI4IK2MMgQQyJyQOSFJ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RN8cCo8UEohWLgb5NCsSzRsrZDgQRk4QuUpT4fk6BuIkNsv0kSQXAeoJ0EsxnUQA5AFSMB7zd5gCYpVDTsD4sLwuzRsicA2aFCArJQHuRD1jEyhKX/qHFAE/gXkgQx0If7MSIMA39TXBDuHzK2nAPjNvPdjyGeGWoLjtvA3yaLAAbBv9DZIT7eJoPajo0bFxwypb+0Q5UEbDEitJEhBHkuPidGCIDBuABgcUkQS5OGwCcroJkQo8QFhxz42Q51ErCNQoa2Y8MC4ibwL3R2iNfDAuQ2GXTYgp/tcCEB2zAJNEwWATR7AwiOASwMCXi7LUBua0oRk0FN0uiwsMONBGyhBIqBP+YJQgnU5g34OogcH9VickgeV5HtJlI0ESIkw2EDfrbDlQRsUv60AT88DhAnBUC89J8NAdjCGCA81lR5NiwgDusKDnnZ02SHOwnYRs0MNTWTaIsL5LHZ2LDgOLY9CvBD6XTY2goJBk16BoDhnmCUOoL5IsGodQVNGaLDVvK02QoJmq0N9G0eYLE9Aa/b2hGtlPottkKC0SyWGeL9SfIEfExBPJZYsYitkGB2NumeYMXGsBUSzJ8tpSdYsTnYCgkWx+aLBCu2Yiu2Yiu2Yiu2Yiu2Yiu2Yiu2Yiu2Yiu2Yiu2Yiu2Yiu2Yiu2Yiu2YvNn/x8H6goDo7OU7wAAAABJRU5ErkJggg==' Local $bString = Binary(_WinAPI_Base64Decode($Torus)) If $bSaveBinary Then Local $hFile = FileOpen($sSavePath & "\Torus.png", 18) FileWrite($hFile, $bString) FileClose($hFile) EndIf Return $bString EndFunc ;==>_Torus Func _WinAPI_Base64Decode($sB64String) Local $aCrypt = DllCall("Crypt32.dll", "bool", "CryptStringToBinaryA", "str", $sB64String, "dword", 0, "dword", 1, "ptr", 0, "dword*", 0, "ptr", 0, "ptr", 0) If @error Or Not $aCrypt[0] Then Return SetError(1, 0, "") Local $bBuffer = DllStructCreate("byte[" & $aCrypt[5] & "]") $aCrypt = DllCall("Crypt32.dll", "bool", "CryptStringToBinaryA", "str", $sB64String, "dword", 0, "dword", 1, "struct*", $bBuffer, "dword*", $aCrypt[5], "ptr", 0, "ptr", 0) If @error Or Not $aCrypt[0] Then Return SetError(2, 0, "") Return DllStructGetData($bBuffer, 1) EndFunc ;==>_WinAPI_Base64Decode1 point
-
And where's the difficult to replace back the @CrLf to <br>? $txt = '<img alt="image" src="//imghost.com/id_rk3FyZ.jpg"><br><br><b>Philosophy of Education and Its Importance</b><br><br>Behind every school and every teacher is a set of related beliefs--a philosophy of education--that influences what and how students are taught.<br><br>A philosophy of education represents answers to questions about the purpose of schooling, a teacher''s role, and what should be taught and by what methods.<br> <br><span style="color: red;"><b>Note</b></span></b></span><br><br>As an academic field, philosophy of education is "the philosophical study of education and its problems...its central subject matter is education, and its methods are those of philosophy". "The philosophy of education may be either the philosophy of the process of education or the philosophy of the discipline of education.<br><br><a class="ajaxLink"href="https://en.wikipe***.org/wiki/Philosophy_of_edu****" rel="nofollow">Homepage</a></div>' $txt = StringReplace($txt, "<br>", @crlf) $txt = StringRegExpReplace($txt, '(?s)<a.*?</a>|<.*?>', "") $txt = StringReplace($txt, @crlf, "<br>") Msgbox(0,"replaced back", $txt)1 point
-
You have my permission to make your little IRC and be the big boss of it. Good luck, and god speed.1 point
-
I'm sorry for the JSON, I had 2 versions... I initially used FileOpen/Read with _WinHttpOpenRequest, before using _WinHttpSimpleFormFill: I forgot to remove it in posting the code. Now I rewrote the script with only WinHttpSimpleFormFill: it works. Thank you.1 point
-
Could something like this be correct ? $txt = '<img alt="image" src="//imghost.com/id_rk3FyZ.jpg"><br><br><b>Philosophy of Education and Its Importance</b><br><br>Behind every school and every teacher is a set of related beliefs--a philosophy of education--that influences what and how students are taught.<br><br>A philosophy of education represents answers to questions about the purpose of schooling, a teacher''s role, and what should be taught and by what methods.<br> <br><span style="color: red;"><b>Note</b></span></b></span><br><br>As an academic field, philosophy of education is "the philosophical study of education and its problems...its central subject matter is education, and its methods are those of philosophy". "The philosophy of education may be either the philosophy of the process of education or the philosophy of the discipline of education.<br><br><a class="ajaxLink"href="https://en.wikipe***.org/wiki/Philosophy_of_edu****" rel="nofollow">Homepage</a></div>' $txt = StringReplace($txt, "<br>", @crlf) $txt = StringRegExpReplace($txt, '(?s)<a.*?</a>|<.*?>', "") Msgbox(0,"", $txt)1 point
-
Please help complete code of Window Services
sukendn reacted to JLogan3o13 for a topic
@sukendn your code runs, but barely; I see a number of issues right off the bat. I would highly suggest that you download the full version of SciTE so you can run CTRL+F5 on your script and resolve the issues. Once you do this, I think the resolution of your other issues with come much easier.1 point -
Yo Guys, I have found a solution. DirectSound UDF by eukalyptus. EZ PZ1 point
-
The Syntax is _FFOpenURL("file:///C/:Help_Folder/test.htm")1 point
-
To follow up on this... If you are using the release version of Windows 10 (10240?), the _Timer_GetIdleTime() is indeed reset when using a Game Controller. Microsoft considers this a bug, so... In the big november update (1511), they fixed this so Game Controllers no longer reset the _Timer_GetIdleTime() (And your screensaver goes on if you are only using a game controller...). So the reason for my problems was because the BlissBox was sending out a signal every 16ms. With the release version of Windows 10, this reset the _Timer_GetIdleTime() every 16ms. I've updated to Windows 10 version 1511 and the problem is gone. Of course, now _Timer_GetIdleTime() is pretty useless if you are sitting with a game controller only, but that is not Autoits fault but a design decision from Microsoft.1 point
-
[Need help] Getting hwnd using PID?
VenusProject2 reacted to JoHanatCent for a topic
Just an Example: Global $PID2 = "" $Amow = 100 $hWnd2 = "" $aPID = Run("Notepad.exe") Sleep($Amow) $theWinlist = Winlist() Do For $i = 1 To $theWinlist[0][0] If $theWinlist[$i][0] <> "" Then $iPID2 = WinGetProcess($theWinlist[$i][1]) If $iPID2 = $aPID Then $hWnd2 = $theWinlist[$i][1] ExitLoop EndIf EndIf Next Until $hWnd2 <> 0 MsgBox(0, "Handle is", $hWnd2) WinClose($hWnd2)1 point -
Hi! @TempDir or the system Environment %temp% normaly points to c:\D&S\<user>\LocalSettings\temp where the user by default has modify rights, because it is stored in his profile. Regards, Hannes1 point
-
@Edward Mendelson Download Scite4AutoIt and install it (if it's not already done) Right click on your script and select "Compile with options" then go to "Obfuscator" tab. Check the checkbox and write "/Striponly" as parameter. Click on compile and open the obfuscated script Tidy it (Ctrl+T) and you have only used functions and variables ! Maybe theres easier way to do that...ask to Jos for it >_< Cheers, FireFox.1 point
-
merge picture file that i used in my GUI in .exe
MR-AMiNE reacted to quaizywabbit for a topic
see FileInstall() in the Help file........1 point