All Activity

This stream auto-updates   

  1. Past hour
  2. Well when you use this version, then this would be the appropriate place. Jos
  3. I have zero knowledge about Altium, sorry. If it uses XML as file format (like Eagle does), you may have much better time parsing from there.
  4. Today
  5. Hi, I'm a newbie in autoIT. I'm trying to create a countdown timer and get some problems. First, I'm finding for a way to pause count script when press "Pause". I tried several ways but nothing had worked. Second, I want to hide the main form to system tray. If the timer is pause, it works well, but when counting down, it only minimizes to taskbar. Below is my script. Could anyone help me? Sorry for my English grammar #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> Opt("GUIOnEventMode", 1) Opt("TrayOnEventMode", 1) Global $cIdTrayRestore Global $cIdTrayExit = TrayCreateItem("Exit") Opt("TrayMenuMode", 1) Global $hWnd = GUICreate("Time to die", 215, 103, 4, 591) Global $hour = GUICtrlCreateInput("00", 24, 8, 38, 40, BitOR($GUI_SS_DEFAULT_INPUT, $ES_CENTER, $ES_NUMBER)) GUICtrlSetFont(-1, 18, 800, 0, "Segoe UI Semibold") GUICtrlSetColor(-1, 0x000000) Global $min = GUICtrlCreateInput("00", 88, 8, 38, 40, BitOR($GUI_SS_DEFAULT_INPUT, $ES_CENTER, $ES_NUMBER)) GUICtrlSetFont(-1, 18, 800, 0, "Segoe UI Semibold") GUICtrlSetColor(-1, 0x000000) Global $second = GUICtrlCreateInput("00", 152, 8, 38, 40, BitOR($GUI_SS_DEFAULT_INPUT, $ES_CENTER, $ES_NUMBER)) GUICtrlSetFont(-1, 18, 800, 0, "Segoe UI Semibold") GUICtrlSetColor(-1, 0x000000) Global $btnRun = GUICtrlCreateButton("Run", 48, 64, 51, 25) GUICtrlSetFont(-1, 11, 800, 0, "Segoe UI Semibold") GUICtrlSetColor(-1, 0x000000) Global $btnCancel = GUICtrlCreateButton("Cancel", 120, 64, 51, 25) GUICtrlSetFont(-1, 11, 800, 0, "Segoe UI Semibold") GUICtrlSetColor(-1, 0x000000) GUICtrlCreateLabel(":", 72, 8, 10, 34) GUICtrlSetFont(-1, 16, 800, 0, "Segoe UI") GUICtrlSetColor(-1, 0x000000) GUICtrlCreateLabel(":", 136, 8, 10, 34) GUICtrlSetFont(-1, 16, 800, 0, "Segoe UI") GUICtrlSetColor(-1, 0x000000) GUISetState(@SW_SHOW) #Region ======= thêm GUISetOnEvent($GUI_EVENT_CLOSE, "exitGUI") GUISetOnEvent($GUI_EVENT_MINIMIZE, "hideToTray") TrayItemSetOnEvent($cIdTrayExit, "exitGUI") GUICtrlSetOnEvent($btnRun, "calcTime") GUICtrlSetOnEvent($btnCancel, "resetGUI") #EndRegion ======= thêm While 1 Global $countClick = 0 If GUIGetMsg() = $btnRun Then $countClick += 1 Sleep(10) WEnd Func calcTime() GUICtrlSetStyle($hour, BitOR($ES_READONLY, $ES_CENTER)) GUICtrlSetStyle($min, BitOR($ES_READONLY, $ES_CENTER)) GUICtrlSetStyle($second, BitOR($ES_READONLY, $ES_CENTER)) Local $_hour = GUICtrlRead($hour), $_min = GUICtrlRead($min), $_sec = GUICtrlRead($second) If (($_hour > 24 Or $_hour == "") Or ($_min > 59 Or $_min == "") Or ($_sec > 59 Or $_sec == "")) Then MsgBox(16, "", "Wrong time format") GUICtrlSetStyle($hour, BitOR($GUI_SS_DEFAULT_INPUT, $ES_NUMBER, $ES_CENTER)) GUICtrlSetStyle($min, BitOR($GUI_SS_DEFAULT_INPUT, $ES_NUMBER, $ES_CENTER)) GUICtrlSetStyle($second, BitOR($GUI_SS_DEFAULT_INPUT, $ES_NUMBER, $ES_CENTER)) Else GUICtrlSetData($btnRun, "Stop") Local $timeRun = ($_hour * 3600 + $_min * 60 + $_sec) While $timeRun > 0 AdlibRegister("_GUIGetMsg", 40) $timeRun -= 1 $_hour = Int($timeRun / 3600) $_min = Int($timeRun / 60 - $_hour * 60) $_sec = Int($timeRun - $_hour * 3600 - $_min * 60) GUICtrlSetData($hour, StringFormat("%02u", $_hour)) GUICtrlSetData($min, StringFormat("%02u", $_min)) GUICtrlSetData($second, StringFormat("%02u", $_sec)) Sleep(990) If $countClick = 2 Then ExitLoop AdlibUnRegister("_GUIGetMsg") WEnd GUICtrlSetData($btnRun, "Run") If (GUICtrlRead($hour) = 0 And GUICtrlRead($min) = 0 And GUICtrlRead($second) = 0) Then MsgBox(64, "", "Time's out", 3) GUICtrlSetStyle($hour, BitOR($GUI_SS_DEFAULT_INPUT, $ES_NUMBER, $ES_CENTER)) GUICtrlSetStyle($min, BitOR($GUI_SS_DEFAULT_INPUT, $ES_NUMBER, $ES_CENTER)) GUICtrlSetStyle($second, BitOR($GUI_SS_DEFAULT_INPUT, $ES_NUMBER, $ES_CENTER)) EndIf EndIf EndFunc ;==>calcTime Func resetGUI() GUICtrlSetData($hour, "00") GUICtrlSetData($min, "00") GUICtrlSetData($second, "00") EndFunc ;==>resetGUI Func hideToTray() $cIdTrayRestore = TrayCreateItem("Restore") TrayItemSetOnEvent($cIdTrayRestore, "restoreGUI") WinSetState($hWnd, "", @SW_HIDE) EndFunc ;==>hideToTray Func exitGUI() Exit EndFunc ;==>exitGUI Func restoreGUI() ;~ If $cIdTrayRestore <> 0 Then WinSetState($hWnd, "", @SW_RESTORE) TrayItemDelete($cIdTrayRestore) $cIdTrayRestore = 0 ;~ EndIf EndFunc ;==>restoreGUI Func _GUIGetMsg() GUISetOnEvent($GUI_EVENT_CLOSE, "exitGUI") GUISetOnEvent($GUI_EVENT_MINIMIZE, "hideToTray") TrayItemSetOnEvent($cIdTrayExit, "exitGUI") EndFunc ;==>_GUIGetMsg
  6. If you point to the includes: #include <GUIListViewEx.au3> ; https://www.autoitscript.com/forum/topic/182492-guilistviewex-bugfix-version-25-sep-17/ #include <AD.au3> ; https://www.autoitscript.com/forum/files/file/355-ad-active-directory-udf/ #include <_RegEnumKeyEx.au3> ; https://www.autoitscript.com/forum/topic/144234-_regenumkeyvalex-_regenumkeyex-_regenumvalex/ #include <_Array1DTo2D.au3> ; https://www.autoitscript.com/forum/topic/165600-_array1dto2d/ #include <_IsUACAdmin.au3> ; https://www.autoitscript.com/forum/topic/145697-_isuacadmin-check-admin-and-elevation-rights/ makes life easier Thanks for sharing
  7. By the way it is Altium tool not Eagle. Am trying to automate whole Altium process beginning from importing schematic and footprint from a file and making few changes in it and later exporting it to Eagle tool. to select component in altium schematic page, i tried using 1. ' send("^a")' 2. ' HotKeySet("^a", "_selectall")' 3. from Tab options=> Edit -> select-> select all none are working...it selects the component only for little time and deselects again.
  8. Thanks. I will play with it.
  9. Thanks for unexpected surprise info, lol
  10. Yesterday
  11. No worries, honestly I was not really sure wether to post in MVP or here ;)...
  12. This one works fine for me, although I personally prefer an exclamation mark an and underscore ("!_ImFirst")as the first character to shift folders to the top in a sorting. ; see also ; https://www.howtogeek.com/howto/6463/stupid-geek-tricks-how-to-open-the-start-menu-folder-in-windows-7/ FileCreateShortcut(@AutoItExe, @StartMenuDir & "\'_AutoIt_Test.lnk", "", "", "Link to '_AutoIt", RegRead('HKCR\AutoIt3Script\DefaultIcon', ''))
  13. Try something like this here. #include <ButtonConstants.au3> #include <GDIPlus.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> Opt('MustDeclareVars',1) GUIRegisterMsg($WM_PAINT,'WM_PAINT') Global $gX0=10,$gX1=880,$gY0,$gY1,$gForm1,$glblPic,$gCtlWid,$gCtlHt,$imgWid,$imgHt Global $ghCanvas,$ghImage,$ghPen,$ghPen2,$gGraphicPic,$ghMatrix,$ghBitmap,$ghPathLine,$ghPathRectL,$ghPathRectR,$aCursor main() Func main() $gCtlWid = 893 $gCtlHt = 480 $gForm1 = GUICreate("Form1", $gCtlWid+50, 601, 192, 114) $glblPic = GUICtrlCreateLabel("", 8, 8, $gCtlWid, $gCtlHt) Local $btnRotate = GUICtrlCreateButton("Rotate", 472, 560, 65, 25) Local $btnExit = GUICtrlCreateButton("Exit",600,560) GUISetState(@SW_SHOW) Local $oldY0,$oldY1 _GDIPlus_Startup() $ghPen = _GDIPlus_PenCreate(0xFFA04040,3) $ghPen2 = _GDIPlus_PenCreate(0xFF00FF00,4) $ghImage = _GDIPlus_ImageLoadFromFile('pergola.jpg') Local $hnd = GUICtrlGetHandle($glblPic) $gGraphicPic = _GDIPlus_GraphicsCreateFromHWND($hnd) $gY0 = 400 $gY1 = 400 $imgWid = _GDIPlus_ImageGetWidth($ghImage) $imgHt = _GDIPlus_ImageGetHeight($ghImage) $ghBitmap = _GDIPlus_BitmapCreateFromScan0($imgWid, $imgHt) $ghCanvas = _GDIPlus_ImageGetGraphicsContext($ghBitmap) $ghPathLine = _GDIPlus_PathCreate() $ghPathRectL = _GDIPlus_PathCreate() $ghPathRectR = _GDIPlus_PathCreate() _GDIPlus_PathAddLine($ghPathLine, $gX0, $gY0, $gX1, $gY1) _GDIPlus_PathAddRectangle($ghPathRectL, $gX0 - 5, $gY0 - 5, 12, 12) _GDIPlus_PathAddRectangle($ghPathRectR, $gX1 - 7, $gY1 - 5, 12, 12) Local $b = True ; Loop until the user exits. While True If $gY0<>$oldY0 Or $gY1<>$oldY1 Then Paint() $oldY0 = $gY0 $oldY1 = $gY1 Else Switch GUIGetMsg() Case $GUI_EVENT_CLOSE,$btnExit ExitLoop Case $btnRotate Local $hImageClone=_GDIPlus_BitmapCreateFromScan0($imgWid, $imgHt) Local $hGfxClone=_GDIPlus_ImageGetGraphicsContext($hImageClone) ; rotate about centre $ghMatrix = _GDIPlus_MatrixCreate() _GDIPlus_MatrixTranslate($ghMatrix, $imgWid/2, $imgHt/2) Local $deg = Angle($gY1-$gY0, $gX1-$gX0) _GDIPlus_MatrixRotate($ghMatrix, -$deg) _GDIPlus_MatrixTranslate($ghMatrix, -$imgWid/2, -$imgHt/2) _GDIPlus_GraphicsSetTransform($hGfxClone, $ghMatrix) _GDIPlus_GraphicsDrawImageRect($hGfxClone,$ghImage,0,0,$imgWid,$imgHt) _GDIPlus_GraphicsDispose($hGfxClone) $hGfxClone=_GDIPlus_ImageGetGraphicsContext($ghImage) _GDIPlus_GraphicsClear($hGfxClone) ; See deskew notes document Local $ang = Abs($deg*3.14159/180) Local $nsrcX = ($imgHt/2 - $imgWid/2*sin($ang) - $imgHt/2*cos($ang))*tan($ang) _ - $imgWid/2*cos($ang) + $imgHt/2*sin($ang) + $imgWid/2 Local $nsrcY = ($imgWid/2 + $imgWid/2*Cos($ang) - $imgHt/2*Sin($ang))*Tan($ang) _ - $imgWid/2*Sin($ang) - $imgHt/2*Cos($ang) + $imgHt/2 Local $nSrcWidth = $imgWid - 2*$nSrcX Local $nSrcHeight = $imgHt - 2*$nSrcY ; crop _GDIPlus_GraphicsDrawImageRectRect($hGfxClone,$hImageClone, _ $nSrcX,$nSrcY,$nSrcWidth,$nSrcHeight,0,0,$nSrcWidth,$nSrcHeight) GUICtrlDelete($glblPic) _GDIPlus_GraphicsDispose($gGraphicPic) $glblPic = GUICtrlCreateLabel("", 8, 8, $gCtlWid*$nSrcWidth/$imgWid,$gCtlHt*$nSrcHeight/$imgHt) Local $hnd = GUICtrlGetHandle($glblPic) $gGraphicPic = _GDIPlus_GraphicsCreateFromHWND($hnd) _GDIPlus_ImageDispose($hImageClone) $gy0 = 400 $gy1 = 400 Paint() Local $hImageClone2 = _GDIPlus_BitmapCloneArea($ghImage,0,0,$nSrcWidth,$nSrcHeight) _GDIPlus_ImageSaveToFile($hImageClone2,'H:\b\1.jpg') _GDIPlus_ImageDispose($hImageClone2) EndSwitch EndIf $aCursor = GUIGetCursorInfo($gForm1) If _GDIPlus_PathIsOutlineVisiblePoint($ghPathLine, $aCursor[0], $aCursor[1] - 8) Then _GDIPlus_PenSetColor($ghPen, 0xFFF08080) While $aCursor[2] _GDIPlus_PathReset($ghPathLine) _GDIPlus_PathReset($ghPathRectL) _GDIPlus_PathReset($ghPathRectR) $aCursor = GUIGetCursorInfo($gForm1) $gY0 = $aCursor[1] - 8 $gY1 = $aCursor[1] - 8 _GDIPlus_PathAddLine($ghPathLine, $gX0, $gY0, $gX1, $gY1) _GDIPlus_PathAddRectangle($ghPathRectL, $gX0 - 5, $gY0 - 5, 12, 12) _GDIPlus_PathAddRectangle($ghPathRectR, $gX1 - 7, $gY1 - 5, 12, 12) Paint() Sleep(10) WEnd Paint() $b = False ElseIf _GDIPlus_PathIsOutlineVisiblePoint($ghPathRectL, $aCursor[0], $aCursor[1] - 8) Then _GDIPlus_PenSetColor($ghPen2, 0xFF80FF80) While $aCursor[2] _GDIPlus_PathReset($ghPathLine) _GDIPlus_PathReset($ghPathRectL) _GDIPlus_PathReset($ghPathRectR) $aCursor = GUIGetCursorInfo($gForm1) $gY0 = $aCursor[1] - 8 $gX0 = $aCursor[0] - 8 _GDIPlus_PathAddLine($ghPathLine, $gX0, $gY0, $gX1, $gY1) _GDIPlus_PathAddRectangle($ghPathRectL, $gX0 - 5, $gY0 - 5, 12, 12) _GDIPlus_PathAddRectangle($ghPathRectR, $gX1 - 7, $gY1 - 5, 12, 12) Paint() Sleep(10) WEnd Paint() $b = False ElseIf _GDIPlus_PathIsOutlineVisiblePoint($ghPathRectR, $aCursor[0], $aCursor[1] - 8) Then _GDIPlus_PenSetColor($ghPen2, 0xFF80FF80) While $aCursor[2] _GDIPlus_PathReset($ghPathLine) _GDIPlus_PathReset($ghPathRectL) _GDIPlus_PathReset($ghPathRectR) $aCursor = GUIGetCursorInfo($gForm1) $gX1 = $aCursor[0] - 8 $gY1 = $aCursor[1] - 8 _GDIPlus_PathAddLine($ghPathLine, $gX0, $gY0, $gX1, $gY1) _GDIPlus_PathAddRectangle($ghPathRectL, $gX0 - 5, $gY0 - 5, 12, 12) _GDIPlus_PathAddRectangle($ghPathRectR, $gX1 - 7, $gY1 - 5, 12, 12) Paint() Sleep(10) WEnd Paint() $b = False Else If Not $B Then _GDIPlus_PenSetColor($ghPen, 0xFFA04040) _GDIPlus_PenSetColor($ghPen2, 0xFF00FF00) Paint() $b = True EndIf EndIf WEnd ; Clean up resources _GDIPlus_PathDispose($ghPathLine) _GDIPlus_PathDispose($ghPathRectL) _GDIPlus_PathDispose($ghPathRectR) _GDIPlus_MatrixDispose($ghMatrix) _GDIPlus_ImageDispose($ghCanvas) _GDIPlus_ImageDispose($ghImage) _GDIPlus_ImageDispose($ghBitmap) _GDIPlus_PenDispose($ghPen) _GDIPlus_PenDispose($ghPen2) _GDIPlus_GraphicsDispose($gGraphicPic) _GDIPlus_Shutdown() EndFunc Func Paint() _GDIPlus_GraphicsDrawImageRect($ghCanvas, $ghImage, 0,0, $gCtlWid, $gCtlHt) _GDIPlus_GraphicsDrawPath($ghCanvas, $ghPathLine, $ghPen) _GDIPlus_GraphicsDrawPath($ghCanvas, $ghPathRectL, $ghPen2) _GDIPlus_GraphicsDrawPath($ghCanvas, $ghPathRectR, $ghPen2) _GDIPlus_GraphicsDrawImageRect($gGraphicPic, $ghBitmap, 0, 0, $imgWid, $imgHt) EndFunc Func WM_PAINT() _WinAPI_RedrawWindow($gForm1, 0, 0, $RDW_UPDATENOW) Paint() _WinAPI_RedrawWindow($gForm1, 0, 0, $RDW_VALIDATE) EndFunc Func Angle($y, $x) ;return value is in degree Local Const $fPi = ACos(-1), $fPi2 = ACos(-1) / 2, $fRad = 180 / $fPi Switch True Case ($x > 0) Return ATan($y / $x) * $fRad Case ($x < 0 And $y >= 0) Return ATan($y / $x + $fPi) * $fRad Case ($x < 0 And $y < 0) Return ATan($y / $x - $fPi) * $fRad Case ($x = 0 And $y > 0) Return $fPi2 * $fRad Case ($x = 0 And $y < 0) Return -$fPi2 * $fRad Case ($x = 0 And $y = 0) Return 0 EndSwitch EndFunc You can move the line and the rectangle by hovering the mouse over it and pressing the lmb. The logic behind moving line / corners is not the best choice but might give you an idea.
  14. Ah silly me. ConsoleWrite(@AutoItVersion) Returns 3.3.14.2
  15. SciTE is an developer editor. I ask about AutoIt version.
  16. When changing the window transparency, the background transparency is completely lost. In the base example from the AutoIt Help you can move merlin across the screen without the white box around him since it's transparent. Now I wanted to add a fade in and fade out function (TransUp, TransDown) to make the example 2 a little more spooky: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Global $g_hGui, $g_aGuiPos, $g_hPic, $g_aPicPos, $trans = 0 Example() Func Example() $g_hGui = GUICreate("test transparentpic", 200, 100) $g_hPic = GUICreate("", 68, 71, 10, 20, $WS_POPUp, BitOR($WS_EX_LAYERED, $WS_EX_MDICHILD), $g_hGui) GUICtrlCreatePic("..\GUI\merlin.gif", 0, 0, 0, 0) GUISetState(@SW_SHOW, $g_hPic) GUISetState(@SW_SHOW, $g_hGui) HotKeySet("{ESC}", "Main") HotKeySet("{Left}", "Left") HotKeySet("{Right}", "Right") HotKeySet("{Down}", "Down") HotKeySet("{Up}", "Up") HotKeySet("{PGUP}", "TransUp") HotKeySet("{PGDN}", "TransDown") $g_aPicPos = WinGetPos($g_hPic) $g_aGuiPos = WinGetPos($g_hGui) ; Loop until the user exits. While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd HotKeySet("{ESC}") HotKeySet("{Left}") HotKeySet("{Right}") HotKeySet("{Down}") HotKeySet("{Up}") EndFunc ;==>Example Func Main() $g_aGuiPos = WinGetPos($g_hGui) WinMove($g_hGui, "", $g_aGuiPos[0] + 10, $g_aGuiPos[1] + 10) EndFunc ;==>Main Func Left() $g_aPicPos = WinGetPos($g_hPic) WinMove($g_hPic, "", $g_aPicPos[0] - 10, $g_aPicPos[1]) EndFunc ;==>Left Func Right() $g_aPicPos = WinGetPos($g_hPic) WinMove($g_hPic, "", $g_aPicPos[0] + 10, $g_aPicPos[1]) EndFunc ;==>Right Func Down() $g_aPicPos = WinGetPos($g_hPic) WinMove($g_hPic, "", $g_aPicPos[0], $g_aPicPos[1] + 10) EndFunc ;==>Down Func Up() $g_aPicPos = WinGetPos($g_hPic) WinMove($g_hPic, "", $g_aPicPos[0], $g_aPicPos[1] - 10) EndFunc ;==>Up Func TransUp() $trans -= 15 If $trans < 15 Then $trans = 15 If $trans > 255 Then $trans = 255 WinSetTrans($g_hPic, "", $trans) EndFunc Func TransDown() $trans += 15 If $trans < 0 Then $trans = 0 If $trans > 255 Then $trans = 255 WinSetTrans($g_hPic, "", $trans) EndFunc It fades in and out but now you see the white box around merlin. I sadly can't think of a workaround. I tried changing $g_hGUI and $g_hPic both and in different orders with no effect. This is very important to me. Please guide me!
  17. They are? I am not sure they are. Just because that is true for many things perhaps, does not mean it is true for all. AutoIt is more than just another version release. Users also provide further functionality with UDFs etc. When you see AutoIt is starting to fall behind, then that is the time to get worried. I don't think you can class AutoIt as the same kind of beast that many others are, as it has always danced to its own tune ... though I admit, that in more recent years, going by worrying changes at times to the Help file (now I am using latest AutoIt and discovering them), it has been pushed by some here in the same mental direction as most other languages. For me, AutoIt always stood out, especially for ease of use, and clear explanations and examples for newbies. If you really want something to worry about, worry about the gist of that last comment. @Au3Builder - Look and ye shall find. Check out the Chat Forum section here, and you will find that topics such as yours (this here) have been going on for years (not months my good bud Dcoder) ... well beyond the current version of AutoIt. Further to all that. AutoIt naturally went through a long developmental stage, but in reality by the time of Windows 10 has caught up pretty much, and now become quite a mature language. Mature languages often suffer a significant slow down, and just keep pace from then on .. until they die or not. Let's wait and see what happens with the next version of Windows shall we.
  18. Fileinstall a second .exe doing just that, run it in the background as a helper process and kill it when main process is done?
  19. @ Melba23 thanks a lot for the help, problem solved!
  20. SciTE - Version 3.7.3 I have tired running the script as x32, x64, as .au3 and complied but the issue persists.
  21. I want to delete the autoit word from all txt files including subfolders. I do not understand me #include<file.au3> Dim $sourceFolder = @ScriptDir $sFilters = "*.txt" _moveall() Func _moveall($sDest = @ScriptDir) If @error Then SetError(1, 0, 0) Local $aFiles = _FileListToArrayRec(@ScriptDir, $sFilters, $FLTAR_FILES, $FLTAR_RECUR, $FLTAR_NOSORT, $FLTAR_FULLPATH) If @error Then Return For $i = 1 To $aFiles[0] $resultFile = StringRegExpReplace($aFiles[$i], "- Autoit", "") FileMove($aFiles[$i] & "\" & $aFiles[$i], $sourceFolder & "\" & $resultFile) Next EndFunc
  22. i've been working a lot with listview recently, and found out that groups can be created to expand/collapse the items that belong to them. While a state does exist to collapse it a will, a state does not exist to expand a group within a listview at will. So that got me thinking, how do message boxes, treeview, listviews and other controls that don't use GUIGetMsg() to capture mouse clicks work? If I click "ok" on a message box, how does it automatically know to close it out? Same with a list/treeview, if I click on the "+" sign, how does it know to expand or collapse a group? Where is all that defined?
  23. You may whish to use the (text) commands of Eagle instead of the GUI automation. You may also use Eagle scripting ou Eagle language support. May I ask why you need to automate schematic entry?
  24. Isn't that statement somewhat judgmental and shouldn't that be: Why would you want to do this? Jos
  25. this sounds like evil doings going on.
  26. You want to prevent a user from shutting their own device down?
  27. I've got a similar problem that maybe someone can help. I place a comma in front of my custom startmenu folders so they will always be at the top of the startmenu like this: "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\,Browsers". But autoit doesn't play nice with folders that begin with a comma. I know I could start each folder with an "a" or "x" and achieve the same directory-organizing effect but a comma at the beginning is far less noticeable on the menu. Is there anyway around this since autoit uses commas to separate command statements?
  1. Load more activity