reference card in script by field value
Posted: Tue Feb 28, 2023 11:43 am
Hi,
I have a template card that script copies to become a new customer account card. The name of the new card is the customer code. I want to run a button on the new card from another card. I have tried
but it doesn't work.
I guess I could do it another way, but I think it would involve more mouse clicks and I want to keep it as user-friendly as possible.
Any ideas how to amend my code to facilitate the send mouseup message to a button on a newly created card whose name is not known (yet) by the system, except as the contents of the field 'newcode'.
I have a template card that script copies to become a new customer account card. The name of the new card is the customer code. I want to run a button on the new card from another card. I have tried
Code: Select all
send mouseup to btn "new" of cd fld "newcode" of this card
I guess I could do it another way, but I think it would involve more mouse clicks and I want to keep it as user-friendly as possible.
Any ideas how to amend my code to facilitate the send mouseup message to a button on a newly created card whose name is not known (yet) by the system, except as the contents of the field 'newcode'.