Search found 36 matches
- Thu Oct 18, 2012 11:13 pm
- Forum: iOS Deployment
- Topic: mobileControl message path
- Replies: 3
- Views: 2596
mobileControl message path
I am building a simple app to play different videos files based on the time of day (that information is held in a MySQL database). I need to have the app check for what movie it should play as soon as it finishes playing the current video. I have only one stack and one card, no controls other than t...
- Tue Oct 09, 2012 3:17 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Searching for text in a custom property
- Replies: 1
- Views: 1368
Searching for text in a custom property
I have a text file (csv) with schedules in it, and I need to search a specific column for a specific word. I need to print the entire line in which the string is found. If I were doing this bash (what I'm most comfortable with), I would use awk, and it would look something like this: awk -F, '$3 ~ /...
- Tue Oct 09, 2012 2:25 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Custom properties with variable names.
- Replies: 9
- Views: 5686
Re: Custom properties with variable names.
oh, I missed the first line. Thanks!dunbarx wrote:Each iteration creates a new custom name:
periodOffset1
periodOffset3
periodOffset3
etc.
Craig Newman
- Mon Oct 08, 2012 11:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Custom properties with variable names.
- Replies: 9
- Views: 5686
Re: Custom properties with variable names.
This also works: ... repeat with i = 1 to 7 put "periodoffset" & i into tCPName set the tCPName of this stack to wordoffset("Period", line 1 of allschedules, the tCPName of this stack) end repeat ... But wouldn't this just change the value of tCPName every time the repeat iterates? Or does set appe...
- Sun Oct 07, 2012 6:11 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Custom properties with variable names.
- Replies: 9
- Views: 5686
Re: Custom properties with variable names.
Thanks for your info! I actually am looking for the string "Period" rather than a literal "."dunbarx wrote: Oh, and "period" is not a constant in LC. You have to use ".", period.
Since posting earlier I decided to ditch this idea and store this info in an external file. Any opinions on which way is better?
- Sun Oct 07, 2012 3:59 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Custom properties with variable names.
- Replies: 9
- Views: 5686
Custom properties with variable names.
I'm writing a program to check a student's schedule, based on the output of our student management software. I don't want to depend on an external file to read this information every time, so I am planning on doing the launcher-mainstack combo when I create my standalone app so that I can save the s...