|Welcome to the Monastery|
I have a perl script which accepts command line arguments like folder locations and some other yes/no switches. It is meant for MAC users.
I want to create some kind of simple GUI so that you can enter those command line arguments in the GUI instead of running the perl script from command line.
I came across Platypus, but seems, I can't pass multiple arguments using platypus. I don't know Objective-C or Cocoa. I know a bit of AppleScript.
I am wondering, is there a way to get user input through AppleScript and then pass that input as arguments to my perl script? I know, you can get user inputs through Apple Script, but don't know how to pass them as arguments to my perl script.
Any help is appreciated. Thanks.
Example of how my script accepts command-line arguments:
MyScript.pl -s PathToSoruceFolder -t PathtoDestinationFolder -c PathtoSettingsFolder -b Filenamestartswith -1 "YYYY/MM/DD HH:MM"(process files created after this time) -R 1 -W 1 -S 0 -E 1 Where 0 & 1 are switches for different things in my script.