Search found 282 matches

by doobox
Sat Apr 16, 2016 5:49 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Round trip image from LC to browser widget and back
Replies: 3
Views: 3092

Re: Round trip image from LC to browser widget and back

Hi Jacque, I am passing images to the browser to process them because I can do things with this framework in less than a second it can take LC a minute or more to do to very large images. http://camanjs.com The framework can do things like take a photoshop curves preset and apply those curves adjust...
by doobox
Sat Apr 16, 2016 8:21 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Round trip image from LC to browser widget and back
Replies: 3
Views: 3092

Round trip image from LC to browser widget and back

Hi guys, You may have noticed from an earlier post I have been wrestling with an app that is utilising the browser widget to do some heavy lifting on image files. I feel at this point I need to tack a step back and take some advice on best practices. Basically I'd like to accept a user image via dra...
by doobox
Fri Apr 15, 2016 5:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Getting a data image from browser
Replies: 1
Views: 2194

Re: Getting a data image from browser

As usual after hours of hair loss, as soon as I write here, I see the issue. My data src clearly states it's a jpg and I was trying to save a png to disk in one of my attempts listed above. That works now when saved as png. Not sure why I can't put the data straight into the image, but if I have to ...
by doobox
Fri Apr 15, 2016 5:27 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Getting a data image from browser
Replies: 1
Views: 2194

Getting a data image from browser

Hi there, Struggling to get a data image from the browser widget into an LC image object. So here is the img src i get back from the browser (much shortened for display here) data:image/jpeg;base64,/9j…+vp+H3................ The data image appears properly in the browser widget. The variable I retur...
by doobox
Sat Feb 20, 2016 8:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Stack locking up
Replies: 1
Views: 1844

Stack locking up

Hi there, I am seeing my stack locking up (what looks like a missing unlock screen command but it's not that). On a drag and drop operation to the card from finder, I lock screen, Do some image processing, Unlock the screen. Expected : Stack resumes normal clickable and draggable behaviour. What I s...
by doobox
Mon Aug 31, 2015 10:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Browser Snapshot
Replies: 3
Views: 3032

Re: Browser Snapshot

I am afraid this does not seem to work on OS X using the stable version of 6.7.
Generates the error shown in my post above.
by doobox
Mon Aug 24, 2015 10:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Browser Snapshot
Replies: 3
Views: 3032

Browser Snapshot

Hi there, For LC 6.7 Mac OS X application. Reading around old posts, I am thinking revBrowserSnapshot has been broken for ever, and it does still appear to be broken for me in LC6.7 local tSnapshot revBrowserSnapshot tBrowserID, "tSnapshot" Error = "card id 1002: execution error at line 29 (Chunk: n...
by doobox
Tue Jun 09, 2015 10:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Set the loc compilation error
Replies: 4
Views: 3184

Re: Set the loc compilation error

No that throws an execution error.
I was looking way past the wrongly naming a "field" - "label" and just baffling my self even further by the fact i could write : the first label of this card

I want to kick my self for calling a field a label :-)
by doobox
Tue Jun 09, 2015 9:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Set the loc compilation error
Replies: 4
Views: 3184

Re: Set the loc compilation error

OMG.. I need to take a break :-) Thank's for pointing that out. I have been going round in circles for at least 2 hours. And I doubt I'd have spotted my stupid mistake for another 2 either.
by doobox
Tue Jun 09, 2015 9:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Set the loc compilation error
Replies: 4
Views: 3184

Set the loc compilation error

Hi there, I can't understand what I have ran into here. I can do this : on mouseUp set the loc of the first label of this card to 78,88 end mouseUp I can't do this : on mouseUp set the loc of label "globalHtmlPositionLabel" of this card to 78,88 end mouseUp This produces a compilation error "Button ...
by doobox
Thu Jun 04, 2015 8:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Getting short version number within IDE
Replies: 12
Views: 7084

Re: Getting short version number within IDE

Year, I'v been 10 hour's trying to solve the revXML question I posted below this one. My head's now hurting to much for curiosity today :-)
replacing it with "if the environment is "development" then" works for me now.
by doobox
Thu Jun 04, 2015 7:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Getting short version number within IDE
Replies: 12
Views: 7084

Re: Getting short version number within IDE

I don't really remember my thinking in using that condition anyway.
All I was doing in essence was the same as :

Code: Select all

  if the environment is "development" then
At least I think that's what I was thinking :-)
by doobox
Thu Jun 04, 2015 7:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Getting short version number within IDE
Replies: 12
Views: 7084

Re: Getting short version number within IDE

Hi Jacque, It certainly seems from what your saying that I was only partially correct that my if condition was breaking things when the show elements setting was not selected. However, removing that if condition did solve the issue instantly. As to "this stack" referring to the correct stack.. hmmmm...
by doobox
Thu Jun 04, 2015 6:38 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Get Livecode to include the revXML external with Search
Replies: 5
Views: 3878

Get Livecode to include the revXML external with Search

Hi there, Just wondering if anyone has any tips on forcing Livecode to recognise the fact it should be including the revXML external in the standalone OS X application when the Search for includes option is selected in the standalone settings. I can easily switch the standalone settings to "select i...
by doobox
Wed Jun 03, 2015 8:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Getting short version number within IDE
Replies: 12
Views: 7084

Re: Getting short version number within IDE

Thank's Dave, It did indeed turn out to be the if condition I posted that was to blame, which makes perfect sense really when you read what it says : if "cRevStandaloneSettings" is among the lines of the custompropertysets of this stack then // Not run if "Livecode UI Elements In Lists" is not selec...

Go to advanced search