![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | ||
anonymous
Groupie
Joined: January 15 2004 Location: United States Status: Offline Points: 46 |
Post Options
Thanks(0)
Quote Reply
Topic: Custom panel in status barPosted: July 21 2006 at 4:01am |
|
|
I have programmed several function keys to select different printers, by using a simple script for the function key:
but now I would like to show the currently assigned printer on the status bar at the bottom of the screen. Can I add the printer name to the status bar? |
||
![]() |
||
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
Posted: July 21 2006 at 4:10am |
|
|
Here's how to add a custom panel to the status bar to display the printer name you are assigning in a function key script:
First, modify the status bar by adding a new "panel" to show the printer name. Use Tools->Customize Menu to open the menu customization tool. You probably want to select "application" as the menu scope, then click Continue. Expand the StatusBar object and highlight StatusBar in the tree. Click the New... button and choose "normal panel". A new panel will be added to the status bar, and the right pane will display the panel properties. Custom "tool IDs" are numbers starting with 10001, and you can use the number that is automatically generated. Just write it down because you will need it later. Next, enter something for the caption, which will display before you assign it to the printer name. I just used "printer". You probably also should change the panel size to "auto fit". You can drag and drop the new panel to position it in the status bar. It probably makes sense to drag it before the printer status panel (caption is "idle"). Click OK. You should now have a status bar with an extra panel to display the printer name. Now, in the script that assigns the printer, which is programmed into a function key, you can assign the printer name to the new status bar panel:
The number in the parens is the ID that you jotted down from when you created the panel. You can execute two statements in the function key script by separating them with a colon:
By choosing "application scope" for custom menu, you or anyone else who uses your PC, will get the custom menu. The application menu is saved in the menu.ini file in the ...\Program Files\Atwin folder. "User" scope menus are saved in the current user's profile: C:\Documents and Settings\UserName\Local Settings\Application Data\Asent\Atwin2k\menu.ini, and only affect the current user, and "session" menus are embedded in the session configuration (.atcf) file and only affect the specific session. Thanks, Pete |
||
![]() |
||
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |