| 25/01/06 ~ 16:47 -0600 :
| David Grogono,
| " Re: Calling AppleScripts with a parameter "
Try this:
Open the Applescript Script Editor and enter this code:
Could you tell me how to make applescript select actions according
to a parameter ?
Not knowing applescript, i try with Rb syntax but it may be wrong :
on run {choice, amount}
if choice = "pay" then
cashflow = cashflow - amount
end
if choice = "receive" then
cashflow = cashflow + amount
end if
end run
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>