ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Mac Fonts

I've been trying to come up with code to get a list of fonts installed on a Mac.

The attached VI seems to work OK, but I suspect it could be made more efficient with a fancier command line.

The file "Output from full command.txt" is the output I get from the System Exec.vi call in "Get MAC Fonts.vi"

The file "Output from system_profiler SPFontsDataType.txt" is what comes out when the command line is just "system_profiler SPFontsDataType".

 

Is anyone here familiar enough with the "cut" command to improve this?

0 Kudos
Message 1 of 1
(863 Views)