- Joined
- Aug 28, 2016
- Messages
- 1
- Reaction score
- 0
- Points
- 1
Hello!
I'm fairly new to AppleScript. I am working on a project in FileMaker Pro to "Perform AppleScript"
I have been testing some basic AppleScripts in Script Editor before transferring them and running them through FileMaker Pro, however.
In Script Editor I am getting the error:
Terminal got an error. Cant' make application "Terminal" into type string.
The Scripts I am entering are as such:
tell application "Terminal"
activate
do shell script
"say hello"
end tell
I've also tried
tell application "Terminal"
activate
do shell script
"system_profiler SPHardwareDataType"
end tell
The first time I attempted "say hello" it worked, but then suddenly it all stopped working and I continually get this error. I deleted all saved test scripts, and restarted my system even and it persists.
Any ideas!?
Thank you!
I'm fairly new to AppleScript. I am working on a project in FileMaker Pro to "Perform AppleScript"
I have been testing some basic AppleScripts in Script Editor before transferring them and running them through FileMaker Pro, however.
In Script Editor I am getting the error:
Terminal got an error. Cant' make application "Terminal" into type string.
The Scripts I am entering are as such:
tell application "Terminal"
activate
do shell script
"say hello"
end tell
I've also tried
tell application "Terminal"
activate
do shell script
"system_profiler SPHardwareDataType"
end tell
The first time I attempted "say hello" it worked, but then suddenly it all stopped working and I continually get this error. I deleted all saved test scripts, and restarted my system even and it persists.
Any ideas!?
Thank you!