Thank you, Klaus. Exactly what I needed!
> On May 12, 2016, at 9:51 AM, Klaus major-k <kl...@major-k.de> wrote: > > Hi Roger, > >> Am 12.05.2016 um 18:41 schrieb Roger Guay <i...@mac.com>: >> >> I have a custom plugin palette of shortcut buttons. For example, one is to >> open the Stack Property Inspector which has this script: >> send "revBuildPropertyPalette" to stack “revTemplatePalette" >> This worked fine until LC 8. In LC 8, it generates a “can’t find stack” >> error. Can anyone tell me how to fix this? > > yep, this has changed in LC 8. > > Here a script that I use in my „Tools2“ palette to open the inspector for a > stack or current card: > ######################################################## > on mouseUp > select the topStack > set itemdel to "." > if item 1 of the version < 8 then > send "revBuildPropertyPalette" to stack "revTemplatePalette" > else > ## Inspector for stack: > revIDEOpenInspectorForObjects the long id of the topstack > > ## Inspector for current card: > ## revIDEOpenInspectorForObjects the long id of this cd of the topstack > end if > end mouseUp > ######################################################## > > No idea for the selected object, always doubleclick the objects, but maybe: > … > revIDEOpenInspectorForObjects the long id of the the selectedObject > … > ? > >> Thanks, >> >> Roger > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > kl...@major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode