Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

how to pass arguments to script?

 [1/2] from: someone::microsoft::com at: 4-Sep-2001 7:14

hi, i have a script that takes as input a file, performs some manipulations on it, and saves the output to another file. the paths/names of the input/output files are hardcoded in the script. how can i call the script with these 2 arguments? so far, i haven't succeeded in doing it. all i managed to do was to get the second argument that was passed to the script. any help would be apperciated.

 [2/2] from: arolls:bigpond:au at: 5-Sep-2001 0:20

I have a script called "Remind" in my rebsite: Desktop/ Just click on it and it should pop a window with example command lines to invoke it. Read the code to see how it handles the arguments. But here is the important bit: args: any [ system/options/args to-block system/script/args ] This ensures that we have the arguments in a block whichever way that they are passed in. (There are two ways, click to find out).