How to find Palettes in Mathematica? - wolfram-mathematica

How do I get to a Palette that's not in my "Palettes" menu? For instance, I occasionally need "Notation" palette, and it's not in that menu

I'm running Mathematica 8 on Mac OS X.
From the main menu select Palettes | Install Palette ... In the dialog box choose Source then From File.... I found the Notation palette in /Applications/Mathematica.app/AddOns/Packages/Notation/LocalPalettes/English/. Once you've done this the NotationPalette should be installed on the menu for future use.

Related

Looking for a system-wide autoreplace on Mac OS

I have recently moved from Windows 10 to MacOS Big Sur. On Windows, I used AutoHotkey for system-wide automatic text replacement. For example:
(alpha) would turn into α
(beta) would turn into β
Is it possible to do a similar thing using Automator on Mac? I'm not interested in app-specific settings, as I would like this to work in all apps. Not being familiar with the OS, I am struggling to figure it out, and Google/Apple Documentation have been no help!
Thanks
Go to System Preferences > Keyboard > Text and add your substitutions, as show in the image further below.
You can get to System Preferences from the Apple menu, far left of the menu bar, or from Spotlight pressing the commandspace bar keyboard shortcut and start typing System Preferences, or from the Dock clicking on the System Preferences icon, as shown below.

Xcode font picker window unable to select font collection

Font selection window that prompt out from the built in interface builder is unable to select font collection. It is stuck at a particular collection. When resizing the Font selection window, the collection column will show and immediately disappear once release the resizing.
I do not have an extra Mac, so I wish someone could help me verify this bug using latest release OS X and Xcode from App Store.
Steps to Reproduce:
Create a new SpriteKit game from the built-in template.
Open the GameScene.sks file.
Drop a SKLabelNode into the scene from the Object Library
Select the SKLabelNode and change its font using the Attribute Inspector by clicking the "T" icon on the Font field.
The Font selection window should prompt and resizing this window will make the column appear.
Expected Results:
The "Font Collection" window should always appear, and able to select any font from any collection.
Actual Results:
The "Font Collection" window always disappear.
Version:
Xcode Version 7.2.1 (7C1002) & OS X 10.11.3 (15D21)
Notes:
http://www.openradar.me/23181461
https://forums.developer.apple.com/thread/30366
Update 1
I try to install a fresh copy of Xcode (7.2.1) with another fresh OS X Yosemite 10.10.5/14F27 (with no xcode installed previously), the font collection column is there.
This affects all NSFontPanel instances across Xcode. (For example, it can also happen when selecting source editor fonts in Preferences, in Interface Builder inspectors, etc.) The master bug is radar://22656458.
Note that someone on the forum suggests a possible workaround:
https://forums.developer.apple.com/thread/30366#121058
I haven't tried this, and can't say whether it's a good idea, so YMMV.
defaults write -app Xcode NSFontPanelAttributes -string "1,0"
try this command in terminal, then restart Xcode

How to change the Mac OS X dock icon in a wxPython application

When a wx.App is launched through a script (i.e., not bundled with py2app) its icon in the dock is the standard Python rocket. Is it possible to customize that icon? It seems that in the past wx.TaskBarIcon did this (see http://wiki.wxpython.org/Custom%20Mac%20OsX%20Dock%20Bar%20Icon), but now it adds an icon to the menu bar.
I had the same issue and it seems there is a lack of documentation about this. I found several piece of information in different discussion threads.
You have to use the iconType argument of the wx.TaskBarIcon constructor. there are currently three possible values:
wx.TBI_CUSTOM_STATUSITEM: will create an icon in right part of the menu bar.
wx.TBI_DEFAULT_TYPE: default parameter, similar as TBI_DOCK for wxPython 3.0.
wx.TBI_DOCK: will replace the Python rocket with the selected icon
If you reuse the example from the wx official documentation, you just need to replace this line
wx.TaskBarIcon.__init__(self)
with this line
wx.TaskBarIcon.__init__(self, iconType=wx.TBI_DOCK)
The problem with this solution is that you have to choose to put the icon either in the menu bar either in the dock. It does not seem possible to put an icon in the both place while using only one instance of wx.TaskBarIcon.
Here are my current settings:
mac os X 10.11.5
wxPython 3.0.2.0
python 2.7.10

HyperCard dashboard type

Is there a name that explains the type of dashboard like that of HyperCard. A dashboard that has icons sitting on top of a rectangular box?
In HyperCard, we called it the Home stack. In other software, it could be called the Home window, main window, navigation window, start center, launcher, etc.
“Windoid” is the name given to a floating palette like that.
It includes the tools palette and also includes the message box.
These are like mini windows without the normal system controls that are not focusable, have a frontal z-index, and do not respond to system commands or shortcuts to close them. They can respond to commands from HyperCard (including in HyperTalk scripts) to open, close and move them.
They otherwise have similar behavior to non-HyperCard equivalents such as tool palettes, color pickers and some ‘desk accessories’ in the MacOS (pre OSX of course). These equivalents can be manipulated with AppleScript.

Make Visual Studio 2010 display more lines in code editor

With a 14" LCD monitor (1366x768), my VS2010 can only display 21 lines in code editor. There are too many tool bars occupied upper and bottom part (see below screenshot). When writing codes, it's OK to use fullscreen mode. However, when reading codes, I need some of the toolbar like the bookmark bar, open file tab. Is there any suggestion to increase the viewing area?
Create a single custom toolbar with just the commands you really use in it. Remove the other toolbars. Close tool windows docked at the bottom.
There is an addon that can even remove the menu bar – you'll need to learn keyboard shortcuts (this is a good idea anyway: moving a hand to/from the mouse is much slower).
Increase secreen resolution
Use a different font such as Terminal or Consolas. I guess you must be already using Consolas, try Terminal.
Decrease the font size.
Turn monitor by 90 degree, so it is higher not wider.
Besides that - get a decent monitor. 14" is barely legal acording to some european laws for office use. Programmers tyically get a lot bigger.
Customize your toolbars and get rid of the buttons you don't use. You'll probably be able to fit everything on one row after that.
For example, I don't think I have used the toolbar buttons for cut/copy/paste, using the keyboard instead, so those were the first buttons I removed.
On the right side of each toolbar, there is a button with an arrow, click on that and you should see "customize this toolbar" in the drop-down menu.
Well, if you are having an older notebook, you might not able to change your display, increase your screen resolution or turn the monitor by 90 degrees, like the others suggested. Here are my suggestions for when this is the case:
Place your toolbars left or right instead at the top or bottom
close output window
use fullscreen mode and learn keyboard shortcuts for bookmarks and file menu functions, so you can work without the specfic toolbars
I use Full Screen mode (ALT+SHIFT+ENTER to toggle) when doing the actual editing, with only the solution explorer open on the right hand side.

Resources