if you
lock screen
put the sort id of this card into baseCd
push card
-- find
if the short id of this card is baseCd then exit to top
else
answer 'the hit is not on the card you started on'
pop card
end if
--the unlock screen will happen at the exit of the handler automatically
---
and this
On May 1, 2011, at 11:50 AM, James Hurley wrote:
> I have a field with the script:
>
> on mouseUP
> put the value of the clickline into tText
> set itemdel to tab
> put item 1 of tText into tText
> find string tText in field "thetext"
> end mouseUP
>
>
> When I click on a line in the f
Hi Jim...
Just had a quick test... two cards each with a field...
on mouseUp
find "jim" in field id 1004
end mouseUp
Without using the id, it finds 'Jim' in both fields as you are seeing. Using
the id of the field it only looks in the one field.
be well
Hi Jim...
Does it help if you set 'lockMessages to true in the 'mouseUp' handler ?
be well
> I have a field with the script:
>
> on mouseUP
>put the value of the clickline into tText
>set itemdel to tab
>put item 1 of tText into tText
>find string tText in field "thetext"
> en
I have a field with the script:
on mouseUP
put the value of the clickline into tText
set itemdel to tab
put item 1 of tText into tText
find string tText in field "thetext"
end mouseUP
When I click on a line in the field RR finds the string in the field "theText"
and a second click