Skip navigation
Currently Being Moderated

FW8: function to trigger Restore Selection dialog?

Dec 7, 2011 2:20 PM

Tags: #script #command #dialog #dialog_box #fireworks_8 #restore_selection #dom.restoreselection() #load_alpha_channel #load_as_selection

I'm working on a command script in Fireworks 8 and wondering: Is there a document function that will trigger the Restore Selection dialog?

 

This would be the dialog box that appears in the application when choosing "Select > Restore Bitmap Selection...". It offers options for replacing, adding, subtracting, or intersecting a saved selection with a current, active bitmap selection. Surprisingly, the function "dom.restoreSelection()" does not invoke this dialog box; it offers no "ask user" argument option. Instead, it seems to be the command that's triggered within the application after a user has responded to the initial Restore Selection dialog.

 

Incidentally, I'm also looking for a function that will load the alpha channel of a selected object (or element mask) as a bitmap selection. In the application interface, this would be analogous to option-clicking the object or element mask thumbnail (in the layers panel).

 

Thanks!

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points