cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
mat-ski
Level III

Getting Host information

In the documentation I see that you can use

 

If( Host is( "Mac" ), ... );

To do something conditionally if the current Host is a Mac, however I do not see any way to get the value of Host and my blind guessing (Host doesn't seem to be accessible on its own and Host Is() without any arguments does not work) has not yet turned anything up. Is there a way for me to access this value?

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Getting Host information

You can set your own Host value

Names Default To Here( 1 );
If( Host is( "Mac" ),
	Host="Mac",Host="Windows"
);
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Getting Host information

You can set your own Host value

Names Default To Here( 1 );
If( Host is( "Mac" ),
	Host="Mac",Host="Windows"
);
Jim
mat-ski
Level III

Re: Getting Host information

Oh I see thanks, I didn't realize there were only "Mac"/"Windows" and "Bits32"/"Bits64" to check here.