Enhanced Icon Editor

cancel
Showing results for 
Search instead for 
Did you mean: 

Launching the Icon Editor Programmatically

Hey Tom!


In this thread http://decibel.ni.com/content/thread/5192?tstart=-1 I raised the idea of launching or invoking the Icon Editor programmatically.

At the time you mentioned that: "the most important function that is used to determine from which VI/library/ctrl/palette icon/ the icon editor is launched,

doesn't have an overwrite input."


Is there any possibility that this could be done (LV2009+)?


Thanks for your time.


Cheers


-Jon


</edit>

Ok, looks like there is some action over on the Scripting API site

<edit>

Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 1 of 9
(15,870 Views)

Jon,

sorry for the incredibly delayed answer.

The VI that DF posted doesn't necessarily take you all the way, depending on what you want to do.

Tom

0 Kudos
Message 2 of 9
(9,056 Views)

Hey Tom!

No probs, great to hear from you.

Can you take me all the way? - I want it all!...

Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 3 of 9
(9,056 Views)

Hokay 🙂

Can you explain just in a few words what you exactly try to achieve. I do remember that we talked about it once but I want to make sure that I still recall everything...

Message 4 of 9
(9,056 Views)

Sweet!

Just like you would if you double clicked on any icon - I want to be able to launch the Icon Editor programmatically.

I am thinking along these lines:

  • Pass a Reference into an API
  • API is polymorphic with wrapper-support for VIs, Controls, Library, and Class references (others?)

The Enhanced Icon Editor will then be launched opening the Icon associated with the Refnum

I can then edit the Icon in any way just like normal once I am finished

The API will output:

  • Icon was updated E.g. Ok? = True, Cancel = FALSE
  • Duplicate input reference
  • Picture and Image Data (handy)

Here is an interface example:

IE_fp.png

Does that sound doable?

Cheers!

Jon

Certified LabVIEW Architect * LabVIEW Champion
Message 5 of 9
(9,056 Views)

It certainly does.

There is the one or the other point where I am uncertain about right now but that shouldn't be a biggy.

I am going on vacation for quite a while, but when I return I'll work on that and release something along with bugfixes for the icon editor in 2010.

Prost

Tom

0 Kudos
Message 6 of 9
(9,056 Views)

Sounds like a plan

As always - thanks heaps.
Have a great holiday!!

Cheers

-Jon

Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 7 of 9
(9,056 Views)

Hi Jon and Tom,

we are now almost 1,5 year later. Is there any news on the subject?

I would love it if I could just use the icon editor to edit icons of libraries, vis, controls etc, without first opening the item and clicking on the vi icon, or going into the property page of the library.

The File Open / File Save menu items would be great too, to avoid closing and opening the editor over again.

0 Kudos
Message 8 of 9
(9,056 Views)

Standby on this one. No specific details however, this idea's status is in Beta

Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 9 of 9
(9,056 Views)