CEF Browser - what is wrong with my script

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Sat Jul 29 19:00:23 EDT 2017


The script just contains  the normal url, but my email added this 2nd one with the brackets.

I am on Mac OS X.


Matthias Rebbe
+49 5741 310000
‌matthiasrebbe.eu <http://matthiasrebbe.eu/>‌

> Am 30.07.2017 um 00:57 schrieb Mike Bonner via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
> 
> Other than the invalid form of the url, its working for me here (in the
> ide, windows 10, 9.0 dp7)  I end up with a blank browser because it doesn't
> know how to handle the <http://www.livecode.com/ <http://www.livecode.com/>> part of the url, removing
> that correctly brings up the livecode site.  Sounds like something in the
> external itself is breaking. Still, if you're on a different os or version
> of livecode, I'd start by just using "http;//www.livecode.com <http://www.livecode.com/>" as a check
> to eliminate it as a possible issue.
> 
> On Sat, Jul 29, 2017 at 4:44 PM, Matthias Rebbe via use-livecode <
> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>> wrote:
> 
>> Hi,
>> i get the error
>> 
>> stack "Untitled 1": execution error at line n/a (External handler
>> execution error: creation failed) near "creation failed"
>> 
>> when executing the following script in ide
>> 
>>   local tBrowserId
>>   put revBrowserOpenCEF(the windowId of this stack, "
>> http://www.livecode.com <http://www.livecode.com/> <http://www.livecode.com/ <http://www.livecode.com/>>" ) into tBrowserId
>>   if tBrowserId is not an integer then
>>      answer "Failed to open browser"
>>   end if
>>   revBrowserSet tBrowserID, "rect" , the rect of graphic "rectangle"
>> 
>> Tried in LC 8.1.5 and LC 9 DP8.
>> 
>> I cannot see an error in the script, if i use revBrowserOpen instead of
>> revBrowserOpenCeF then it works.
>> 
>> Am i missing something?
>> 
>> Regards
>> Matthias
>> 
>> 
>> Matthias Rebbe
>> +49 5741 310000
>> ‌matthiasrebbe.eu <http://matthiasrebbe.eu/> <http://matthiasrebbe.eu/ <http://matthiasrebbe.eu/>>‌
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list