Nodes not working with option key not working


    Dec 16 2010 | 4:08 pm
    I can't get the nodes object to work with the option key on a MacBook Pro, intending to do the node resizing with mousedrag. The option key returns the 2048 ID using the key object, so it seems my keyboard is working alright…
    Any suggestions?
    Excellent object, btw!

    • Dec 17 2010 | 2:27 am
      Could you describe what happens? You need to click in the center of the node (where the number is displayed).
    • Dec 17 2010 | 5:43 pm
      Firstly, on a MacBook Pro (small keyboard) the option key is the alt key.
      What happens: I mousedrag in the center of the node holding the option (alt) key down, and the node does not resize. The node is unresponsive as it doesn't move either. With mousedrag behaviour is a described (move node).
      My guess is that the resize functionality has been coded on an extended keyboard, where there is a separate option key (as I recall)?
    • Dec 17 2010 | 6:28 pm
      The "alt" key is always the same key as the Option key.
      Some keyboards have two Option keys, some only have one. On keyboards that sport two Option keys, both produce the same keyboard codes and modifier bits. A determined programmer can write code to distinguish between the two, but she has to go through some hoops to do this. Under normal situations, changing keyboard should be completely transparent to most software.
      The 'alt' is simply an alternative label for the key, originally introduced on MacOS when Macs started doing terminal emulation and MS-DOS/Windows emulation, so people wouldn't continually ask "where's the alt key in my emulation? oh, it's the Option key! why didn't anyone tell me?"
    • Dec 17 2010 | 6:35 pm
      arent the left and right key different keys under windows?
    • Dec 17 2010 | 7:39 pm
      No.
    • Dec 20 2010 | 4:38 pm
      Arg - you need to uncheck 'help in locked patchers'! That's a feature I always leave on, actually… Hm -- maybe more convenient to use shift-mousdrag for resizing? Would also be more consistent w. general apple behavior (constrained resizing, or whatever it's called).
      Cheers!
    • Dec 20 2010 | 6:29 pm
      not true
      I had hard time to figure it out (I always leave help in locked patchers ON) but it works:
      _klik on the center of the node (number) _THEN press option _and resize the node
      no problem
      kasper