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?



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to