Re: [jasspa] Refresh Tools in Macro?
- To refresh all tools on the toolbar use macro toolbar-refresh.
To refresh a specific tool gets a little more tricky as it is not easy to specify which tool to
refresh and so there is currently no standard toolbar command to do this.
The way to refresh a tool is to delete the tool's working buffer and set redraw flags
appropriately. The macro file toollist.emf lists the tool names (tool-names - shown on the
window mode line), descriptions (tool-descs) and their working buffers (tool-buffs) so
from this you can find the name of the buffer to delete (e.g. for 'Items' the description is
'Buffer Item List' and the working buffer name is '*item-list*'). With this info creating a
'refresh item list tool' command as follows:
!force 0 delete-buffer "*item-list*"
set-variable .toolbar-redraw.bc &bor .toolbar-redraw.bc 0x080
Horrid but works,
On 19 Dec 2003 at 12:04, Jeremy Cowgar wrote:
> I am curious if you can refresh the tools in the toolbar via a macro?
> Specifically, I want to refresh list items tool.
> Thank you
> jeremy <jc@...>
> jeremy@myhome $ ./think
> Segmentation Fault
> This is an unmoderated list. JASSPA is not responsible for the content of
> any material posted to this list.
> To unsubscribe, send a mail message to
> or visit http://groups.yahoo.com/group/jasspa and
> modify your account settings manually.
> Yahoo! Groups Links
> To visit your group on the web, go to:
> To unsubscribe from this group, send an email to:
> Your use of Yahoo! Groups is subject to: