Copy link to clipboard
Copied
Good morning
I work for 2 pcs
one windows and one mac
I use many scripts
unfortunately a few times it sucks me that windows works fine but not mac
or on mac well and on windows no
there would be a possibility that if a script runs on windows part of a script
if instead of another part of the mac?
Thank you
It's definitely possible, e.g.
if ($.os.match(/windows/i)) {
// Windows stuff
} else {
// Mac stuff
}
HTH,
Davide
Copy link to clipboard
Copied
It's definitely possible, e.g.
if ($.os.match(/windows/i)) {
// Windows stuff
} else {
// Mac stuff
}
HTH,
Davide
Copy link to clipboard
Copied
Thank you David.