Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
I need for help about my first Applescript
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="KniazidisR" data-source="post: 1822924" data-attributes="member: 402866"><p>YOU CAN'T PUT "tell application Terminal" block inside "tell application Finder" block. Is wrong. Try this:</p><p></p><p>[CODE]</p><p>[I]tell application "Finder"</p><p> activate</p><p> open document file "NOMI ARTISTI, TOTALE ARTISTI E BRANI PROVA & 3 B CLH" of folder "SCRIPTSESEGUIBILI3.0ELABORAZIONE" of folder "SHELL" of folder "fare back up" of folder "Documents" of folder "EB" of folder "Users" of disk "IMMAGINI"</p><p>end tell</p><p></p><p>tell application "Terminal"</p><p> do script "NOMI ARTISTI, TOTALE ARTISTI E BRANI PROVA & 3 B CLH" in window 1</p><p> set current settings of selected tab of window 1 to settings set "CLH"</p><p>end tell[/I][/CODE]</p></blockquote><p></p>
[QUOTE="KniazidisR, post: 1822924, member: 402866"] YOU CAN'T PUT "tell application Terminal" block inside "tell application Finder" block. Is wrong. Try this: [CODE] [I]tell application "Finder" activate open document file "NOMI ARTISTI, TOTALE ARTISTI E BRANI PROVA & 3 B CLH" of folder "SCRIPTSESEGUIBILI3.0ELABORAZIONE" of folder "SHELL" of folder "fare back up" of folder "Documents" of folder "EB" of folder "Users" of disk "IMMAGINI" end tell tell application "Terminal" do script "NOMI ARTISTI, TOTALE ARTISTI E BRANI PROVA & 3 B CLH" in window 1 set current settings of selected tab of window 1 to settings set "CLH" end tell[/I][/CODE] [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
I need for help about my first Applescript
Top