Do "in browser" not working?
Mark Schonewille
m.schonewille at economy-x-talk.com
Tue Nov 13 21:03:21 EST 2012
Hi Simon,
Probably, you want this:
on mouseUp
put "12131232" into myScore
put "alert('" & myScore & "');"into myScript
put revBrowserExecuteScript(gBrowserInstanceID, myScript) into myJSResult
end mouseUp
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
We have time for new software development projects. Contact me for a quote.
On 14 nov 2012, at 02:33, Simon Smith wrote:
> I've been trying to execute some basic JavaScript tests in the IDE on OSX.
>
> *on* mouseUp
>> *do* "result = urlParams" in browser
>> *-- put "12131232" into myScore
>> * *-- do "alert ('" & myScore & "');" in browser
>> **end* mouseUp
>
> However although the script compiles, the debugger complains and I can;t
> get anything to work. There is no mention in the help either - has this
> feature been dropped somewhere along the road?
More information about the use-livecode
mailing list