Jump to content

bogQ

Active Members
  • Posts

    1,938
  • 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

2,015 profile views

bogQ's Achievements

  1. So what did you try on your own or where is your code that is failing?
  2. I do get that php and AutoIt do look alike to some extent like $ to start variables, some similar function names and their way for usage, but this code do look like Laravel like way of handling queries with mysql queries. $db->where ('id', 50, ">="); And still i am @ a miss about where is single piece of AutoIt code is and everyone else here. So you should report this to https://github.com/ThingEngineer/PHP-MySQLi-Database-Class/issues and let them know if you think something in code is wrong.
  3. Engine not having last row identifier only thing you can do is something similar to that what you already done Additional ways: "WHERE rowid = (SELECT rowid FROM your_table ORDER BY rowid ESC LIMIT 1);" or "WHERE rowid IN (... );" But i do think your way is the fastest and most easy to read _SQLite_Display2DResult Returns or prints to Console a formated display of a 2Dimensional array Display result to console (scite console for example) if $bReturn is properly set, so it will not popup window, if changed from default it will return data to your variable Not tested it at the moment but to manage data you probably need to do something like this $data = _SQLite_Display2DResult($aResult, 0, true)
  4. you can not do "insert where", "update where something=something AND somethingelse=somethingelse" will do the update, insert do not have that because your inserting and as SQLite does not guarantees order it does not matter where its inserted and, so "insert where" is impossible. + that will be illogical But you can allwayes remove before reinserting something if that is what you wish DELETE FROM x WHERE id = 1; INSERT INTO x VALUES (1, 'something', 'something', ...);
  5. What if there is no column "no" in the table? Then i do not think you can determine latest input from what i see. The fist column ("no" in your case) is identifier ('unique id') that is auto increasing if after adding next record to table. While you can have sum of inputs, and if there is more than one with identical requested in returned data from query, you can not determine witch of returned records is last inserted and you can not determine whom to remove if no ID is present. I dont think order in DB is guaranteed but i can be wrong. SQL does not guarantee it from what i can read as for mysql
  6. You do call WinActivate... and that function do make focus on window Does ControlClick works on that window only if you have focus? So question is will something like this work in your case with no WinActivate ? While 1 $hwnd = WinWait("Timeout Warning") If $hwnd Then ControlClick($hwnd , "", "[NAME:m_buttonStillWorking]") EndIf Sleep(25000) WEnd
  7. 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
  8. 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.
  9. 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.
  10. 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?
  11. 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
  12. 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.
  13. 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?
  14. 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.
×
×
  • Create New...