Search found 257 matches

by thatkeith
Thu Jun 27, 2013 4:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Including libraries in standalone?
Replies: 9
Views: 1854

Re: Including libraries in standalone?

So many oddities... When I open my stack I sometimes get a 'can't find handler' error, pointing at the libURLftpUploadFile line: libURLftpUploadFile tFileForUpload, tDestination, "uploadComplete" But other times it runs fine with no error, and uploads. The difference appears to be based on whether o...
by thatkeith
Thu Jun 27, 2013 3:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Including libraries in standalone?
Replies: 9
Views: 1854

Re: Including libraries in standalone?

Hmm. I have the release notes PDF open - "LiveCode 6.1.0-rc-1 Release Notes 6/24/13" - but there's nothing in here about video. I'm now wondering whether I should install 6.0.x instead of the RC1 build of 6.1.
by thatkeith
Thu Jun 27, 2013 2:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Including libraries in standalone?
Replies: 9
Views: 1854

Re: Including libraries in standalone?

Thanks again Klaus! Just to make sure, I put 'in 60' as the send delay. It's starting to send me spinning in circles: it seems to work, but not consistently. Which means I need to track down what the variable is that's causing this. Variable in the non-code sense of course...

[muffled "aargh!"]

k
by thatkeith
Thu Jun 27, 2013 1:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Including libraries in standalone?
Replies: 9
Views: 1854

Re: Including libraries in standalone?

Thanks Klaus – I seem to have forgotten a little more than I realised! It's been quite some time since I used Rev... I mean LiveCode. :) Unfortunately, I'm still stuck. After some efforts, I took a copy of the original Video Capture example stack, set its Standalone Application Settings to include t...
by thatkeith
Wed Jun 26, 2013 2:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Including libraries in standalone?
Replies: 9
Views: 1854

Including libraries in standalone?

I've poked into the Video Capture example stack and want to make something that grabs a still image, uploads it to a predetermined FTP location, then launches the URL in a browser. I have this working fine in LiveCode, but I just can't figure out how to get it functioning in a standalone. In the Sta...
by thatkeith
Wed Dec 15, 2010 4:19 pm
Forum: iOS Deployment
Topic: Play audio control in iOS?
Replies: 3
Views: 1451

Play audio control in iOS?

Hi, I've imported a short audio file (AIFF) as a control. On the Mac, when I play this either by name or audioClip number reference, it plays fine. When I test this in the simulator or on my iPhone the audio doesn't play. I'm probably missing something simple - could someone give me a nudge in the r...
by thatkeith
Fri Oct 15, 2010 3:54 pm
Forum: Rich Media
Topic: Capturing images from multiple webcams?
Replies: 7
Views: 3349

Re: Capturing images from multiple webcams?

1. I think "revVideoGrabSettings" will also contain the source of the video, so switching by script with "revSetVideoGrabSettings" should "restore" the input, too. Hmm. Well, it seems that, contrary to my surface-level attempts at logic, Rev/LiveCode doesn't play ball in this way; it doesn't let me...
by thatkeith
Thu Sep 30, 2010 2:03 pm
Forum: Rich Media
Topic: Capturing images from multiple webcams?
Replies: 7
Views: 3349

Re: Capturing images from multiple webcams?

I wondered whether that might be an issue. Two devious (and hence probably futile) ideas occured to me... (1) Can selecting the cam source be controlled by script? (2) Alternatively, could multiple copies of a standalone be made to work with different cam inputs at the same time, or is the input sel...
by thatkeith
Thu Sep 30, 2010 1:55 pm
Forum: Rich Media
Topic: Capturing images from multiple webcams?
Replies: 7
Views: 3349

Capturing images from multiple webcams?

Is it possible to capture image data from multiple webcams (basically any cheap USB-connected cameras) simultaneously? (Near-simultaneous would be fine, I'm not worried about the precise definition of the word. ;-) I want to be able to grab a single still image/frame from each camera, as part of a R...
by thatkeith
Tue Mar 23, 2010 2:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Grayed image on the web with the revlet
Replies: 8
Views: 1313

Re: Grayed image on the web with the revlet

you could comment out the formattedWidth/formattedHeight part of the script. It would reduce the size of the stack. Hi Bernd - I remember doing this many years ago in SuperCard, setting the pictureData of an image to itself (I forget the exact wording) in order to throw away unnecessary embedded pi...
by thatkeith
Thu Mar 11, 2010 11:37 pm
Forum: Announcements
Topic: New widget: Font dialog-box!
Replies: 3
Views: 1302

Re: New widget: Font dialog-box!

Alternatively... 1) user select a font from a custom-directory 2) we install that font so we can use it. 3) Set some sample text in that font and capture it as a graphic 4) Uninstall the font, leaving the graphic image of the font on display Untried, don't know if there would be any 'gotchas' with t...
by thatkeith
Mon Mar 08, 2010 11:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Is revFontLoad result only for Rev?
Replies: 2
Views: 437

Re: Is revFontLoad result only for Rev?

Thanks Mark. Oh well - I was wondering whether I could build myself a general-purpose font manager tool! Seems not. :-)
by thatkeith
Mon Mar 08, 2010 2:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Playing sound with mouse down
Replies: 4
Views: 662

Re: Playing sound with mouse down

Another angle might be to work with a mouseStillDown handler.
Just a comment, as I think you're already using the best option. But it can sometimes be helpful and educational to think of different ways to get to a desired end result.

k
by thatkeith
Mon Mar 08, 2010 12:10 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Is revFontLoad result only for Rev?
Replies: 2
Views: 437

Is revFontLoad result only for Rev?

If I use revFontLoad to add a font to the list of what's available within a Rev stack this works perfectly. But in my tests the loaded font isn't available to other apps, even if they are launched after the Rev stack loads the font. Is this how it works?

k
by thatkeith
Fri Mar 05, 2010 10:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Grayed image on the web with the revlet
Replies: 8
Views: 1313

Re: Grayed image on the web with the revlet

Make sure that you import the picture as a control, rather than referenced: File menu/Import as Control/Image File... Thanks, this did the trick for me. One question: is it possible to script the 'conversion' of a big set of graphics from file-referencing things to controls if they are already in a...

Go to advanced search