Jump to content

Applescript: Keyword Argument to variable


Recommended Posts

Hi.

 

Currently i only use applescript. I have no idea from bin/bash programming. So can someone please tell me how to put an keyword argument into a usr/bin/osascript variable to use it in the script!? I try something like this...

 

KEYWORD ARGUMENT: yd update

 

Script: if {query} = "update" then ...   

 

Thanx in advance.

Efty

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...