Jump to content

Dava

Members
  • Posts

    5
  • Joined

  • Last visited

Dava's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. I have same issue but with other virtual serial devices including Bluetooth SPP which used to work under Win7 but now returns "port does not exist". _CommListPorts returns "COM9|COM6|COM10|COM8" _CommSetPort ( 9, $err) returns "port does not exist" However a USB-->Serial adapter with Proific 2303 chipset does not give this error so does not seem to be affecting all Win10 COM ports.
  2. To resurrect an old thread, which was the first I found when looking for the answer, I made the following to deactivate the saver on Win8.1. Maybe useful for others... #include <File.au3> func KillScreenSaver() local $szDrive, $szDir, $szFName, $szExt $sspath=RegRead("HKCU\Control Panel\Desktop","SCRNSAVE.EXE") if @error<>0 then return 0 _PathSplit($sspath, $szDrive, $szDir, $szFName, $szExt ) $SCRproc=$szFName & $szExt if ProcessExists($SCRproc) Then processclose($SCRproc) ProcessWaitClose($SCRproc,1) EndIf EndFunc
  3. Thanks, I managed to extract the percentage, only to the console at the moment but I got the exact functionality I needed with this: run ('d:\Program Files\dvd decrypter\DVDDecrypter.exe /start /close /overwrite yes',"",@SW_MINIMIZE) Opt("WinTitleMatchMode", 2) AutoItSetOption("WinDetectHiddenText",1) while ProcessExists('DVDDecrypter.exe') $var = WinList("% - DVD Decrypter") if $var[0][0] > 0 Then ConsoleWrite ($var[1][0]) $pct=0 $pct=StringLeft($var[1][0],4) while not StringIsDigit($pct) $pct=StringLeft($pcT, stringlen($pct)-1) WEnd ConsoleWrite (":" & $pct & @lf) EndIf sleep (1000) WEnd
  4. Cracked it! Using Winlist() shows that there are multiple windows, one of which has the percentage at the front.
  5. Hi, I am trying to get the "percentage complete" indication from DVD Decrypter whilst ripping so as to show it on an external display in my HTPC. while ProcessExists('DVDDecrypter.exe') $title=WinGetTitle('DVD Decrypter',"") $pct=0 $pct=StringLeft($title,3) MsgBox( 0,"Rip",$title,5) Wend I can see that in the Windows taskbar at the bottom that the title is "12% - DVD Decrypter" but the Window title is always just "DVD Decrypter" and that is what is returned to AutoIT. Any ideas how I can get the Taskbar version of the title including the percentage?
×
×
  • Create New...