https://bugs.documentfoundation.org/show_bug.cgi?id=168409
--- Comment #15 from Jean-Pierre Ledure <[email protected]> --- (In reply to Michael Weghorn from comment #14) > It's currently still not fully clear > to me how the script hooks up to the events of the buttons, though. Well, badly: there is no mean to identify the button. > > TBC ? > > What do you mean by this? Are you planning to give more details or expecting > further info from my side? I will investigate this. > Does ScriptForge need to be compatible with multiple LO versions at the same > time ? No (except me sometimes ...). > > Better idea ? > > Another potential approach I could think of is using the UNO API used by UI > tests, (...) > As far as I can see, position/size of the items is currently not available > that way, but that could be added (in ToolBoxItemUIObject::get_state), e.g. > by adding a "Rect" property (similar to the "Text" one used in the above > example) or something like that. > > Does that sound like a better potential approach/workaround for now? It is not better without the "Rect" property. Otherwise, if there is a reasonable expectation to have a +/- stable UITests API for a foreseeable future, then we can give it a try. What would be the delay ? We should provide a correction in a forthcoming 25.2 release. Note that I can make a patch as described in comment#13 within a week or so. Tell me what your preference is. Thanks for your comments. -- You are receiving this mail because: You are the assignee for the bug.
