You could try:
local tVariableWithLines
repeat with x = 1 to the number of lines in tVariableWithLines
if line x of tVariableWithLines = "C" then
answer x
end if
end repeat
be well,
randy
Search found 148 matches
- Sat Jul 11, 2015 2:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: the line number in a variable
- Replies: 2
- Views: 2499
- Fri Jul 10, 2015 12:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Non-blocking wait until revIsSpeaking() is FALSE
- Replies: 2
- Views: 2158
Re: Non-blocking wait until revIsSpeaking() is FALSE
What if you put this code in the field on mouseUp if revIsSpeaking() is true then revStopSpeech exit mouseUp else revSpeak line 1 to -1 of field "audioField" wait until revIsSpeaking() is FALSE with messages end if end mouseUp Then you could put this code in the “off” button: on mouseUp if revIsS...
- Sat Jun 27, 2015 12:32 pm
- Forum: Android Deployment
- Topic: returnInField or enterinField looses Functinality of key in
- Replies: 8
- Views: 5168
Re: returnInField or enterinField looses Functinality of key
Then I'll bet the button is a "default" style and is being activated when you hit return/enter. Turn off its default setting under the Basic Properties pane... near the bottom.
See SEND in the dictionary for some information about "mouseUp" in quotes.
See SEND in the dictionary for some information about "mouseUp" in quotes.
- Sat Jun 27, 2015 4:09 am
- Forum: Android Deployment
- Topic: returnInField or enterinField looses Functinality of key in
- Replies: 8
- Views: 5168
Re: returnInField or enterinField looses Functinality of key
try this
send “mouseUp” to button “set” of card 2
send “mouseUp” to button “set” of card 2
- Mon Jun 01, 2015 12:16 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Trying to create a slide up drawer in stack
- Replies: 9
- Views: 6141
Re: Trying to create a slide up drawer in stack
changing the size of a group does not automatically change the relative sizes of the controls in the group. Best I know, you need to script the relative size changes for all the controls in the group.
- Thu May 28, 2015 1:05 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Trying to create a slide up drawer in stack
- Replies: 9
- Views: 6141
Re: Trying to create a slide up drawer in stack
Try this to get started. Place a graphic along the bottom of a card. Then in the graphic use this code:
on mouseEnter
move me relative 0,-100 in 60 ticks
end mouseEnter
on mouseLeave
set the top of me to the (bottom of this card - 50)
end mouseLeave
on mouseEnter
move me relative 0,-100 in 60 ticks
end mouseEnter
on mouseLeave
set the top of me to the (bottom of this card - 50)
end mouseLeave
- Tue May 26, 2015 12:12 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: ios deployment issue [solved]
- Replies: 19
- Views: 13150
Re: ios deployment issue
I've never used TestFlight... the steps I shared are basically what I follow to submit the final version.
Like Dave mentioned earlier, I also use AirLaunch for sharing beta versions of my apps.
Like Dave mentioned earlier, I also use AirLaunch for sharing beta versions of my apps.
- Mon May 25, 2015 3:36 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: ios deployment issue [solved]
- Replies: 19
- Views: 13150
Re: ios deployment issue
Hi Sean, As I recall, these are the steps. Create the .app file with LiveCode… you’ve already done this according to your post Compress it remove all spaces from the name open Application Loader Select “Deliver Your App” ... it’s the default Press “Choose” Select your compressed app file. Follow the...
- Sat May 23, 2015 1:39 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Creating a template Card?
- Replies: 9
- Views: 5819
Re: Creating a template Card?
My "copy card" example is part of my work in the IDE... yes, I have both stacks open. So,this is not part of any "standalone" distribution. I bet a substack method for what I do would be just fine.
randy
randy
- Thu May 21, 2015 3:16 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Creating a template Card?
- Replies: 9
- Views: 5819
Re: Creating a template Card?
I’ve used an “art card” that I’ve copied from one stack to another… when both stacks are open I have this code in a button in the template stack:
copy card “ArtCard" of stack “myTemplate" to stack “TargetStackName"
copy card “ArtCard" of stack “myTemplate" to stack “TargetStackName"
- Wed May 20, 2015 7:26 pm
- Forum: Talking LiveCode
- Topic: Yosemite label problem
- Replies: 4
- Views: 2990
Re: Yosemite label problem
Craig,
Yes, I see the problem in Yosemite. I see the problem in the standalone and in the IDE.
The problem seems to “go away” when any button style other than “standard” is assigned to the button.
be well,
randy
Yes, I see the problem in Yosemite. I see the problem in the standalone and in the IDE.
The problem seems to “go away” when any button style other than “standard” is assigned to the button.
be well,
randy
- Mon Apr 20, 2015 10:50 pm
- Forum: iOS Deployment
- Topic: Can't do Text to speech with LiveCodeSDK-R14
- Replies: 11
- Views: 9265
Re: Can't do Text to speech with LiveCodeSDK-R14
Hello,
I’d really like to try the build of rreNarrator for iOS 8.1. I tried emailing Nakia, but the address bounced. Does anyone have an updated email address or the build?
be well,
randy
I’d really like to try the build of rreNarrator for iOS 8.1. I tried emailing Nakia, but the address bounced. Does anyone have an updated email address or the build?
be well,
randy
- Fri Mar 20, 2015 6:51 pm
- Forum: iOS Deployment
- Topic: App Launch VERY SLOW
- Replies: 9
- Views: 7018
Re: App Launch VERY SLOW
I’ve experienced the same issue using LC 6.7.2 compared to 6.6.5 with iOS iPhone simulators 7.1 and 8.1. I’ve also seen the delay on real devices. I’m using Yosemite 10.2 and Xcode 6.1.1. The delay seems to be related to the amount information I have in text fields… the amount of text affects 7.1 an...
- Tue Feb 24, 2015 3:15 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resize a specific card in a stack
- Replies: 4
- Views: 3000
Re: Resize a specific card in a stack
Would it work for what you’re trying to accomplish if “Card B” was a group you displayed on top of Card A?
- Sat Nov 15, 2014 6:41 pm
- Forum: Talking LiveCode
- Topic: Parental Gate for Apple - Math problem
- Replies: 22
- Views: 11937
Re: Parental Gate for Apple - Math problem
Oh yeah, sorry I used 7.0 Here's one saved in the earlier format….