source: Roms_tools/mexcdf/netcdf_toolbox/netcdf/ncutility/geturl.mac @ 1

Last change on this file since 1 was 1, checked in by cholod, 13 years ago

import Roms_Agrif

File size: 618 bytes
Line 
1--      geturl Get and store a URL for Matlab
2--      geturl theURL theFilename
3
4--      Version of long ago.
5--      Updated    12-Oct-1999 22:30:05.
6
7--      The following does not work:
8
9--      set theApplication to "alba:WWW:Internet:Netscape:Netscape"
10--      tell application theApplication
11
12--      So, use the full path to Netscape explicitly.
13
14tell application "alba:WWW:Internet:Netscape:Netscape"
15        if theFilename is "" then
16                activate
17                GetURL theURL
18                --              OpenURL theURL flags 1
19        else
20                GetURL theURL to file theFilename
21                --              OpenURL theURL to file theFilename
22                --              OpenURL theURL to file theFilename flags 1
23                close window 1
24        end if
25end tell
Note: See TracBrowser for help on using the repository browser.