On Jun 7, 2012, at 10:28 , Mayank Agarwal wrote:
> Hi Marion,
>
> Thanks a lot.
> Now I can say 2 people understood my problem :)
>
> As I quoted earlier, I have posted the same issue in other list too, but i guess
> nobody over there, is able to decode my problem yet ;)
>
>
> Mayank
>
> On Thu, Jun 7, 2012 at 7:13 PM, marion dickten <
email@hidden> wrote:
> hello,
>
>>> Hello List,
>>>
>>> I guess there's a misunderstanding: As far as I understand the problem is
>>> not that Mayank uses the Terminal to start his scripts.
>>>
>>> The problem seems to be that the Application is launched in a way that
>>> involves the Terminal. AppleScript here only comes into play when the
>>> application is already up and running!
>>>
>>> Marwal, Do I understand that right, so far?
>
> I don't have anything to contribute to the problem, but I'd like to point out that Helmut has got it right. Everybody has been suggesting solutions to something that wasn't the problem. The reason seems to be that many people don't really read the posts through.
>
> I apologize if I'm rude, but I had the same problem just a few days ago: everybody kept pointing out to me that I should try error catching (exception handling) and I kept saying the same thing: There is no exception. It is just a standard dialog that is popping up. At one point I just gave up.
>
> So, just to repeat, Mayank is in no position to use Do shell script. His application is launched using the terminal and is is why the terminal window is showing. At this point AppleScript is not (yet) involved. To quote Mayank's original post:
>
> "
> 3. Now, using this installer I install the application.
> 4. Icon is created on Desktop.
> 5. When i click this Icon to open my application a Terminal window
> launches, and then my application.
> So, *I want to hide this terminal window*.
> I read somewhere that this terminal window is shown because "Mac binaries
> are set to be opened with the 'Terminal' program".
> "
>
> This is clear enough, isn't it?
> As far as I can understand, Mayank's question is actually about how to configure the Package Creator (or the application itself) to allow starting the application without using Terminal as a "starter". (Shouldn't be necessary, should it?)
> Since this hasn't anything to do with AppleScript, maybe someone experienced with providing installers for their apps can point Mayank into the right direction...?
>
> Marion
>