|
Hi Micro-Manager community,
We are really starting to like this program, but one thing that would make it even better is if we could figure out how to control/switch channels with Hotkeys. This could come in the form of assigning F- function keys as part of configuration presets, but this would require changes to the core I suppose. A possible work-around would be buy a programmable keypad (with blank keys) and program macros into the key (eg. http://www.piengineering.com/xkeys/xkdesk.php). The question is how to do this. Could we run beanshell script with text macros in this way? Sorry if this is a stupid question, but we are newbies. Jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ micro-manager-general mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/micro-manager-general |
|
Hi Jim,
> We are really starting to like this program, but one thing that would > make it even better is if we could figure out how to control/switch > channels with Hotkeys. Excellent suggestion! We even have a ticket for this in our bug/ feature database system ( https://valelab.ucsf.edu/trac/micromanager/ticket/278 ), but regretfully, that does not mean that we will get to implementing this soon. The more requests we get, the more it moved up on the priority list. > A possible work-around would be buy a > programmable keypad (with blank keys) and program macros into the key > (eg. http://www.piengineering.com/xkeys/xkdesk.php). The question is > how to do this. Could we run beanshell script with text macros in this > way? Sorry if this is a stupid question, but we are newbies. If the keypad emulated mouse movements and clicking (not sure that it does), then I think this could work. A Beanshell script to switch the active channel can look as follows: mmc.setConfig("Channel", "FITC"); Enter this in the top right panel of the Script Panel, Save (for instance as "FITC.bsh", click the "Add" button in the top left. and double click on "FITC.bsh" to set the active channel to FITC (you will need to click the "Refresh" button to update the GUI with the current configuration). Best, Nico ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ micro-manager-general mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/micro-manager-general |
|
Hi Nico,
The programmable keypad just accepts text macros and does not record mouse movements/clicks. Is there any command line or terminal methods to send commands to the MMcore? Clicking buttons in the GUI must do this somehow, but I don't see a way to do this manually. Jim On Aug 31, 2009, at 11:39 AM, Nico Stuurman wrote: > Hi Jim, > >> We are really starting to like this program, but one thing that would >> make it even better is if we could figure out how to control/switch >> channels with Hotkeys. > > Excellent suggestion! We even have a ticket for this in our bug/ > feature database system ( https://valelab.ucsf.edu/trac/micromanager/ticket/278 > ), but regretfully, that does not mean that we will get to > implementing this soon. The more requests we get, the more it moved > up on the priority list. > >> A possible work-around would be buy a >> programmable keypad (with blank keys) and program macros into the key >> (eg. http://www.piengineering.com/xkeys/xkdesk.php). The question is >> how to do this. Could we run beanshell script with text macros in >> this >> way? Sorry if this is a stupid question, but we are newbies. > > If the keypad emulated mouse movements and clicking (not sure that it > does), then I think this could work. A Beanshell script to switch the > active channel can look as follows: > > mmc.setConfig("Channel", "FITC"); > > Enter this in the top right panel of the Script Panel, Save (for > instance as "FITC.bsh", click the "Add" button in the top left. and > double click on "FITC.bsh" to set the active channel to FITC (you will > need to click the "Refresh" button to update the GUI with the current > configuration). > > Best, > > Nico > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > micro-manager-general mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/micro-manager-general ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ micro-manager-general mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/micro-manager-general |
| Powered by Nabble | See how NAML generates this page |
