daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Oct 12th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Item[KeyEvent["q", Modifiers -> {Control, Option}],
  2.            FrontEndExecute[
  3.                    FrontEndToken[
  4.                             SelectedNotebook[ ],
  5.                             "EvaluatorQuit",
  6.                             Automatic
  7.                    ]
  8.            ]
  9.    ]
  10.    
  11. Item[KeyEvent["i", Modifiers -> {Command, Control}],
  12.            FrontEndExecute[
  13.                    FrontEndToken[
  14.                            SelectedNotebook[ ],
  15.                            "InitializationCell",
  16.                            "Toggle"
  17.                    ]
  18.            ]
  19.    ]
  20.    
  21. Item[
  22.     KeyEvent["i", Modifiers -> {Control, Command}],
  23.     FrontEndExecute[
  24.         FrontEnd`SetOptions[FrontEnd`NotebookSelection[], InitializationCell->Toggle]
  25.     ]
  26. ]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top