Looking at one of my old actions I can see that I went to some lengths to see if the host application supported fwLaunchURL(). I did this by sniffing the fwFreewayVersion and excluding users who didn’t make the grade.
However, I’d much rather just wrap this in an if block;
if (fwLaunchURL){
do stuff
} else {
do other stuff
}
This fails as Freeway complains about fwLaunchURL in pre v5 versions. I’ve also attempted try, catch blocks but these also fail to run without error.
Any ideas how this can be done - if at all?
I’d rather not have to build a matrix of functions and the application version they all appeared in!