Issue 38443 - Dispatcher does not select table row in Basic macro
Summary: Dispatcher does not select table row in Basic macro
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: stephan.wunderlich
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-05 01:09 UTC by aaronforjesus
Modified: 2013-02-24 21:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test writer document (6.72 KB, application/vnd.sun.xml.writer)
2004-12-05 01:10 UTC, aaronforjesus
no flags Details
Macro created by macro recorder (2.02 KB, text/txt)
2004-12-05 01:11 UTC, aaronforjesus
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description aaronforjesus 2004-12-05 01:09:29 UTC
When recording a macro that includes a table>select>row, the macro recorder
creates the following line in Basic:

dispatcher.executeDispatch(document, ".uno:EntireRow", "", 0, Array())

However, when replaying the macro that was just recorded, the above line is not
run. In the attached document, the string "**" is searched for. The the table
that the selected string is in is selected using table>select>row. Then the Cut
button is pressed to cut the table row. When recording, the attached macro is
created. However, when run, the above line is ignored, and only the search
string "**" is cut using the macro.
Comment 1 aaronforjesus 2004-12-05 01:10:38 UTC
Created attachment 20115 [details]
test writer document
Comment 2 aaronforjesus 2004-12-05 01:11:50 UTC
Created attachment 20116 [details]
Macro created by macro recorder
Comment 3 stephan.wunderlich 2004-12-13 10:10:39 UTC
sw->aaronforjesus: your second dispatch is called before the first one is
finished and so doesn't have the effect expected by you ... added a 
wait 500
after the first dispatch call and all worked fine for me.
Comment 4 aaronforjesus 2004-12-17 16:04:34 UTC
Thanks for the tip!
Comment 5 stephan.wunderlich 2005-01-13 13:07:34 UTC
closing as worksforme