Q7

Palette support via one command. activate-tool MyToolName

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.0RC0
  • Fix Version/s: 1.3.x
  • Component/s: None
  • Labels:
    None

Description

Right now palette operations are recorded via:

with [get-palette | get-palette-entry EClass | get-figure 0] { mouse-move 39 13 button1 -height 23 -width 125 mouse-press 39 13 button1 -height 23 -width 125 mouse-release 39 13 button1 524288 -height 23 -width 125 }

It will be better to record commands like:
get-palette| get-palette-entry EClass | activate

Activity

Hide
Andrey Sobolev added a comment - 12/Apr/11 10:19 AM

Or get-palette| get-palette-entry EClass | click

This will remove unnecessary palette operations, we could store only last palette entry activation.

Show
Andrey Sobolev added a comment - 12/Apr/11 10:19 AM Or get-palette| get-palette-entry EClass | click This will remove unnecessary palette operations, we could store only last palette entry activation.
Hide
Andrey Sobolev added a comment - 10/Aug/12 11:23 AM

Will be good example of how new post processor could be used.

Show
Andrey Sobolev added a comment - 10/Aug/12 11:23 AM Will be good example of how new post processor could be used.
Hide
komaz added a comment - 14/Aug/12 10:26 AM

Thanks for digging this out!

Also we might need a general fix: collapse this one:
mouse-move 39 13 button1 -height 23 -width 125
mouse-press 39 13 button1 -height 23 -width 125
mouse-release 39 13 button1 524288 -height 23 -width 125

to some new command (without state mask and with human-readable button name):
mouse-click -button Left -point 39:13 -size 125:23

Show
komaz added a comment - 14/Aug/12 10:26 AM Thanks for digging this out! Also we might need a general fix: collapse this one: mouse-move 39 13 button1 -height 23 -width 125 mouse-press 39 13 button1 -height 23 -width 125 mouse-release 39 13 button1 524288 -height 23 -width 125 to some new command (without state mask and with human-readable button name): mouse-click -button Left -point 39:13 -size 125:23

People

Vote (0)
Watch (0)

Dates

  • Created:
    11/Apr/11 9:05 PM
    Updated:
    16/Jan/13 5:48 PM