Oh, one more thing. YOu don't have to restart lc to get changes to occur, just do something that triggers the setprop. (save, or open a stack)
The way it was before, I suspect the recent files list would just grow forever. On Tue, Apr 19, 2016 at 9:57 AM, Mike Bonner <bonnm...@gmail.com> wrote: > Theres a simple fix. > > Change the setprop name in the script of stack "revpreferences" to > cRecentStackPaths > > change this line > set the cRecentPaths of stack "revPreferences" to tRecentPaths > > to this > set the cRecentStackPaths of stack "revPreferences" to tRecentPaths > > It looks like when a stack is saved it was updating cRecentStackPaths, but > the setprop was working with an empty cRecentPaths property. > > Contradictory naming, changing the setprop back to the older name solves > the problem at which point changing the number of recents in preferences > works again, and updates to the list are tracked correctly. > > > On Tue, Apr 19, 2016 at 8:28 AM, [-hh] <h...@hh.on-rev.com> wrote: > >> | John D. wrote: >> | How do i clear the list of recent files from >> | file > open recent file > >> >> Sorry had a typo above, here again all, corrected: >> >> constant p="revPreferences" >> version < 7: set the cRecentPaths of stack p to empty >> version > 6: set the cRecentStackPaths of stack p to empty >> >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/clear-recent-files-list-from-the-menu-tp4703638p4703647.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> 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