Example Program Drafts

cancel
Showing results for 
Search instead for 
Did you mean: 

Mac System Color VIs

Overview

These VIs (GetThemeBrushAsColor.vi and GetThemeTextColor.vi) get the colors from Mac OS X directly.

Description

These VIs utilize the Call Library Function Node to directly grab all of the information needed from the OS for the different colors. The Call Library Function Node needs  necessary input parameters to return the Theme Brush color, the Theme Text color, or a series of system colors from the OS directly which can be seen in the SubVIs included in the Zip folder. Another example which is included in the Zip folder is an example which shows you what system colors change when you change the system appearance.

Steps to Implement or Execute Code

  1. Change the system colors:  Apple Menu » System Preferences » Appearance
  2. Launch LabVIEW, open SystemColors.vi
  3. Run the VI, and observe the resulting system colors
  4. Right-Click on System Colors on the front panel and select Data Operations » Make Current Value Default
  5. Quit LabVIEW
  6. Repeat steps 1-3
  7. Observe the comparison of New vs Old

Requirements to Run

Software

LabVIEW 8.5 or Later

Hardware

Mac with OS X

Comments
Active Participant sth Active Participant
Active Participant

For those with PPC (There are a lot of us out there....) can a version in LV 8.5.1 be posted?  I assume this doesn't use any of the latest LV 9 features.



Member MarcPage
Member

Scott,

Thanks for bringing that up. I've saved them for 8.5 and put the archive back up.

Active Participant sth Active Participant
Active Participant

Great, thanks!



Contributors