Re: No names of new objects with engine 5?
Hi friends, Am 01.11.2011 um 18:40 schrieb Klaus on-rev: Hi friends, someone also experienced that with engine 5.0.0 newly created objects do not have a name!? this still applies to the new 5.02 engine, published today. Is there any front- or backscript in the MC IDE, where we could correct this behaviour somehow? I forgot about this... Thanks! Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: No names of new objects with engine 5?
On Dec 13, 2011, at 10:48 AM, Klaus on-rev wrote: Hi friends, Am 01.11.2011 um 18:40 schrieb Klaus on-rev: Hi friends, someone also experienced that with engine 5.0.0 newly created objects do not have a name!? this still applies to the new 5.02 engine, published today. Is there any front- or backscript in the MC IDE, where we could correct this behaviour somehow? I forgot about this… Good point, Klaus! I'll take care of it for the next update... Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: No names of new objects with engine 5?
On Dec 13, 2011, at 10:48 AM, Klaus on-rev wrote: Hi friends, Am 01.11.2011 um 18:40 schrieb Klaus on-rev: Hi friends, someone also experienced that with engine 5.0.0 newly created objects do not have a name!? this still applies to the new 5.02 engine, published today. Is there any front- or backscript in the MC IDE, where we could correct this behaviour somehow? I forgot about this… BTW: I checked under MC 4, and it seems that the only object that ever got a name was a button (New Button); all the other objects started without names. Does this sound right to you? If so, I'll fix the IDE to put the name back in for buttons only (as an option, so those who like it the new way can leave it that way). Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: No names of new objects with engine 5?
Hi Ken, Am 13.12.2011 um 18:48 schrieb Ken Ray: On Dec 13, 2011, at 10:48 AM, Klaus on-rev wrote: Hi friends, Am 01.11.2011 um 18:40 schrieb Klaus on-rev: Hi friends, someone also experienced that with engine 5.0.0 newly created objects do not have a name!? this still applies to the new 5.02 engine, published today. Is there any front- or backscript in the MC IDE, where we could correct this behaviour somehow? I forgot about this… BTW: I checked under MC 4, and it seems that the only object that ever got a name was a button (New Button); all the other objects started without names. just checked and ALL newly created objects do NOT have a name! Fields, Images, buttons, Scrollbars, Player et... Does this sound right to you? See above. If so, I'll fix the IDE to put the name back in for buttons only (as an option, so those who like it the new way can leave it that way). Where can I check this (and fix it for me)? I mean where can I hook in the MC IDE? Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: No names of new objects with engine 5?
On 12/13/11 9:57 AM, Klaus on-rev wrote: Hi Ken, Am 13.12.2011 um 18:48 schrieb Ken Ray: On Dec 13, 2011, at 10:48 AM, Klaus on-rev wrote: Hi friends, Am 01.11.2011 um 18:40 schrieb Klaus on-rev: Hi friends, someone also experienced that with engine 5.0.0 newly created objects do not have a name!? this still applies to the new 5.02 engine, published today. Is there any front- or backscript in the MC IDE, where we could correct this behaviour somehow? I forgot about this… BTW: I checked under MC 4, and it seems that the only object that ever got a name was a button (New Button); all the other objects started without names. just checked and ALL newly created objects do NOT have a name! Fields, Images, buttons, Scrollbars, Player et... Does this sound right to you? See above. If so, I'll fix the IDE to put the name back in for buttons only (as an option, so those who like it the new way can leave it that way). Where can I check this (and fix it for me)? I mean where can I hook in the MC IDE? This appears to be an engine bug, introduced some time in the 4.x series. A change of this scope cannot be assumed to be a feature, probably rightly considered a bug, and should be addressed in the engine. Has this been filed as a bug report? -- Richard Gaskin Fourth World Media Corporation ___ ambassa...@fourthworld.com http://www.FourthWorld.com ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: No names of new objects with engine 5?
On Dec Where can I check this (and fix it for me)? I mean where can I hook in the MC IDE? To be comprehensive, I'd want to do it in two places: 1) In the newButton handler of the MC IDE Backscript, add this before choose pointer tool: set the name of the target to New Button 2) In the preOpenStack handler of the first card of the MetaCard Menu Bar stack, put this before set the mcversion of stack…: set the name of the templateButton to New Button I think that should cover it in most cases… Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: No names of new objects with engine 5?
Whoops! Need to change this: 1) In the newButton handler of the MC IDE Backscript, add this before choose pointer tool: set the name of the target to New Button to this: if the name of the target contains button id then set the name of the target to New Button end if Otherwise it affects option-dragged clones of buttons... Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: No names of new objects with engine 5?
On 12/13/11 10:33 AM, Ken Ray wrote: This appears to be an engine bug, introduced some time in the 4.x series. A change of this scope cannot be assumed to be a feature, probably rightly considered a bug, and should be addressed in the engine. Has this been filed as a bug report? Actually it was introduced in 4.6.4; prior to that (going back to MC 3.5 at least), only buttons were created with a default name - all other objects were created without one. So LC 5 made it consistent (theoretically), but definitely unexpected, and with the possiblity of breaking scripts. I don't think it was logged as a bug, though... Yes, going back to v3.5 I can see this was for buttons only. Since the change makes the behavior consistent among object types, I'm no longer confident that it should be considered a bug. Sometimes we have to be willing to accept a few changes to our scripts to see the language improve. I think this is one of those instances. -- Richard Gaskin Fourth World Media Corporation ___ ambassa...@fourthworld.com http://www.FourthWorld.com ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard