Posted by member 36504 on 2003-08-26 15:18:21
Ok, the syntax for ckHotspots is:
*ckHotspot x y width height [on enter] [on exit] [name] on/off
Im wondering if you can chain !bangs for the [on enter] and [on exit]. ie:
!execute [!bang] [!bang] !execute [!bang] [!bang]
If so, this is what im working with but have yet to make it work:
*ckHotspot 0 0 1 $resolutionY$ !execute [!PopupTasks] [!HotspotAdjust hotspot1 0 0 80 $resolutionY$] !execute [!PopupDesktops] [!HotspotAdjust hotspot1 0 0 1 $resolutionY$] hotspot1
What im trying to when mouse enters first px of left side: 1. popup the tasks 2. resize the hotspot 'rectangle area' to 80px wide for the use moving the mouse a bit horizontally while scrolling the tasks. then on exit of the newly adjusted rectangle: 1. !PopupDesktops so just in case you changed you mind you're not stuck clicking the desktop just to clear it, and 2. resize it back to 1px on the left. I've thought about creating 2 hotspots for this action but i thought if you could chain the !bangs in such a way then that would most definately suffice. Any help would be much appreciated and so sorry for the long post ;)_
*ckHotspot x y width height [on enter] [on exit] [name] on/off
Im wondering if you can chain !bangs for the [on enter] and [on exit]. ie:
!execute [!bang] [!bang] !execute [!bang] [!bang]
If so, this is what im working with but have yet to make it work:
*ckHotspot 0 0 1 $resolutionY$ !execute [!PopupTasks] [!HotspotAdjust hotspot1 0 0 80 $resolutionY$] !execute [!PopupDesktops] [!HotspotAdjust hotspot1 0 0 1 $resolutionY$] hotspot1
What im trying to when mouse enters first px of left side: 1. popup the tasks 2. resize the hotspot 'rectangle area' to 80px wide for the use moving the mouse a bit horizontally while scrolling the tasks. then on exit of the newly adjusted rectangle: 1. !PopupDesktops so just in case you changed you mind you're not stuck clicking the desktop just to clear it, and 2. resize it back to 1px on the left. I've thought about creating 2 hotspots for this action but i thought if you could chain the !bangs in such a way then that would most definately suffice. Any help would be much appreciated and so sorry for the long post ;)_