Command-line arguments: Difference between revisions
Content added Content deleted
(Add applescript) |
|||
Line 57: | Line 57: | ||
the argument #7 is ... |
the argument #7 is ... |
||
</pre> |
</pre> |
||
=={{header|AppleScript}}== |
|||
<lang applescript> |
|||
#!/usr/bin/env osascript |
|||
-- Print first argument |
|||
on run argv |
|||
return (item 1 of argv) |
|||
end run |
|||
</lang> |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |