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="Manuscript" data-source="post: 1820911" data-attributes="member: 402766"><p>Hello,</p><p>this my first Applescript.</p><p></p><p>I need to open many shell scripts in Terminal windows, any window with different profile. So any output results with different bg, fg colors and fonts.</p><p></p><p>The scripts works good but there's a problem. While the 1st and the 2nd window are perfect. when I launch the 3rd scripts the 2nd window changein the color of the 3rd. The 3rd change in the color of the 4th and so on. </p><p></p><p>Could you help me?</p><p></p><p>[Code]</p><p>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> </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> </p><p> end tell</p><p> </p><p>end tell</p><p></p><p>[/Code]</p></blockquote><p></p>
[QUOTE="Manuscript, post: 1820911, member: 402766"] Hello, this my first Applescript. I need to open many shell scripts in Terminal windows, any window with different profile. So any output results with different bg, fg colors and fonts. The scripts works good but there's a problem. While the 1st and the 2nd window are perfect. when I launch the 3rd scripts the 2nd window changein the color of the 3rd. The 3rd change in the color of the 4th and so on. Could you help me? [Code] 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" 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 end tell [/Code] [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
I need for help about my first Applescript
Top