Hi Bob, thank you so much, this is perfect! - and I see you're working on _OBJECT too, which is even more great.
bind "ALT-LEFT" "if(_MODE==2){ zoomTo 0.6 (_ATOM); }"; Best Alexnader ----- Ursprüngliche Mail ----- > Von: "Bob Hanson" <hans...@stolaf.edu> > An: jmol-users@lists.sourceforge.net > CC: jmol-users@lists.sourceforge.net > Gesendet: Sonntag, 22. Januar 2012 17:35:26 > Betreff: Re: [Jmol-users] bind command and picked atoms > Ok I see the problem. Select and picking are intimately associated. > You are trying to separate those. > > The zoomto patch is not the best solution because it only solves this > one problem of yours Alex. I'll check in tonight or tomorrow a way of > getting atom bond and point pick information into a user defined > binding. The following tokens in a user defined binding will all be > available: > > > _X _Y _TIME _MODE _ATOM _BOND _POINT _ACTION _DELTAX _DELTAY > > > ACTION is an integer that encodes the mouse/key combination and the > click count. MODE indicates the state including 1 dragged 2 clicked 3 > wheeled 4 pressed 5 released. I noticed a few bugs with this and will > have them fixed today. Internet access is spuratic still. > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft > developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, > MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users