Thursday, August 20, 2009

Quick Drop Keyboard Shortcut - VI Server Rename

I just posted my first post-release Quick Drop keyboard shortcut on the NI Community website. This shortcut allows you to avoid the maze of right-click submenus you must navigate whenever you want to specify the VI Server class of a Class Specifier Constant, Property Node, or Invoke Node. It also allows you to specify the name of a property or method for a Property Node or Invoke Node if you don't feel like navigating those right-click menus either. Check it out and let me know what you think:

Quick Drop Keyboard Shortcut - VI Server Rename

And look for more shortcuts coming soon!

4 comments:

  1. Changing the class from App to VI is *sweet*.

    For changing the name of a property: It works well for some that I tried in the Control class (e.g. ClassID, ClassName, Indicator, Value). But, I couldn't get it to work for others (FocusKeyBind, KeyFocus, Label.Text).

    Any suggestions?

    ReplyDelete
  2. Yup, this problem is the primary reason I didn't ship Ctrl-[shift]-B with LabVIEW 2009. As I mention in the comments thread on the NI Community page for this plugin, the internal VI Server name of the properties/methods don't always line up well with the name you see on the node. For example, "FocusKeyBind" is actually called "KeyNav" internally. "KeyFocus" is called "Key Focus". I actually fixed this one with the latest version of b.vi, which you can download now...I made some more iterations on what is typed to try to better handle spaces. As for Label.Text, dotted properties that pass a reference boundary are currently not supported. I will CAR this, along with the name matching issue, shortly.

    ReplyDelete
  3. For those interested, I filed CAR# 184060 on these issues...specifically, the inconsistency of the internal names of properties/methods, and the fact that dotted properties with reference boundaries cannot be specified.

    ReplyDelete