Search found 47 matches

by Steve Collins
Fri Apr 21, 2017 5:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Browser Widget with MP4 and WebM Videos
Replies: 1
Views: 2406

Browser Widget with MP4 and WebM Videos

Mac OS Sierra does not like a LC app I wrote that uses revBrowserCEF (Chrome 39) to play WebM videos. Videos are very slow to load on older Macs (15-30 seconds, compared to under 1 second before) and slowish on newer Macs. Still works great on Windows and any Mac with MacOS before Sierra. Not sure w...
by Steve Collins
Wed Mar 30, 2016 6:01 pm
Forum: Using Externals
Topic: Suppress Crash Report Caused by CEF External - Mac
Replies: 3
Views: 8855

Re: Suppress Crash Report Caused by CEF External - Mac

The CEF browser has been dropped from LC8 because of lack of support in the thirdparty library. I'm not sure whether that has gotten merged into the LC6 builds yet. But I think if you revert to the older browser (use revBrowserOpen rather than revBrowserOpenCEF) that should fix your current problem...
by Steve Collins
Mon Mar 28, 2016 12:50 am
Forum: Internet
Topic: revBrowserCEF - Handle New Window/Tab Request
Replies: 1
Views: 3062

revBrowserCEF - Handle New Window/Tab Request

I need to serve up this link in an LC browser: http://viewer.zmags.com/publication/bc1cdb39. Several of the buttons in the top center do not work within LC's browser, because they launch a new page/tab. Ideally, I would handle the new page requests by seeing messages and launching the new URLs in a ...
by Steve Collins
Thu Mar 24, 2016 6:15 am
Forum: Using Externals
Topic: Suppress Crash Report Caused by CEF External - Mac
Replies: 3
Views: 8855

Suppress Crash Report Caused by CEF External - Mac

Is there a way to suppress a crash report caused by a LiveCode standalone on Mac? I need to deliver a standalone that uses revBrowserCef and I am getting the recently reported and confirmed crash that occurs occasionally when closing a stack that used revBrowserCef. (Bug report: http://quality.livec...
by Steve Collins
Wed Mar 23, 2016 8:17 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Pre-load RevBrowserCef to shorten launch time [Solved]
Replies: 21
Views: 15583

Re: Pre-load RevBrowserCef to shorten launch time

Solved! "Windows 10" use of standalone externals problem When launching "Standalone 2" in an a folder (directory) using "Standalone 1" from a different folder, the defaulFolder setting for "Standalone 1" carries forward to "Standalone 2". So "Standalone 2" thinks it is in a different folder and can'...
by Steve Collins
Tue Mar 22, 2016 7:34 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Pre-load RevBrowserCef to shorten launch time [Solved]
Replies: 21
Views: 15583

Re: Pre-load RevBrowserCef to shorten launch time

Is there a way to force a standalone to launch it's externals, in this instance where they are not loaded or connected for loading at initial launch? Seems like it can't find them when launched by my standalone launch app. Specifically, the Standalone can't find the CEF software that resides in the ...
by Steve Collins
Tue Mar 22, 2016 5:00 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Pre-load RevBrowserCef to shorten launch time [Solved]
Replies: 21
Views: 15583

Re: Pre-load RevBrowserCef to shorten launch time

I know little about how Windows deals with this stuff, but my guess would be a restriction preventing one app from controlling another due to malware protections. Or maybe it's just a permissions issue. Anyone know? I was just able to launch the app from Powershell in Windows 10, with CEF working, ...
by Steve Collins
Mon Mar 21, 2016 7:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Pre-load RevBrowserCef to shorten launch time [Solved]
Replies: 21
Views: 15583

Re: Pre-load RevBrowserCef to shorten launch time

Help! One last snag found. CEF browser does not work when called with my standalone MyApplication (residing in the Temp folder with its Externals folder) on Windows when launched by another standalone LaunchApp (from flash drive or Desktop). But, when LaunchApp STACK (while running in LC) launches t...
by Steve Collins
Sun Mar 20, 2016 10:52 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Pre-load RevBrowserCef to shorten launch time [Solved]
Replies: 21
Views: 15583

Re: Pre-load RevBrowserCef to shorten launch time

Opening the MacOS folder in the Contents and replacing the "MyApplication" file fixes the bad app. Turns out it's supposed to be a Unix executable but when unzipped via LC it becomes a TextEdit Document, according to Get Info. Not sure why the executable bit is carried over by other tools but not t...
by Steve Collins
Sun Mar 20, 2016 8:00 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Pre-load RevBrowserCef to shorten launch time [Solved]
Replies: 21
Views: 15583

Re: Pre-load RevBrowserCef to shorten launch time

Sorry, I didn't address the compression part. It's standard gz but to be sure it's compatible with LC, do the compression in LC too. Use LC's "compress" command. It's the same three lines I posted with only the one command changed. Compress only works with single files. If you need externals or oth...
by Steve Collins
Sun Mar 20, 2016 9:35 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Pre-load RevBrowserCef to shorten launch time [Solved]
Replies: 21
Views: 15583

Re: Pre-load RevBrowserCef to shorten launch time

[quote="jacque"] For Windows, you can use LC's compress and decompress commands. Those work with a single file (a Mac app is a bundle of many files, but a Windows app will work.) LC does not need any other software to do compression, it's built-in. To decompress: put url ("binfile:"&<path to compres...
by Steve Collins
Fri Mar 18, 2016 11:58 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Pre-load RevBrowserCef to shorten launch time [Solved]
Replies: 21
Views: 15583

Re: Pre-load RevBrowserCef to shorten launch time

> Yes but you have to know that revZipEnumerateItems only works until LC 6.7.1 Ugh! On Windows, it just returns the one .exe file inside and skips the rest of the other files in the zip file. I suppose I could use revZipEnumerateItems, store the items and unzip based on that, without getting the lis...
by Steve Collins
Fri Mar 18, 2016 9:33 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Pre-load RevBrowserCef to shorten launch time [Solved]
Replies: 21
Views: 15583

Re: Pre-load RevBrowserCef to shorten launch time

Hi Steve, Yes, you should also be able to use LiveCodes in-built syntax for this purpose. I used the shell command in my initial script as it required only a single line. LiveCode revZip commands require a few more lines of script but you do have a little bit more direct control over what you can d...
by Steve Collins
Fri Mar 18, 2016 7:56 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Pre-load RevBrowserCef to shorten launch time [Solved]
Replies: 21
Views: 15583

Re: Pre-load RevBrowserCef to shorten launch time

simply (full) quote the pathname"! Best Klaus Fixed everything, including the need to have the single quote marks around the path mentioned above. The above script to unzip to a hard disk destination is working great on Mac, but not in Windows. Getting this path (from flash drive), which looks like...
by Steve Collins
Thu Mar 17, 2016 5:58 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Pre-load RevBrowserCef to shorten launch time [Solved]
Replies: 21
Views: 15583

Re: Pre-load RevBrowserCef to shorten launch time

Klaus wrote: simply (full) quote the pathname"!

Best
Klaus
Fixed everything, including the need to have the single quote marks around the path mentioned above.

Go to advanced search