Search found 46 matches

by James Little
Sat Nov 28, 2015 5:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Open & close revBrowser
Replies: 3
Views: 2502

Re: Open & close revBrowser

See revBrowserInstances in dictionary.

Code: Select all

local tInstances, tInstance

put revBrowserInstances() into tInstances

repeat for each item tInstance in tInstances
  revBrowserClose tInstance
end repeat

by James Little
Sun Nov 15, 2015 3:12 am
Forum: Talking LiveCode
Topic: Browser Widget Load in New Tab
Replies: 0
Views: 1924

Browser Widget Load in New Tab

I am pleased with the ease of use and the functionality of the browser widget in 8.0 dp 9. One challenge that I've been unable to solve is to navigate to a new url if the link opens in a new tab or a new window. I can handle messages like browserNavigateBegin and browserDocumentLoadComplete when the...
by James Little
Thu Sep 17, 2015 5:02 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: revBrowserOpen versus revBrowserOpenCef
Replies: 11
Views: 7431

Re: revBrowserOpen versus revBrowserOpenCef

Hi All, I know this is an old thread but I have a similar problem. I’m trying to display a local pdf in a browser on Mac (10.9.5). I’ve tried LC 7.1 rc2 and LC 8.0 dp4. I’ve also tried both revBrowserOpen and revBrowserOpenCEF. See my script below and the file path. Any suggestions? Thanks, Jim L. o...
by James Little
Tue Feb 10, 2015 6:12 pm
Forum: Talking LiveCode
Topic: A Scrum Board written in LiveCode!
Replies: 25
Views: 13798

Re: A Scrum Board written in LiveCode!

Very nice, Boo. Thanks for sharing this.

Best,

Jim
by James Little
Wed Apr 02, 2014 2:05 am
Forum: iOS Deployment
Topic: I cant deliver my app to the App Store
Replies: 6
Views: 5170

Re: I cant deliver my app to the App Store

I've been having difficulty delivering my app to the Application Loader as well. I keep getting errors about splash screens not being the right format. I tried changing that and it's not working. I'm using Livecode 6.6 and Xcode 5.1. These are the errors from Application Loader: "Apple's web service...
by James Little
Mon Mar 31, 2014 10:44 pm
Forum: iOS Deployment
Topic: exportSnapshot quality?
Replies: 3
Views: 3033

Re: exportSnapshot quality?

Just wanted to post a follow-up. My problem was with the new syntax: "at size" and then multiplying the width and height by the pixelScale. There really should be better documentation for this with an example of where to put "at size." export snapshot from this card at size (tWidth*tPixelScale, tHei...
by James Little
Wed Mar 26, 2014 5:42 pm
Forum: iOS Deployment
Topic: import snapshot
Replies: 2
Views: 2368

Re: import snapshot

Hey Dixie,

I had the same issue with "export snapshot from rect the screenRect". The image was squashed as well. When I tried export snapshot from this card it worked fine. I think it's probably a bug.

-Todd
by James Little
Wed Mar 26, 2014 5:39 pm
Forum: iOS Deployment
Topic: Scrolling group problem
Replies: 3
Views: 3153

Re: Scrolling group problem

hi thatkeith, Scroller groups are tricky. Have you taken a look at the scroller example stack? http://lessons.runrev.com/s/lessons/m/4071/l/44421-how-to-create-a-scrolling-group-using-the-improved-graphics-architecture Make sure to look at the Property Inspector as well as the script on the example ...
by James Little
Wed Mar 26, 2014 5:26 pm
Forum: iOS Deployment
Topic: exportSnapshot quality?
Replies: 3
Views: 3033

Re: exportSnapshot quality?

Hi Klaus, on mouseDown put specialFolderPath("Documents") into tFolder export snapshot from this card to file (tFolder&"/recipegraph.png") as PNG if char 1 of the systemVersion >= 6 then mergPopActivity "#SmoothieRx",(tFolder&"/recipegraph.png"),"http://www.appstore.com/smoothierx" else if mergTweet...
by James Little
Wed Mar 26, 2014 1:09 am
Forum: iOS Deployment
Topic: exportSnapshot quality?
Replies: 3
Views: 3033

exportSnapshot quality?

Hey gang, I've been working on a new version of SmoothieRx and the big thing for this new version is to up the quality of icons for Retina displays. One of the core features is to share a screenshot, but when I exportSnapshot it turns out super pixelated. I have tried multiple iterations on multiple...
by James Little
Fri Jul 19, 2013 7:00 pm
Forum: iOS Deployment
Topic: Send PDF from app via email
Replies: 3
Views: 2711

Re: Send PDF from app via email

I made a beginner mistake with this. I tried to include the file path using "file://" that didn't work. :D Just give the regular path with specialFolderPath.
Also, the standard MIME type for PDF is "application/pdf" not "text/pdf."
by James Little
Fri Jul 12, 2013 7:25 pm
Forum: iOS Deployment
Topic: DataGrid Form Slow on Device
Replies: 8
Views: 6103

Re: DataGrid Form Slow on Device

Thanks to you both for your insights. I've tried converting straight to an Array bypassing the invisible Datagrid. It works great in Simulator, but bogs way down to 12-13 seconds. The bottleneck is when I'm setting the dgData of the datagrid form.
by James Little
Fri Jul 12, 2013 1:30 am
Forum: iOS Deployment
Topic: DataGrid Form Slow on Device
Replies: 8
Views: 6103

DataGrid Form Slow on Device

I'm quite surprised at how slow the performance of the DataGrid Form on iOS. Maybe I'm doing something wrong. 1) I pull data from a SQlite database 2) That data is then put into an invisible DataGrid table 3) the dgData of that invisible Datagrid Table becomes an Array 4) I use that Array to populat...
by James Little
Wed May 22, 2013 6:53 pm
Forum: iOS Deployment
Topic: This is Interesting
Replies: 3
Views: 3317

Re: This is Interesting

I don't think we can make a call using the simulator.

http://stackoverflow.com/questions/9679 ... ners-to-it
by James Little
Fri Mar 01, 2013 7:30 pm
Forum: iOS Deployment
Topic: Unicode Answer & Ask Dialogues in iOS
Replies: 1
Views: 1918

Unicode Answer & Ask Dialogues in iOS

Hey everybody, I've been trying to localize my app into Japanese and struggling with getting Unicode to work in Answer dialogues in iOS. These are the things I've tried: 1) HTML text > outputs tags and all 2) RTF text > outputs tags 3) Various combinations of unicodetext and unidecode. Should I keep...

Go to advanced search