Hello..everyone.. I ran the debugger on this script and it's not working. Can anyone see any error here. The script file is attached.
Get(applicationVersion) is wrong:
The second half of your script ( get system platform) is right, but will only evaluate for iOS
it should be:
PatternCount ( Get(ApplicationVersion) ; "pro" ) > 0
do desktop stuff
Get(ApplicationVersion) = "Go_iPad"
do iPad stuff
Get(ApplicationVersion) = "Go"
do iPhone stuff
Shouldn't there be a bracket after the ApplicatioVersion and before the =
I was typing it out from memory, not copying and pasting from filemaker. You'll have to re-write the above back into your script accordingly. It was only an example of how to properly use those functions to do detection,
*edit*, yes I was missing a closing bracket, I modified the above to put them in the proper place.
Got it.. Thanks Mike.
Please include a description of what you want the script to do. What we think and what you want may not be the same.
I got it working..I just had to adjust the script like Mike stated...Thanks for you'll help.
still good advice for the future. We might be able to suggest better ways of doing things as well.
Retrieving data ...