(draft; work in progress)
See also:
| tell application "Finder" | |
| set pathList to (quoted form of POSIX path of (folder of the front window as alias)) | |
| set command to "clear; cd " & pathList | |
| end tell | |
| tell application "System Events" | |
| -- some versions might identify as "iTerm2" instead of "iTerm" | |
| set isRunning to (exists (processes where name is "iTerm")) or (exists (processes where name is "iTerm2")) or (exists (processes where name is "Therm")) | |
| end tell | |
(draft; work in progress)
See also: