2 quick questions

Terry Judd tsj at unimelb.edu.au
Tue Jun 15 22:32:17 EDT 2010


Mark - put the following handler in the stack script

on preopencard
  if there is a fld "cardNumberField" then
    put the number of this cd into fld "cardNumberField"
  end if
end preopencard

If the target field is definitely on all the cards then you'd just need

on preopencard
  put the number of this cd into fld "cardNumberField"
end preopencard

HTH,

Terry...


On 16/06/10 12:21 PM, "Mark Smith" <Mark_Smith at cpe.umanitoba.ca> wrote:

> HI Mark, I was all excited until I realized i didn't know where to put it.
> Here is what I want to do: I want to put the number of the current card into a
> field or label on the card so I know where I am in the stack. Where would I
> put this line
> 
> put the number of this cd into field cardnumberfield
> 
> thanks
> 
> -- M
> 
> Mark Smith
> 
> ________________________________________
> From: use-revolution-bounces at lists.runrev.com
> [use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Schonewille
> [m.schonewille at economy-x-talk.com]
> Sent: Tuesday, June 15, 2010 9:33 AM
> To: How to use Revolution
> Subject: Re: 2 quick questions
> 
> Mark,
> 
> put the number of this  cd
> put the number of the current cd
> put the number of this cd of stack "Foo"
> put the number of the current cd of stack "Foo"
> 
> I think there is a FAQ on the RunRev homepage but probably it isn't
> what you're looking for. I'd be happy to host a FAQ on runrev.info if
> we (the list) can agree on what should be included in such a FAQ.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> 
> Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj
> Download Clipboard Link http://clipboardlink.economy-x-talk.com and
> share the clipboard of your computer over the local network.
> 
> On 15 jun 2010, at 15:53, Mark Smith wrote:
> 
>> 1. How can I get the number of the current card (and put it into a
>> field or variable)?
>>    Related: since I am reading a property from an object will the
>> solution to this problem generalize to all properties for all objects?
>> 
>> 2. Has someone compiled a FAQ from this mailing list and where can I
>> find it.
>> 
>> Thanks
>> 
>> 
>> 
>> Mark Smith
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

--
Dr Terry Judd | Senior Lecturer in Medical Education
Medical Education Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne





More information about the Use-livecode mailing list