Changeset 767
- Timestamp:
- Dec 4, 2009 5:11:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/osx.html
- Property rcs:date changed from 2003/12/08 22:25:22 to 2004/01/12 19:42:37
- Property rcs:rev changed from 1.1 to 1.2
- Property rcs:lines set to +32 -20
r762 r767 23 23 <TR><TH><A Href="expgui.html">EXPGUI home</A> 24 24 </TH></TR></TABLE><BR CLEAR=ALL> 25 26 <H3>Installing GSAS/EXPGUI under Mac OS X:</H3> 25 <CENTER><H1> 26 <HR noshade width="75%" size="2" align="center"> 27 Installing GSAS/EXPGUI under Mac OS X 28 <HR noshade width="75%" size="2" align="center"> 29 </H1></CENTER> 30 27 31 28 32 These are approximate directions for installing GSAS & EXPGUI on a 29 33 Macintosh OS X machine. The software has been built using OS X 10.2.6 30 34 and has been installed successfully on 10.2 and 10.3 machines. 31 Note that most users will probably already haveinstalled X11 and35 Note that most users will probably have already installed X11 and 32 36 FINK on their computers. Most OS X books can provide more information 33 37 on how to do this. … … 67 71 sudo apt-get install tcltk blt libpng3-shlibs 68 72 </PRE> 73 (I am probably not the best person to provide help on this either.) 69 74 </DL></DL> 70 75 … … 95 100 may be created automatically. 96 101 In this case you can simply move this folder to the desired 97 location. 102 location.</I> 98 103 <P> 99 104 <I> … … 107 112 cd 108 113 mkdir -p Programs/gsas 109 cd Programs /gsas114 cd Programs 110 115 tar xvzf ~/Desktop/osx_gsaskit.tar.gz 111 116 </PRE> … … 120 125 <DL><DL><I> 121 126 At this point you are able to run EXPGUI using the full command name 122 from inside an X11 window by typing a command such as this:127 from inside an X11 window -- by typing a command such as this: 123 128 </I> 124 129 <PRE> … … 156 161 157 162 </DL></DL> 158 <P><LI><B>Create an AppleScript to run EXPGUI</B> 163 <a name="AppleScript"> 164 </a><P><LI><B>Create an AppleScript to run EXPGUI</B> 159 165 <DL><DL> 160 166 <IMG SRC="osx1.jpg" ALT="EXPGUI menu" ALIGN="RIGHT"> … … 172 178 </DL></DL> 173 179 174 <P><LI><B>Create an Applet to run EXPGUI</B> 180 <a name="CompileAppleScript"> 181 <P><LI><B>Create an Applet/Droplet to run EXPGUI</B> 175 182 <DL><DL> 176 183 If you double-click on the EXPGUI AppleScript, created above, you 177 184 will open it in the Script Editor, where you can convert it from 178 185 a "Compiled Script" to a "Application". This application can then be 179 used to start EXPGUI if doubled-clicked in a Finder window, on the desktop 180 or can even be moved to the dock. To create an application, use the 181 File/Save As menu option and be sure to select "Application" as the Format, 182 as is shown below. I suggest that you select the "Never Show Startup Screen" 183 option, also. You can call the file anything, although EXPGUI makes a 184 certain amount of sense. You can also put this file anywhere you choose. 186 used to start EXPGUI if doubled-clicked in a Finder window or on the desktop. 187 You can also drag experiment (.EXP) files onto the icon to launch EXPGUI on 188 those files (if you drag more than one .EXP file, an EXPGUI window is opened 189 for each file -- use with care if you are short on memory). 190 <P> 191 To create an application from within the Script Editor, use the 192 "File/Save As" menu option and be sure to select "Application" as the Format, 193 as is shown below. I suggest that you also select the 194 "Never Show Startup Screen" option, as is also shown below. 195 You can call the file anything, although EXPGUI makes a 196 certain amount of sense. You can put this file anywhere you choose, 197 but either placing it on the dock or desktop makes a lot of sense. 185 198 <P> 186 199 </DL></DL> … … 192 205 <IMG SRC="expgui.jpg" ALIGN=RIGHT ALT="Sample 128x128 EXPGUI icon"> 193 206 <LI>copy into the clipboard whatever image you would like to use, 194 such as the image to the right. (I am hoping 207 such as the image to the right, which can also be 208 found as file .../gsas/expgui.icns. (I am hoping 195 209 that someone with more talent can contribute something better.) 196 210 <LI>Control-click on the EXPGUI app file … … 206 220 I would like to solve are: 207 221 <OL> 208 <LI>Is there a way to create an application from an AppleScript, so this can209 be automated. 222 <LI>Is there a way to create an application, as opposed to a compiled script, 223 directly from an AppleScript, so I can do this for the user? 210 224 <LI>Can I associate an icon with an app/script from within an AppleScript 211 225 (so I can do it automatically)? 212 <LI>How does one create a "droplet" so that one can drop a .EXP file onto213 the applet and get that file passed into the EXPGUI command line?214 226 <LI>Are there other (better?) ways to integrate AppleScripts into 215 227 OS X for easy use. … … 299 311 here. Brand names cited herein are used for 300 312 identification purposes and do not constitute an endorsement by NIST. 313 </blockquote> 301 314 <hr> 302 315 <P><font size=-1><a href="mailto:crystal@nist.gov">Questions/Problems: crystal@nist.gov</a> 303 316 <br> 304 317 $Revision$ $Date$ 305 </blockquote>306 318 </BODY> 307 319 </HTML>
Note: See TracChangeset
for help on using the changeset viewer.