Search found 15 matches

by Skyfisher
Mon Jan 25, 2010 4:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Converting Unicode to single-byte text?
Replies: 5
Views: 4950

Re: Converting Unicode to single-byte text?

Hi Mark, Thank you

When I use: put unidecode(myUnicodeVar,"UTF16") into myText

It seems to work for a few lines out of hundreds but then it follows with garbled text, as if the text does not have any linefeeds.

Question: How do I determine if my text file includes a BOM signature?
by Skyfisher
Sun Jan 24, 2010 3:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Converting Unicode to single-byte text?
Replies: 5
Views: 4950

Re: Converting Unicode to single-byte text?

I think I found a solution from a Tutorial:

on mouseUp
answer file "Select Text File"
if the result is not "cancel" then
set the unicodetext of field "text" to URL ("binfile:" & it)
end if
end mouseUp


This seems to allow me to load int the UTF-16 text without further manipulation.
by Skyfisher
Sat Jan 23, 2010 9:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Converting Unicode to single-byte text?
Replies: 5
Views: 4950

Re: Converting Unicode to single-byte text?

I have a poor workaround. I open the file with a text editor and then resave it as plain text (UTF-8). This allows me to parse the file without problems, however it does have a fair amount of junk charaters. I would really like to figure out how to get the 2 byte text converted to 1 byte within runr...
by Skyfisher
Sat Jan 23, 2010 12:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Converting Unicode to single-byte text?
Replies: 5
Views: 4950

Converting Unicode to single-byte text?

I am reading a tab delimited unicode file (I think UTF 16bit) and I want to convert it to simple single-byte text to make it easy to parse. For example if I look for a string such as "productX" it doesn't match anything because the text "productX" is single-byte while trying to match unicode text. a...
by Skyfisher
Thu Jan 21, 2010 1:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Beginner info on getting Revlets onto the Web?
Replies: 13
Views: 9911

Success!! Thank you!

I was able to get my first simple stack to run on my Mobile me site. It was incredibly easy. Leaving everything at the default settings. I simply changed the name of the test.html to index.html as instructed by Bernd and then copied the folder under the Web/Sites directory. Going to that web page I ...
by Skyfisher
Tue Jan 19, 2010 4:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Beginner info on getting Revlets onto the Web?
Replies: 13
Views: 9911

Re: Beginner info on getting Revlets onto the Web?

Excellent help everyone. Thank you. I had to travel for work this past week so now I'm back and will follow your advice. bn , Thanks so much. Since you have a me.com account, I'll try that first. BTW bn, love your simple test speaking stack, fun. :) And nice Easter Egg, fun stuff :) exheusden - your...
by Skyfisher
Wed Jan 13, 2010 2:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Beginner info on getting Revlets onto the Web?
Replies: 13
Views: 9911

Re: Beginner info on getting Revlets onto the Web?

Thank you Mark and Klaus - I appreciate your guidance. I thought I had created the revlet, I had saved the stack and then I saved as a web application. So I have it saved as a stack and as what I think is a revlet after making the settings suggested by Mark. Saved for Web App.png See the yellow hi-l...
by Skyfisher
Tue Jan 12, 2010 3:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Beginner info on getting Revlets onto the Web?
Replies: 13
Views: 9911

Re: Beginner info on getting Revlets onto the Web?

Hi Mark, Thank you for your help. I have not successfully published a revlet yet, but I am encouraged. But I got this far, within the iWeb environment after I pasted in all the HTML from the Test Page: Screen shot 2010-01-11 at 6.23.23 PM.png I expect I didn't set something correctly. I created a ve...
by Skyfisher
Mon Jan 11, 2010 4:46 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Beginner info on getting Revlets onto the Web?
Replies: 13
Views: 9911

Beginner info on getting Revlets onto the Web?

Hi, I have a Question. Now that we can easily create Web Applications, I'd like to learn what exactly I need to run the applications I create on the web (not just in my local browser). For example: I assume I can't have my own revlets or web applications running on my mobileme web pages? Does it req...
by Skyfisher
Sun Jan 10, 2010 5:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: myFirstScript
Replies: 12
Views: 7913

Re: myFirstScript

Exheusden and Bernd, Thank you for your helpful replies. And Yes I do have a Mac with Time Machine running using a large backup Drive. And yes, years ago I enjoyed developing HC stacks. I'm learning to adjust to how Rev is structured. So far, I have not had problems with Rev crashing or locking up, ...
by Skyfisher
Sat Jan 09, 2010 6:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: myFirstScript
Replies: 12
Views: 7913

Re: myFirstScript

Hi Bernd, If you have a stack with a group of elements set as a background, and then later you want to add another element to behave as a background, do you have to ungroup and then regroup the elements including the new element to have them all show up as a back ground? Or can you group a single el...
by Skyfisher
Sat Jan 09, 2010 3:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help to Calculate number of days in a month?
Replies: 9
Views: 9722

Re: Help to Calculate number of days in a month?

Wow, I never imagined so many options.
Sturgis, bankgkok, mario, and bernd, you guys are awesome! Thank you. I am studying your solutions, a lot of fun.

Thank you!
by Skyfisher
Fri Jan 08, 2010 5:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help to Calculate number of days in a month?
Replies: 9
Views: 9722

Re: Help to Calculate number of days in a month?

Sturgis, Thank you, I had not thought of it that way, that would make it easier using cases as you suggest. I've been tyring to code it by doing something the the below: Ask for the starting date of the calendar (make sure its the 1st day of a month) Then convert it to dateitems Then set the month d...
by Skyfisher
Fri Jan 08, 2010 3:08 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help to Calculate number of days in a month?
Replies: 9
Views: 9722

Help to Calculate number of days in a month?

Hi All, I'm brand new to Revolution, but am excited to use it. I'm evaluating it for possible use in my department at work. Anyway, I'm starting out by becoming familiar with the features and language. I've done the starter project for the Calendar (I think it needs some updating) and now I'm adding...