Salut Pascal If you group your card's elements (select them and click on "group" in the menu bar, set the group to background behavior, you just need to type Create Card to make a new Card with the same elements as the first (make sure you start with a stack with only one card or you might have cards that do not have the background "placed" into them (see the revdocs for the place command).
If it's new cards with different backgrounds you want to reproduce... then try this script instead... on mouseup clone this card put empty into field "citation" put empty into field "commentaire" end mouseup you dont need to select and delete, just put empty into the fields. Then it works... cheers Xavier > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Pascal > Sent: Tuesday, November 01, 2005 11:23 AM > To: [email protected] > Subject: clone card command > > Hello, > > Trying to make my first stack... > > I want to create a new card that is nearly the same as the > one I am in, so I use the "clone this card" command in the > script of a button. > The difference is that I want that two of the fields of the > new card are now empty. > > > In my trial and errors I wrote the following script to the > button "on mouseup > clone this card > select text of field "citation" > delete selected text > select text of field "commentaire" > delete selected text > end mouseup > > And I obtained an error. I corrected the script the following > way "on mouseup > clone this card > select text of field "citation" > delete > select text of field "commentaire" > delete > end mouseup > > Seems to me it should work. > > But it is not, a strange phenomenom occurs : when I click > the button with the second version the card is cloned but the > script in the button of the new card is the first version, > although it is the second version in the departure card. > > Any explanation ? > > I'm using Rev2.6.1 trial version on a 10.3.9X eMAc. > > Oh by the way Rev keeps crashing with regularity so I have to > use the "Forcer à quitter" (dont know the english version > suppose "force to > quit") item of the apple menu. > > Pascal > > > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
