Search found 260 matches

by thatkeith
Fri Jan 03, 2014 6:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Finding a string in a list
Replies: 4
Views: 1033

Re: Finding a string in a list

Heh. Great suggestions - stuff that'll keep my learning nice and curved too. ;) Sorry I didn't get back to y'all on this, I got distracted with a few other LC projects. I'll try this again shortly. It's an attempt to make the dice game "5000", largely as a learning exercise. So I'll try all the abov...
by thatkeith
Fri Jan 03, 2014 6:10 pm
Forum: Talking LiveCode
Topic: Making an app invisible?
Replies: 2
Views: 771

Making an app invisible?

I'd like to make an app that runs on my Mac but doesn't add its icon to the Dock. I did this years ago using ResEdit in Mac OS 9 (told you it was years ago!), and I've found a couple of prompts for doing this in Mac OS X by editing an app's info.plist file and adding a couple of lines, but when I tr...
by thatkeith
Sun Oct 27, 2013 11:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Finding a string in a list
Replies: 4
Views: 1033

Finding a string in a list

I have a string of numbers that I'd like to match against a list of different numbers. Currently the list is in a two-words-per-line form, with the first word being the 'thing to match' and the second word being a score that this combination gets, for example: 1111 1100 1115 1050 1155 300 1555 600 5...
by thatkeith
Thu Jun 27, 2013 4:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Including libraries in standalone?
Replies: 9
Views: 2366

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: 2366

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: 2366

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: 2366

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: 2366

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: 1814

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: Multimedia
Topic: Capturing images from multiple webcams?
Replies: 7
Views: 3953

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: Multimedia
Topic: Capturing images from multiple webcams?
Replies: 7
Views: 3953

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: Multimedia
Topic: Capturing images from multiple webcams?
Replies: 7
Views: 3953

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: 1841

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: 1554

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: 616

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. :-)

Go to advanced search