Re: Rename object

2019-07-09 Thread Mark Wieder via use-livecode
On 7/9/19 3:59 PM, Dr. Hawkins via use-livecode wrote: Wow, I can do that? All these years, and still little details . . . ikr -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Rename object

2019-07-09 Thread Dr. Hawkins via use-livecode
On Jul 4, 2019, at 9:33 AM, Dar Scott Consulting via use-livecode wrote: > > clone control "gizmo" as "blivet" Wow, I can do that? All these years, and still little details . . . — Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-84

Re: Rename object

2019-07-04 Thread Richmond via use-livecode
Virtual Kisses! That rocks so completely I am almost in love with you . . .  . . . almost because: 1. I believe in marital vows, and, unfashionably, love my wife after 28 years of marriage. 2. Am 98% heterosexual (anyone who says they are 100% is being disingenuous). Richmond. On 4.07.19

Re: Rename object

2019-07-04 Thread Richmond via use-livecode
Hmphf . . . . . . feeling fairly 'pseudo' myself, and stumping off to work my way through something a bit more worthwhile, like, "Le Recherche Sur Les Verites" by Nicholas Malebranche (OK, OK, I admit it, I'm reading the Lennon and Olscamp English translation), which, frankly, rocks. Richmon

Re: Rename object

2019-07-04 Thread Richmond via use-livecode
"it" is, quite frankly, both a bore and something that makes 9-11 year olds wish that Paiget were not dead, but were on hand to explain things (and as the average 9-11 year old is not up-to-speed in Swiss French . . . ), or, at a push, Seymour Papert. While I am, arguably, at the stage of abstr

Re: Rename object

2019-07-04 Thread Richmond via use-livecode
Almost completely 'done'. 8-) Where would I be without your help throughout the years (well, about 18 at my last count)? No! Don't answer that one; it's rhetorical. Richmond. On 4.07.19 15:26, Klaus major-k via use-livecode wrote: Hi Richmond, Am 04.07.2019 um 14:14 schrieb Richmond via u

Re: Rename object

2019-07-04 Thread Dar Scott Consulting via use-livecode
Would this work? clone control "gizmo" as "blivet" > On Jul 4, 2019, at 10:04 AM, doc hawk via use-livecode > wrote: > > > On Jul 4, 2019, at 1:30 AM, Klaus major-k via use-livecode > wrote: >> >> set the name of last img to “XXX_2" > > Also > > clone control “gizmo” > set the name of

Re: Rename object

2019-07-04 Thread doc hawk via use-livecode
On Jul 4, 2019, at 1:30 AM, Klaus major-k via use-livecode wrote: > > set the name of last img to “XXX_2" Also clone control “gizmo” set the name of it to “blivet" Will handle your new object. If I’m going to work with the new object for a few lines, I always use put the long id of it i

Re: Rename object

2019-07-04 Thread dunbarxx via use-livecode
Richmond. (pseudo) Duplicate object set the name of last object to the short name of the last object & the number of thatObjectType + 1 Note that as of v.8, and this is an known issue, the keyword "last" may not support groups. I am not sure if this has been fixed in v.9. Craig -- Sent from

Re: Rename object

2019-07-04 Thread Trevor DeVore via use-livecode
On Thu, Jul 4, 2019 at 4:27 AM Richmond via use-livecode < use-livecode@lists.runrev.com> wrote: > I've lost this . . . having done it several times before . . . > > So: I duplicate an object, let's call it img "XXX", so I end up with > 2 objects called "XXX" (which is problematic), and I wish to

Re: Rename object

2019-07-04 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 04.07.2019 um 14:14 schrieb Richmond via use-livecode > : > > However . . . > > If I do this: > > onmouseUp > setthelockScreentotrue > setthemoveSpeedto65000 > putitem 1 ofthemouseLocintoML1 > putitem 2 ofthemouseLocintoML2 > moveimg "mill" toML1, ML2 > copyimg "mill" togroup

Re: Rename object

2019-07-04 Thread Richmond via use-livecode
However . . . If I do this: onmouseUp setthelockScreentotrue setthemoveSpeedto65000 putitem 1 ofthemouseLocintoML1 putitem 2 ofthemouseLocintoML2 moveimg "mill" toML1, ML2 copyimg "mill" togroup"map" setthenameoflast image to("mill" & ML1 & "," & ML2) setthemoveSpeedto200 setthelockScre

Re: Rename object

2019-07-04 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 04.07.2019 um 14:02 schrieb Richmond via use-livecode > : > > Thank you, Klaus, > > makes me feel even more stupid than I was feeling already. ;-) you are welcome! :-D > Richmond. Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de

Re: Rename object

2019-07-04 Thread Richmond via use-livecode
Thank you, Klaus, makes me feel even more stupid than I was feeling already. ;-) Richmond. On 4.07.19 11:30, Klaus major-k via use-livecode wrote: Hi Richmond, Am 04.07.2019 um 10:26 schrieb Richmond via use-livecode : I've lost this . . . having done it several times before . . . So: I d

Re: Rename object

2019-07-04 Thread Sean Cole (Pi) via use-livecode
local tList repeat with rImgNum = 1 to the number of images [in card "x"] if the short name of img rImgNum is among the lines of tList then set the name of img rImgNum to the name of tImg rImgNum & "x" end if put the short name of img rImgNum into line rImgNum of tList end repea

Re: Rename object

2019-07-04 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 04.07.2019 um 10:26 schrieb Richmond via use-livecode > : > > I've lost this . . . having done it several times before . . . > > So: I duplicate an object, let's call it img "XXX", so I end up with > 2 objects called "XXX" (which is problematic), and I wish to > rename the new

Rename object

2019-07-04 Thread Richmond via use-livecode
I've lost this . . . having done it several times before . . . So: I duplicate an object, let's call it img "XXX", so I end up with 2 objects called "XXX" (which is problematic), and I wish to rename the new version of "XXX" . . . err . . . set the name of the last/recent/latest/headache Richm