use-revolution Digest, Vol 62, Issue 10

Joe Lewis Wilkins pepetoo at cox.net
Sun Nov 9 16:13:19 EST 2008


Hi Edward,

Maybe if you changed it to read: go cd (the value of the clickline)

It doesn't look like much of a change, but compilers can be persnickety.

HTH,

Joe Wilkins

On Nov 9, 2008, at 12:41 PM, edward cawley wrote:

> Hi Joe,
> Tried your fix, I had to modify it a bit:
> go cd the value of the clickline
> It compiled ok and it worked - went to the cd, but I got an error  
> message
> 		     	executing at 2:19:20 PM
> Type	Handler: error in statement
> Object	Flora-sn
> Line	go cd the value of the clickline
> Hint	mouseup
>
> I tried it without the the and it wouldn't compile, also tried it  
> with mousedown, same thing,
> Any ideas?
>
>
> On Nov 9, 2008, at 9:14 AM, use-revolution-request at lists.runrev.com  
> wrote:
>
>>
>> Hi Edward,
>>
>> I think you can do all of this with one statement, assuming the cds
>> have the names shown on the list:
>>
>> on mouseUp
>> go cd value of the clickline
>> end mouseup
>>
>> I hope I've not misunderstood what you're trying to do. I would lock
>> the field before using it, but you can cmd/click on an unlocked field
>> and it should work. At least I'm doing that all the time. HTH,
>>
>> Joe Wilkins
>>
>> On Nov 8, 2008, at 10:13 AM, edward cawley wrote:
>>
>>> I'm trying to convert from old hyperCard stacks to Rev. stacks.
>>> I think I may be able to improve the scripts but I've been having
>>> problems.
>>> I have a list of plant names that I want to click on and go to a
>>> card with that name.
>>> I have tried this script:
>>>  on mousedown
>>> local x, xxx
>>> --lock screen
>>> --Use this script to capture a line of text in a variable
>>> --field must be LOCKED
>>
>>



More information about the use-livecode mailing list