Search found 19 matches

by GSPearson
Thu Feb 19, 2015 8:25 pm
Forum: Internet
Topic: revBrowserCallScript
Replies: 10
Views: 2863

Re: revBrowserCallScript

I changed tBrowserId into gtBrowserID and on the

Code: Select all

get revBrowserCallScript(gtBrowserID, "DisplayAlert()", "Testing from Livecode")
the error is:

button "Button": execution error at line n/a (External handler: exception) near "error in script"
by GSPearson
Thu Feb 19, 2015 8:19 pm
Forum: Internet
Topic: revBrowserCallScript
Replies: 10
Views: 2863

Re: revBrowserCallScript

On the Map Card here is the script global gScreenSize, gScreenCenterLoc, gResizeStackHorizontal, gResizeStackVertical, gDeviceHasNetworkConnection, gDeviceHasInternetConnection global gServerName, gMainApplicationArchiveFilename, gMainApplicationFilename, gSplashAppVersion, gApplicationPrefsDir, gPr...
by GSPearson
Thu Feb 19, 2015 7:36 pm
Forum: Internet
Topic: revBrowserCallScript
Replies: 10
Views: 2863

Re: revBrowserCallScript

Yes on the page within the web server has <script type="text/javascript"> function DisplayAlert(txt) { alert(txt); } </script> When I put the DisplayAlert() within quotes, The error message I get is "unknown browser id" However in my variables tab of editor, gBrowserID has a value of 5441464. This b...
by GSPearson
Thu Feb 19, 2015 2:53 pm
Forum: Internet
Topic: revBrowserCallScript
Replies: 10
Views: 2863

Re: revBrowserCallScript

Any update to this with code samples. I am using LC 7.0 and the project I am working on I would love to do this to turn on and off a map layer that has school buildings locations within it. When I call this the error I get is Button :Button": execution error at line /na/ (External; handler: exceptio...

Go to advanced search