Hi,
in card 1 I have a layout of 4 x 25 buttons. In the following cards I need an each different number (1 … 7, 25 … 40, …) of them.
Creating and outfitting buttons on their cards is very time consuming. Is there a scripted option, to select, copy and paste such a range of buttons, fields, … at a single blow ?
Regards and thanks
Peter
Select a range of e.g. buttons by script
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Select a range of e.g. buttons by script
Hi Peter,
a clever naming scheme will always help, so you will be able to do something like this:
Best
Klaus
a clever naming scheme will always help, so you will be able to do something like this:
Code: Select all
...
go cd 1
# if neccessary
repeat with i = 1 to 7
set the selected of btn ("button" & i) to TRUE
end repeat
copy
select empty
go cd 2
paste
...
Klaus
Re: Select a range of e.g. buttons by script
Another way is something like this.
It is up to you to manage how the buttons are "selected", but the copy command does what you need directly.
Craig Newman
Code: Select all
on mouseUp
repeat with y = 1 to 3
copy btn y to card yourDestinationCard
end repeat
end mouseUp
Craig Newman
Re: Select a range of e.g. buttons by script
@ Klaus
@ Craig
thank you for your really needed (and quick) help.
Peter
@ Craig
thank you for your really needed (and quick) help.
Peter