Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm not entirely sure why this has started happening since this is completely new behaviour and I haven't done any system updates but I have a nice little toolbar app for my Snow Leopard Finder.app that opens the existing folder/or files in TextMate.

It used to simply bring up TextMate with the chosen content but since today it instead gives me a prompt asking me to run or quit the script.

Here is what the popup looks like: Script popup

Now… this app/script isn't new, I trust the script and I don't want this popup everytime I use it.

So 2 questions:

  1. How do I disable this annoying prompt?
  2. Why am I all of a sudden getting it when yesterday everything was working fine?

Any insight would be much appreciated.

For reference the script in question is this one: OpenInTextMate However the MateDot.app script I was using also is doing the same thing.

Thanks for reading.

Jannis

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

When you create a script in AppleScript Editor and then save it as an Application, there is an option to show a Startup Screen, as shown in the image below:

enter image description here

When that option is enabled, when you launch the script in the Finder, it will first show that initial dialog before continuing.

As long as the AppleScript script-application in question wasn't saved with the Run Only option (see the image above), you should be able to open the script in AppleScript Editor by dragging the script-application's icon onto AppleScript Editor's icon. (When a script is saved as Run Only, AppleScript Editor won't allow you to open it to see the source code). So, if you are able to open it OK, then you could Save a copy of it and make sure the Startup Screen option is disabled.

As for why this suddenly started happening when yesterday it didn't, I'm not sure. What version of OS X are you using?

share|improve this answer
    
Hi, my OSX version is 10.6.6. I am able to open the script and resaved it. It works again now. Many thanks. –  Jannis Apr 23 '11 at 21:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.