» Home

  » Plugins

      » Mime

            » Supported Directives

Brass Plugins: Mime

 

Supported Directives: Api - Set Window Order

This directive manipulates the visible order of windows on your desktop. Normally when you click on a window it jumps to the top of the pile. This directive can immediately bring a window to the top or send it to the bottom of the window order.

The format of the directive is:

[WindowOrder(position)]

 

The position parameter may either be "top" or "bottom", which sends the specified window to the top or bottom of the window order respectively. If you need to move a window belonging to another application, you must first change the target window using the SetTargetWnd() directive.

There are 3 reasons to use this directive. Firstly you can pop a window belonging to another application to the front. For example, if you often save a document in Word then copy it to another folder in Windows Explorer a gesture using this directive can automatically pop the Explorer window to the front, ready for you to do whatever copying you want.

Second you can use it to pop the window the gesture was made in to the front. Remember that Mime gestures can be made over any window, not just the active window at the top of the window order.

Third, you can use it to pop the window to the back. Without using this directive the only way to move the window to the back of the window order is by clicking on all the other windows.

 

Example

To send the window to the bottom of the window order:

[WindowOrder(bottom)]

 

To send the window to the top of the window order:

[WindowOrder(top)]

 

 

Technical Notes

There are no technical notes for this directive.