Changes between Version 5 and Version 6 of AppleScript


Ignore:
Timestamp:
Dec 4, 2013 8:21:13 PM (7 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AppleScript

    v5 v6  
    11= !AppleScript for running EXPGUI =
    22
    3 Versions of an !AppleScript for starting EXPGUI are provided below, different versions appear to be needed for [#leopard leopard/10.5], [#leopard snowleopard/10.6] and [#tiger tiger/10.4]. This script must be placed in the EXPGUI folder (so that it can find the files). You can drag this EXPGUI app to the dock or make an alias which can be moved, but don't move the script unless you plan to hard-code the file locations. Clicking on the app starts EXPGUI and dragging .EXP files onto the app opens the program with those files. Dropping a folder onto the EXPGUI app will cause EXPGUI to be started within that folder. It is possible to drag both a directory and files onto the EXPGUI app.
    4 
    5 I find that sometimes it works better to recompile the !AppleScript in the !AppleScript Editor (Applications/Utilities or in 10.4 Applications/AppleScript/AppleScript Utility)
     3Versions of an !AppleScript for starting EXPGUI are provided below, different versions appear to be needed for [#leopard leopard/10.5], [#leopard snowleopard/10.6] and [#tiger tiger/10.4]. For later versions of OS X, I recommend using the makeMacApp.py script that is distributed with EXPGUI [1240] and later. Certainly in 10.9, the !AppleScript below is reported to not work. The !AppleScript must be placed in the EXPGUI folder (so that it can find the EXPGUI files). You can then drag this EXPGUI app to the dock or make an alias which can be moved, but don't move the script unless you plan to edit and hard-code the file locations. Clicking on the app starts EXPGUI and dragging .EXP files onto the app opens the program with those files. Dropping a folder onto the EXPGUI app will cause EXPGUI to be started within that folder. It is possible to drag both a directory and files onto the EXPGUI app.
     4
     5I find that sometimes it works better to recompile the !AppleScript in the !AppleScript Editor (!Applications/Utilities or in 10.4 !Applications/AppleScript/AppleScript Utility)
    66
    77== This version of the script has been tested in 10.6 and similar versions have been tested in 10.5 so it should run there too. == #leopard
    8 Note that is version differs from what has been distributed to date. It has been revised to make debugging easier. To see the output from launching EXPGUI in Tcl/Tk, create file {{{/tmp/EXPGUIdebug.txt}}} (from the command line: {{{touch /tmp/EXPGUIdebug.txt}}}). Error output from launching the program will then be placed in that file.
     8Note that is version differs from what has been distributed to date. It has been revised to make debugging easier. To see the output from launching EXPGUI in !Tcl/Tk, create file {{{/tmp/EXPGUIdebug.txt}}} (from the command line: {{{touch /tmp/EXPGUIdebug.txt}}}). Error output from launching the program will then be placed in that file.
    99{{{
    1010(*   Launch EXPGUI: launches EXPGUI by double clicking on app or by dropping a data file or folder on the app