I am a complete newbie in that this is my first attempt to Script.
I need to call a script from RealBasic that will do a “Create Archive” of the file that I pass to it. I’ve been searching for a while, but haven’t been able to figure it out.
You can accomplish this in REALbasic without going through the step of using Applescript. Either RBG or Applescript would use OS X’s underlying Unix commands to do the job. IN RB, use the Shell class.
Dim s as Shell
s = new Shell
s.execute "gzip /pathToFile/nameOfFile"