Heya Andy,
I tried, since I sort of have both environments to play with, but am not getting reliable results from the later IDEs.
Mac 10.6.5 Lc 8.1.8 (latest I can run there) -
test doesn't appear to work, but am not able to confirm that I am not screwing something up. Tested by setting up the stack the way you listed, slight modifications afterwards.
Code: Select all
// browser widget code ...
on browserNavigateBegin pUrl
if "2108.co.uk" is not among the words of pUrl then answer "Not a 2108 address"
browserNavigateBegin pUrl
// placed 2 buttons below browser widget, set the labels to [www.google.com] and [2108.co.uk]...
// code in card script...
on mouseUp
set the url of widget "Browser" to "https://" & the label of the target
end mouseUp
..1. no matter which button I clicked, the answer dialog showed up reporting that this is not a 2108 address.
- Google...
- 2108....
I resolved this was changing the line "if "2108.co.uk" is not among the words of pUrl then answer "Not a 2108 address" to the following -
Code: Select all
if "2108.co.uk" is not among the characters of pUrl then answer "Not a 2108 address"
I don't have a windows box with a connection to the internet, so couldn't perform the test on one of those systems, but will setup one just to see.