Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Popupmenu question, chrome enhancement in 2.4.4
#1
Hi Gintaras, hi all

1. I mus be stupid, but this code is not working, why?
MenuPopup p
.....
sel _i
case 1:
.......
case 2:
.......
p.GetItemText(_i &f)
out F"{f}{_i}"
mac F"{f}{_i}"sel _i <------_i=4

#sub MenuDyn4
out "3t"
Error (RT) in <open ":6: /400">Menu dynamique: QM item not found.

2.

You state in 2.4.4 changelog:

"Current Chrome version: often cannot capture accessible objects. "

do you speak about the stable chrome, or dev or beta ??

Is enhancement for the QM menu bar "Accessible objects actions" or/and for the trigger Accesseible objects?

TY
#2
1. Try

mac F"sub.{f}{_i}"

2. Stable. In dialog "Find accessible object" the Drag tool often did not work in new Chrome because Chrome now adds a transparent window of class "Intermediate D3D window" that covers the web page, although not always, eg adds after restoring tabs of previous Chrome process, but does not add for new tabs.
#3
1. no joy, same error

if i try sub.MenuDyn4, it works, so only fails when trying to expand code, not directly if it can help, but should do

p.GetItemText(_i &f)
out F"sub.{f}{_i}"
mac F"sub.{f}{_i}"

#sub MenuDyn4
out "3t"

sub.MenuDyn4 <----out F"sub.{f}{_i}"

Error (RT) in <open ":6: /400">Menu dynamique: QM item not found. <help #IDP_ERR>? <----- mac F"sub.{f}{_i}"

2.

ok, hope don't affect actual code, and improve new one, will test
#4
Yes, this will not work, here must be constant string. Use a non-sub function.
#5
ok, but would be convinient to do so...

will adapt my code then....


Forum Jump:


Users browsing this thread: 1 Guest(s)