• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Issue: Hiding terminal on app launch (Mayank Agarwal)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue: Hiding terminal on app launch (Mayank Agarwal)


  • Subject: Re: Issue: Hiding terminal on app launch (Mayank Agarwal)
  • From: "Mr. Stetner Doug" <email@hidden>
  • Date: Wed, 06 Jun 2012 21:10:28 +1000

Mayank,

I am going to be ticked off when your installer hides all my terminal windows!

Do what Steve mentioned and use 'do shell script'

Doug


> From: Mayank Agarwal <email@hidden>
> To: email@hidden
> Subject: Issue: Hiding terminal on app launch
> Message-ID:
> 	<CAAK_Tp9cEU5+0BcrmnN-pjP0G2iDNZ-_Ahk=email@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Everyone,
>
>
> I am trying to create a installer using Package creator.
> For which I am using Shell script and Apple script for pre and post install
> commands.
>
> Problem: When I double click and launch my application a terminal window
> opens
> every time and if I try to close the Terminal my application is also killed.
>
> So, one thing I did is:
>
> tell application "Finder"
> set visible of process "Terminal" to false
> end tell
>
> This code is minimizing the terminal to the dock, but I want to hide it
> completely.
> So, is there anyway by which I can completely hide the terminal or do
> something so
> that it should not even launch.
>
>
> Thanks.
> Mayank Agarwal
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/applescript-users/attachments/20120605/edc75923/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 05 Jun 2012 09:24:18 +0100
> From: Steve Thompson <email@hidden>
> To: email@hidden, email@hidden
> Subject: Re: Issue: Hiding terminal on app launch
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> On 05/06/2012 07:22, Mayank Agarwal wrote:
>> For which I am using Shell script and Apple script for pre and post
>> install commands.
> How are you using the Terminal? If you're just using it to run commands
> then use "do shell script"
>
> tell application "Terminal"
>     do script "echo 'test'"
> end tell
>
> --becomes
>
> do shell script "echo 'test'"
>
> Steve
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/applescript-users/attachments/20120605/d9c68408/attachment.html>
>
> ------------------------------


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Issue: Hiding terminal on app launch (Mayank Agarwal)
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Re: Extracting value of author «class » id property
  • Next by Date: Re: Issue: Hiding terminal on app launch (Mayank Agarwal)
  • Previous by thread: Re: Extracting value of author «class » id property
  • Next by thread: Re: Issue: Hiding terminal on app launch (Mayank Agarwal)
  • Index(es):
    • Date
    • Thread