Quick Drop Enthusiasts

Set Text Icon Quick Drop

Quick Drop Keyboard Shortcut – Set Text Icon

Default Key - K

This plugin modifies the icon of a VI to match its file name by setting the text layer of the icon. To install, unzip the attachment in one of the following locations (no LabVIEW restart required):

<LabVIEW 20xx>\resource\dialog\QuickDrop\plugins

<LabVIEW Data>\Quick Drop Plugins

This shortcut is intended for use with LabVIEW 2018 or 2019.

The following is an example VI with the default icon.

Lorem Ipsum Default Icon.png

 

With this plug-in installed and the default shortcut assignment, pressing Ctrl-Space, Ctrl-K results in the following:

 

Lorem Ipsum Text Icon.png

 

If a word is too long to fit in a single line it gets shortened. Short words get combined in the same line if possible. If the VI is a member of a library or class, the library layer of the icon is preserved.

This shortcut relies on layers in the icon, including the text layer, making it practical for users without the shortcut to edit the icon if necessary. This shortcut was inspired by the Set Icon Quick Drop plugin written by NI Forums user bienieck. Note that both shortcuts rely on the same default letter, so you will need to configure a different key if you want to use both plugins. Click the Configure button in Quick Drop and go to the ‘Ctrl-Key Shortcuts’ page to change shortcut key assignments.

October 16, 2019 Update

I am adding Set Text Icon V2.zip file which implements the suggestion made by cbfsystems so you can override the text based on file name by using the Object Name field in the Quick Drop dialog box. These VIs were saved using LabVIEW 2019.

 

 

Kosta
Download All
Message 1 of 7
(545 Views)
6 REPLIES 6
Highlighted

Re: Set Text Icon Quick Drop

This shortcut is awesome.  Creating all the icons (text) for my VIs has been very time consuming;  I think I will use this a lot.  I made a small modification so that the text that is typed in the quick drop combo box is used to generate the icon unless the combo box is empty, in which case the behavior is unchanged (text generated from file name).  Thanks for publishing this.

Message 2 of 7
(417 Views)
Highlighted

Re: Set Text Icon Quick Drop

Great idea! It looks like quick drop is becoming the community favorite way to extend LV 🙂

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect
0 Kudos
Message 3 of 7
(393 Views)
Highlighted

Re: Set Text Icon Quick Drop

cbfsystems,

Thank you very much for the feedback. I also found myself editing text in icons, and wishing that I could spend less time on that activity. I hope that this Quick Drop enables us to spend time where we add more value. 

 

I like the improvement you suggested so much that I implemented it right away.

Kosta
Message 4 of 7
(354 Views)
Highlighted

Re: Set Text Icon Quick Drop

Kosta, could you please prepare a VI Package installer for this tool? It would help simplifying installation.

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect
0 Kudos
Message 5 of 7
(226 Views)
Highlighted

Re: Set Text Icon Quick Drop

Is there support for Icon headers?

0 Kudos
Message 6 of 7
(129 Views)
Highlighted

Re: Set Text Icon Quick Drop


@BenvanSeggelen wrote:

Is there support for Icon headers?


What do you mean? If the VI you're modifying is a member of a library, its banner will be preserved.

DNatt, LV R&D
0 Kudos
Message 7 of 7
(116 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.