Jump to content

bogQ

Active Members
  • Posts

    1,931
  • Joined

  • Last visited

  • Days Won

    4

bogQ last won the day on April 22 2015

bogQ had the most liked content!

About bogQ

  • Birthday 12/13/1982

Profile Information

  • Member Title
    For me, it’s simple - it’s a way of life.
  • Location
    Serbia
  • WWW
    Wake me up when
  • Interests
    For personal interest:
    * 3D Creations & Animation (Games, Virtual Worlds, Movies...)

    For profesional interest:
    * Data (Redirect Editors, db MySql ,Automation)
    * GSM (text udh pdu with multi msg support)
    * IE Automation
    * TCP
    * Site creation

    Ahh ... :s i know that im crazzzzy :)

Recent Profile Visitors

1,685 profile views

bogQ's Achievements

  1. Ty @rsn for nudging me in correct direction https://newbedev.com/can-t-change-tel-protocol-handler-in-windows-10 did it Edit: something like this writeReg("HKEY_CURRENT_USER\SOFTWARE\Classes\callto", "", "URL:callto") writeReg("HKEY_CURRENT_USER\SOFTWARE\Classes\callto", "URL Protocol", "") writeReg("HKEY_CURRENT_USER\SOFTWARE\Classes\tel", "", "URL:tel") writeReg("HKEY_CURRENT_USER\SOFTWARE\Classes\tel", "URL Protocol", "") writeReg("HKEY_CURRENT_USER\SOFTWARE\Classes\dialer.callto\Shell\Open\Command", "", '"' & @ScriptDir & '\' & $appName & '.exe" "%1" /phone') writeReg("HKEY_CURRENT_USER\SOFTWARE\Dialer\Capabilities", "ApplicationDescription", "Dialer") writeReg("HKEY_CURRENT_USER\SOFTWARE\Dialer\Capabilities", "ApplicationName", "Dialer") writeReg("HKEY_CURRENT_USER\SOFTWARE\Dialer\Capabilities\URLAssociations", "callto", "dialer.callto") writeReg("HKEY_CURRENT_USER\SOFTWARE\Dialer\Capabilities\URLAssociations", "tel", "dialer.callto") writeReg("HKEY_CURRENT_USER\SOFTWARE\RegisteredApplications", "Dialer", "Software\Dialer\Capabilities") Func writeReg($p, $n, $v) If @error Or RegRead($p, $n) <> $v Then RegWrite($p, $n, "REG_SZ", $v) EndFunc ;==>writeReg
  2. That is why i typed "windows/chrome", while firefox do have that, chrome had it until some update in 2023, and now he lets windows OS to handle that part. So my question still stands, how to associate AutoIt app with windows prompt for listing it on default app for "tel:" Closes i have at this point in time is maybe this, Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts but i still need to make test case to see if it should work or not.
  3. I want for my AutoIt app to show on that list so the user can select it, i know where i can list and select them, but how to put my AutoIt app on that list is the question and not how to select default one. As you see i already have that prompt when clicked "shown on image" but i do not have my AutoIt app to select from list.
  4. So basically I installed MicroSIP and Line Phone, and both of them are suggested app for href="tel:" So how i can suggest to windows/chrome that my AutoIt app should be located on that list for user to select from?
  5. from normal chrome 116.0.5845.111 x64 (smaller coz probably adblock remove something from page ) 3517 - Enable print feature for non-headless - chromedriver.pdf from chromedriver 116.0.5845.96 x64 (runed on website with py, added sleep 1000 seconds, used ctrl+p for printing) 3517 - Enable print feature for non-headless - chromedriver1.pdf
  6. Do not know what "Cryptic Window" is but... Most of udf-s are made so that they set @error macro to some value if their function fail, so if you cant reproduce sample script for us to test, take some time and debug where error is, look at function description from udf for more info to see witch error is, if any is represented in function description and then debug your code... if @error Then ConsoleWrite... Additional note, if your using on normal browser AD blocker, or site have accept cookies option, it can happened that your path from headless and normal browser are two different things so that element xpath location is just wrong.
  7. So cant a default timeout be set to minimum to error out so that you can continue to other tab? Or will that kill browser current time outed tab load process?
  8. Can this page be used to integrate if version match is not found? https://googlechromelabs.github.io/chrome-for-testing/ nwm i see you replyed to his separate topic, did not see first post on this page.
  9. yes yes i see, CurrentIsEnabled is True and CurrentIsReadOnly is set to False, it should work according to microsoft documentation, but still a no go. I wonder if it works on vista win7 with no problems. Edit: not OS problem, Microsoft Inspect.exe can set its value with no problem. Aldo you need to focus to display changes it is strange to me why we get focus instead of just setting the value.
  10. @KaFu depending on where your stuck "couldn't get the example to work" below is how to run example mostly Presuming you already have FileExplorer.au3 from his original post. Youl need https://github.com/jvanegmond/au3_uiautomation/blob/master/CUIAutomation2.au3 Only additional thing needed to run that example is changing variable name from $UIA_ValuePatternId to $UIA_ValuePattern if im not wrong, and it shud start i hope. EDIT!: one explorer window need to be already opened by clicking to any folder before running script!!!
  11. I do not think that is programmatically available as information. best thing i can think of is to get bios date version from cmd with wmic bios get ReleaseDate edit: on the other hand if you somehow map manifacture websites (if their url structure is usable for this) and check on their site when first bios version is published you can practically get some info around date of creation. wmic baseboard get product,Manufacturer,version,serialnumber Aldo i do not have MSI mb to see what model number will upper command return, you go to https://www.msi.com/Motherboard/B550M-PRO/support and you pull somehow last in row (first ever) bios date on that page ergo mb is from around that time.
  12. I do not think that is programmatically available as information. best thing i can think of is to get bios date version from cmd with wmic bios get ReleaseDate
  13. @mLipok i realy do not think that google is crawling the web in a headless browser, if he is then he would not need site map to help him navigate.
  14. readability of code should always take priority than code minimality, aldo i really don't like to use Assign or Eval, you can add var names to array and use Werty code to set their value directly from array or var names edit with example: AutoIt3Wrapper_Run_AU3Check needed to allow to run due to undeclared warning #AutoIt3Wrapper_Run_AU3Check=N #include <AutoItConstants.au3> Local $var = 100, $varnames=["var1","var2","var3"] For $x = 0 To UBound($varnames) - 1 Assign($varnames[$x], $var, $ASSIGN_FORCELOCAL) Next ConsoleWrite("var1 = " & $var1 & @CRLF) ConsoleWrite("var2 = " & $var2 & @CRLF) ConsoleWrite("var3 = " & $var3 & @CRLF) #cs ;~ or Local $var = 100, $varnames=["var1","var2","var3","var4","var5","var6","var7","var8","var9","var10"] For $x = 0 To UBound($varnames)-1 Assign($varnames[$x], $var, $ASSIGN_FORCELOCAL) ConsoleWrite($varnames[$x]&" = " & Eval($varnames[$x]) & @CRLF) Next #ce
×
×
  • Create New...