[PD] A way to query the current platform

IOhannes m zmoelnig zmoelnig at iem.at
Wed Sep 24 11:16:23 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2014-09-24 10:14, Nicolas Montgermont wrote:
> Hello
> 
> Le 24/09/2014 09:05, IOhannes m zmölnig a écrit :
>> The use-case for this is things like:
> I see some other points:
> 
> * the output from [keyname], [key], [gemkeyboard], [gemkeyname] is
> different * the window in Gem has to be placed (offset) in a
> different way for OSX for fullscreen * for some specific IP
> hardware (badly coded), the bit order is different when
> communicating with TCP/UDP.

so these are mainly bugs in specifc objects we want to work around
with such a feature?
.
> * the [shell] and [popen] object that are a very good connection to
> all the other software behave differently * one might want to call
> different script on different os as well for specific usage

though the script itself already has the possibility to check which OS
it's running on, and cold adjust it's behaviour (e.g. by forwarding
the request to an OS-specific sub-script)...though probably not easy
to run a .bat from a .sh and vice-versa


> * the path management can be different (old pix_write object for
> example still in last pd-extended)

but if somebody chose to install a newer version of [pix_write] on
their outdated Pd-extended, you will still use it the wrong way.
in this case you might want to ask the version of [pix_write] instead.


fgamsdr
IOhannes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUIovhAAoJELZQGcR/ejb4yTQP+gKTb+eP37RKN4rxqIJXmXGZ
YXwp+W/W6dMkixlJI3e0jm86tSQ6pC/sU0S8R10aUySX/WZhOX3xb2SrjDsE034s
zLfMHhR5P6VSDPF+scept8bqsNELy50qhibVIuY0/r1f5dm69UXsjFtPJs30mslL
QdN7ji/h/3UPJYIntJhYxq3lwM1TYKqpzTpWSG69fNElt+0/f1oMUQmsxKbvHSOM
5wn7P5Dg1jZjcm70s0OHE89MFcj5cCXQduJgPEJwa3FXz1PrUz5UpxIlaFx3j7Ry
/Aa5KY0jA0fVkiLYrJNP7dZoq+rFUCJJIV7CUgCHoFQtxbZpSCOp+SwbLsQULlYj
jGElzBJpjGs3vfi2cOkkSi/J3+n36La9Qc0qQcu0wTqQx8/nwzcqWdLDXlZGecS+
jCvdt/8xRPn7Kkq6xNAHLDlnS03tmu/SuuDCXGTSN68xNhQJ+HbrVWj2Pm7wWlCf
4mKF1mZnP10CdnevmnLINBxYM3BwRfFYpIoF/9hyPmgMV5FdZLcgOyhyN3pvdYXM
GD6A/3nRT3W3mOZAmyMAAMAOFA5oDBNeplfsto3zN0y1DlB9r1K9lhUjkSpSQB/c
D9wkk/HNMCjlpj81Oca9vkLBb8/nlzj/4dJ6h+ZJsUL2GqZUtsogfvFfIvPYsM/V
ox2hmJxNQMRbGMjp7hhr
=zzd7
-----END PGP SIGNATURE-----



More information about the Pd-list mailing list