= hostSerialNumber =
== Syntax == int hostSerialNumber == Description == The host application's serial number. Most graphics programs (including Photoshop on Windows) do not support this feature. == Comment == The Mac version of Photoshop apparently sets this field to a valid serial number, but on the Windows platforms Photoshop always sets this field to 0. == Example == <code> sprintf(str0, "Your host application serial number is: %d", hostSerialNumber); if (hostSerialNumber == 0) { strcat(str0, "\n\n(This means your graphics program probably\ndoesn't support serial numbers.)"); }Info(str0); </code> |