Hi,
i can't find solution how to get text from statusBar in explorer, window Spy can't see any text :/
my goal is to find if result of searching is 0 or not any helps?
Thanks!!
statusBarGetText windows explorer Topic is solved
Re: statusBarGetText windows explorer
Hallo,
with StatusBarGetText it did not work here. However with ControlGetText:
with StatusBarGetText it did not work here. However with ControlGetText:
Code: Select all
q::
ControlGetText, Text, msctls_statusbar322
, ahk_class CabinetWClass ahk_exe Explorer.EXE
MsgBox,% Text
Return
Re: statusBarGetText windows explorer
StatusBarGetText
Make sure your statusbar is visible.
Code: Select all
StatusBarGetText, txt, 1, ahk_class IEFrame ahk_exe iexplore.exe
MsgBox % txt
Re: statusBarGetText windows explorer
it is not about IExplorer, but standard windows file explorer. Result from 1. script is still empty :/
Re: statusBarGetText windows explorer
It did not work here, and my Internet search came up blank!
Re: statusBarGetText windows explorer
Sorry i read Explorer as Exploder both suck
Try using Acc it should be able to get it.
Try using Acc it should be able to get it.
Re: statusBarGetText windows explorer Topic is solved
Code: Select all
#Include d:\utils\acc\Acc.ahk ; https://gist.github.com/tmplinshi/43279b05289a2571a63372e032f662cf
WinGet, hCtl, ID, ahk_class CabinetWClass
oAcc1 := Acc_Get("Object", "4.6.4.1.4.1.4.1.1.1.1", 0, "ahk_id " hCtl)
oAcc2 := Acc_Get("Object", "4.6.4.1.4.1.4.1.1.2.1", 0, "ahk_id " hCtl)
MsgBox, 64, File Explorer, % ttext := oAcc1.accName(0) ", " oAcc2.accName(0)
Re: statusBarGetText windows explorer
Boss like alwaysmikeyww wrote: ↑18 Sep 2021, 21:06Code: Select all
#Include d:\utils\acc\Acc.ahk ; https://gist.github.com/tmplinshi/43279b05289a2571a63372e032f662cf WinGet, hCtl, ID, ahk_class CabinetWClass oAcc1 := Acc_Get("Object", "4.6.4.1.4.1.4.1.1.1.1", 0, "ahk_id " hCtl) oAcc2 := Acc_Get("Object", "4.6.4.1.4.1.4.1.1.2.1", 0, "ahk_id " hCtl) MsgBox, 64, File Explorer, % ttext := oAcc1.accName(0) ", " oAcc2.accName(0)
Thank you!!
Who is online
Users browsing this forum: Google [Bot], RareUserGerman and 125 guests