Search found 9 matches

by Barkandgargle
Sun Feb 20, 2011 7:38 am
Forum: Internet
Topic: wordOffset problem
Replies: 6
Views: 5625

Re: wordOffset problem

Hi Bankgkok. Thanks for replying. However, the word I'm finding is not more than one word. The fact that it is a contiguous set of characters means that livecode is seeing it as one word. Here's something else: If I use put "<li><span class=" & quote & "official " is in field htmlsource it returns t...
by Barkandgargle
Sun Feb 20, 2011 7:29 am
Forum: Internet
Topic: wordOffset problem
Replies: 6
Views: 5625

Re: wordOffset problem

Maybe a shorter way of asking about my issue about this above is this: how can I locate words or phrases within html code, when they're not necessarily separated by spaces? Wordoffset won't identify a word unless it is separated by spaces. If I can figure out how to do this, I won't need to much aro...
by Barkandgargle
Sun Feb 20, 2011 7:24 am
Forum: Internet
Topic: wordOffset problem
Replies: 6
Views: 5625

wordOffset problem

I'm trying to grab the URL on any given wikipedia page, for the "official website" shown in "External Links". I grab the HTML source for the wikipedia page in question and then am attempting to use the wordoffset to find the URL string. The URL I want is always preceeded by the code <li><span class=...
by Barkandgargle
Sat Feb 19, 2011 11:18 pm
Forum: Talking LiveCode
Topic: finding a URL in a large string of text
Replies: 0
Views: 1613

finding a URL in a large string of text

What's the easiest way to take a large amount of text (such as the source code for an entire HTML page) and look for a certain string of text - like a lable. And then when I find that, to copy the URL that follows that string into a variable?

Thanks.
by Barkandgargle
Fri Feb 18, 2011 7:53 pm
Forum: Multimedia
Topic: how hide image area containing revbrowser?
Replies: 8
Views: 7259

how hide image area containing revbrowser?

Sorry if this is a question with an obvious answer, but I haven't been able to figure it out... I've succeeded at having a youtube video appear within a image ar I've created an image area, and by using revbrowser am able to have a youtube video to play in the area. So success to this point. When ot...
by Barkandgargle
Thu Feb 17, 2011 6:57 pm
Forum: Internet
Topic: embedding widgets like grooveshark
Replies: 3
Views: 4841

Re: embedding widgets like grooveshark

Hi Barkandgargle (come on, you must be kidding :D), without having the slightest idea what a "grooveshark widget" might be, I bet you will need to use a RevBrowser object for this! Best Klaus Go to> widgets dawt grooveshark dawt com slash widgets. (Putting it that way, cause my forum permissions do...
by Barkandgargle
Thu Feb 17, 2011 5:41 pm
Forum: Internet
Topic: embedding widgets like grooveshark
Replies: 3
Views: 4841

embedding widgets like grooveshark

Anyone have experience embedding the grooveshark widget (music player) into a livecode app? Does it have to be done via revBrowser, or can you eliminate the need to launch a browser window and simply embed the widget on a livecode card?

Thanks in advance for your help.
by Barkandgargle
Thu Feb 17, 2011 5:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Capitalizing the first character/letter in a word
Replies: 7
Views: 6500

Re: Capitalizing the first character/letter in a word

BvG wrote:

Code: Select all

put toUpper(char 1 of word 1 of field "test") into char 1 of word 1 of field "test"
Thanks for your help. The code above is what I thought should work, but I didn't have it exactly quite right. But this now works. Appreciate it.
by Barkandgargle
Wed Feb 16, 2011 5:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Capitalizing the first character/letter in a word
Replies: 7
Views: 6500

Capitalizing the first character/letter in a word

What's the easiest most direct way to change only the first character in a word to uppercase, leaving the rest to lower case?

Thanks in advance...