Re: Need portable code to open Notation palette.
- To: mathgroup at smc.vnet.net
- Subject: [mg59380] Re: Need portable code to open Notation palette.
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Sun, 7 Aug 2005 03:47:17 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 8/6/05 at 1:29 AM, ted.ersek at tqci.net wrote: >With help from Prof. Eisenberg I came up with the definition below >which works for myself using Mathematica 4.1 and for him using >Mathematica 5.2. >NotationPalette[]:= > If[$VersionNumber<5, > NotebookOpen[FrontEnd`FileName[ > {$TopDirectory,"AddOns","ExtraPackages","Utilities"}, > "NotationPalette.nb"] ];, > (* else *) > NotebookOpen[FrontEnd`FileName[ > {$TopDirectory,"AddOns","ExtraPackages","Utilities", > "Palettes","English"},"NotationPalette.nb"] ]; > ] > >But I worry that this won't work for all users. I want to support >all versions of Mathematica from 3.0 to 5.2 and beyond. I also want >it to work under MS-Windows, UNIX, Linux, and Mac. How do I know >the code above will not work for some users? FWIW, the code above seems to work fine for me using Mathematica 5.2 on Mac OS 10.4.2 -- To reply via email subtract one hundred and four