Noobie - script trying to open classic when it's not needed

I need some help. I have written a short, simple script that I hope will work to open an index.htm file in a users default browser when it is run from a cd. I have a disk that basically contains a website with links on the disc and links to the web. Of course in windows I am using autorun to start the index file, but for Mac I am opening a finder window with an icon for this script so that the user has a clean interface and does not have to search for the index file.
The problem is that after compiling and testing my script it works fine, but when I save it as an app it tries to open Classic everytime. I don't want it to do this. This is for OS X only and it should be opening the file in Safari or Firefox so there is no need for classic.
In the Save As dialog box there is no check box to require classic it just automatically saves it that way. When I click on the saved app and choose "get info" is gives the filetype as "Application (classic)"
I am using Script Editor 2.1.1.
Here's the script:
try
tell application "Finder"
open file "BIB_5113:index.htm"
end tell
on error
beep
display dialog "Oops: " & "Please Insert your course CD and try again. " buttons {"OK"} default button 1
end try
Can someone please help, I have searched here, googled and posted at the MacScripter forums with no luck.
Thanks for your help.
K

OK, update - By saving as "Application Bundle" I now have the script working, somewhat. Now I need to know if and how I can get the script to see an invisable file. I am using Toast 7 to burn a Mac/PC disc and I have all of the files hidden. The script runs but it does not find the index.htm file.
Can anyone help?
Thanks
K

Similar Messages

  • Messages keeps trying to open, even when i am not using it

    Ok i am wondering if anyone is having a problem with their Message app. Problem being with mine that it keeps trying to open itself and i get a message displayed. See atttached pic!
      If i click continue the box goes away and nothing happens, sometimes i lose connection on the WIFI aswell. Anyone seen this problem before
    Dan

    Hi,
    Many (most) Jabber servers including GoogleTalk and Facebook use SSL to login to the servers.
    In Messages > Preferences > Accounts > Jabber account > Server settings
    The default port for SSL logins is port 5223  (it changes automatically when you click SSL).
    You cannot change this Pane unless logged out of the server.
    Most servers will not accept a login on the non SSL (port 5222) although it would appear you are at least being asked.
    If the Account Info tab says the Account is Enabled then untick this to Log out.
    Then go back to the Server Setting tab and turn on SSL
    9:48 PM      Thursday; January 24, 2013
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • TS3048 Is there a way to "calibrate" the magic mouse? I have rearranged settings for mouse, air-cleaned, tried different surfaces, however, it seems to be misinterpreting finger movements and randomly trying to open launchpad when enabled.

    Is there a way to "calibrate" the magic mouse? Batteries are good. I have rearranged settings for mouse, air-cleaned, tried different surfaces, however, it seems to be misinterpreting finger movements and randomly trying to open launchpad when enabled-flashing between the app I am in and launchpad. When right-click is enabled I have to go to the extreme upper left of mousepad to click or it is interpreted as right-click. Won't consistently "scroll". Suggestions?

    Here's some things you could try....
    Reset your computer's PRAM
    http://docs.info.apple.com/article.html?path=Mac/10.7/en/mh26871.html
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/HT3964
    Mac OS X: Starting up in Safe Mode
    http://support.apple.com/kb/HT1455

  • I have downloaded pages 5 and installed and have been using it. when i turned my computer on today and tried to open a document, it was not there! How do i find pages 5?

    i have downloaded pages 5 and installed and have been using it. when i turned my computer on today and tried to open a document, it was not there! How do i find pages 5?

    Are you sure you are in the same User account as you installed Pages 5?
    Peter

  • Just installed CS6. Bridge tries to open CS4 when I....

    Just installed CS6. Bridge tries to open CS4 when I double click a JPEG from within Bridge. CS4 is not installed on my computer.
    Windows 7 computer.
    RAW files open fine..... Bridge ---> ACR ---> CS6

    I installed CS6 and uninstalled CS5.
    Perhaps this had the same effect.
    What should I do? re-install CS6?

  • I am trying to open pdf in Pro and not Reader.  Please advise how I can fix this.

    I am trying to open pdf in Pro and not Reader.  Please advise how I can fix this.

    Eric-
    FYI, this is a forum for storage and sharing...photoshop.com and revel. If you have acrobat issues you might want to make a note of the other forums:
    http://forums.adobe.com shows a list of all of them, and specifically http://forums.adobe.com/community/acrobat  this one for Acrobat
    But, since I have had this same issue myself...
    On Windows, locate your pdf document. Right click it and select "open with". Select Adobe Acrobat. That should do it. On MAC, I'm not sure but I'm guessing there is a similar setting.
    Good luck.
    Pattie

  • I plugged in my iphone 5S and locked the screen 20 minutes later I tried to open the phone it will not turn on i treid reset and that wont work I have a black screen

    i plugged in my iphone 5S and locked the screen 20 minutes later I tried to open the phone it will not turn on i treid reset and that wont work I have a black screen,
    I tried just holding down the power key...NOTHING

    Do a reset, hold down the home/sleep button together until you see the apple logo and then release.

  • How do I open launchpad when it will not open by the suggested methods?

    How do I open Launchpad when it will not open by the suggested methods?

    Then reinstall OS X. See if that helps:
    Reinstalling OS X Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Reinstalling OS X Without Erasing the Drive
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility and press the Continue button. After Disk Utility loads select the Macintosh HD entry from the the left side list.  Click on the First Aid tab, then click on the Repair Disk button. If Disk Utility reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit Disk Utility and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • My ipad just starts putting in letters and opening apps when I am not touching it...what's happening????

    My ipad starts typing in random letters and opens apps when I am not touching it..what is happening??

    Try the sandard fixes:
    - Reset. Nothing is lost
    reset iPad. Press and hold both the Sleep/Wake button and the Home
    button for at least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPad.

  • Last night my ipad was good, when today morning tried to open shown only apple logo, not booting..

    last night my ipad air was good, when today morning tried to open shown only apple logo then goes to slip and again automatically trying to open but up to apple logo then again sleeping and restarting....... I am in Bangladesh no apple service center here, bought this device from Singapore. Pls help me.

    Try a reset:
    - Hold the home button and sleep/wake button down at the same time. When the Apple logo appears release both buttons.

  • Adobe tries to open all programs and con not be uninstall

    Hi, I am using Windows XP and I installed Adobe Reader X 10.1.3 But after I installed Adobe, I could not open any files except the ones on desktop. I can not use any of them from Start or Control Panel. I tried to uninstall Adobe from Control Panel>Default Programs>Program Install/Unistall but still tries to open with Adobe. Is there any other way that I can uninstall?

    It seems that the file association for .exe and .cpl may have been corrupted (and are now pointing to Adobe Reader).
    Can you open Windows Explorer, or does it give you the same problem?
    When did this start?  Can you possibly do a System Restore to a date before it started?
    This may be quite difficult to solve if you cannot open any .exe or .cpl files.

  • I keep getting "Reminders" that some web page cannot be opened, even when I'm not online or on the Internet, and I'd like to stop it.

    For days now, a "Reminder" box pops up on my screen every few minutes. It's followed by whatever the date is. It always says that a Web page cannot be opened and to try various things, even though I'm not online or trying to open any page. I can get rid of it by opening the task manager (control, alt, delete), but it comes back in a few minutes. I tried "System Restore" but that's not working, for an unrelated reason. I'd like to stop this annoying reminder. Thanks.

    Might be spyware or adware. You could try scanning for that and remove spyware if you find any.
    * Malwarebytes' Anti-Malware - http://www.malwarebytes.org/mbam.php
    * SuperAntispyware - http://www.superantispyware.com/
    * Spybot Search & Destroy - http://www.safer-networking.org/en/index.html
    * AdAware - http://www.lavasoftusa.com/software/adaware/
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help:
    * http://www.spywarewarrior.com/index.php
    * http://www.spywareinfoforum.com/
    * http://bleepingcomputer.com/
    * http://www.thespykiller.co.uk/index.php?board=3.0
    * http://forums.whatthetech.com/index.php?showforum=27.

  • Since up grading to Adobe Reader X when I try to open any program Adobe tries to open it, therefore I can not open any programs now on my computer. I need help very quickly.

    I can not open any programs now that I have upgraded to Reader X. It has made Adobe the default progam to open all programs.

    Hi Kate,
    Please refer to this KB doc. for the solution Application, file icons change to Acrobat/Reader icon
    Let me know if the issue persist.
    Regards,
    Aadesh

  • Hello, I'm having problems when trying to open videos in photoshop cc, not open and a window appears saying that Photoshop is not compatible with the earlier version of windows.Alguem could help me please? my system is 32 bit and my photoshop is 32 bits.

    anybody here?

    Hi,
    The video features for Windows 32 bit systems are no longer supported starting with Photoshop CC (14.0).
    Sorry,
    steve

  • My computer tells me that Firefox is still open even when I can not see it. It will not allow me to open it to use.

    I received an error message about a "spooler" and Firefox crashed. Ever since then I can not open Firefox but when I close down my computer it says Firefox is open. I have no access to Firefox

    There are a few possible causes for that error, for details see [[Firefox is already running but is not responding]].

Maybe you are looking for

  • The bottom of my email page incorrectly reports I have over 6000 emails in my in box. How can I correct that?

    When I open my Thunderbird program, at very bottom, right, of the page, it is reflected that my inbox contains over 6000 messages. This is not correct. How can I fix this? Could there be messages somewhere in the system that do not appear in my activ

  • Classpath and path of jdkjdk-1_5_0_09

    hi i have installed c:\progrmaefiles\java\ jdk-1_5_0_09 on my pc but i m not able set systemenvironment variable like PATH and CLASSPATH .i tried lot of option but it does not work so plz anyone help me out.i m using windows Xp operating system. when

  • Query Selection Box Descriptions

    When I set up selections options in the 'WHERE' statement the selection fields default to standard text such as: Posting Date                          Greater or equal Posting Date                          Smaller or equal Description in Foreign Lang

  • Writing code in eclipse

    Hello everyone! I have no expirience programing on ABAP at all. Only in C++, C# and Java. But I'd like to start with making some simple programs. I have a book about APAB language and also I have installed the ABAP development tools into my eclipse.

  • Can't see progressMonitor

    ProgressMonitor progressMonitor = new ProgressMonitor(mviewer, "Running a Long Task", "", 0, 100); progressMonitor.setProgress(0); progressMonitor.setMillisToDecideToPopup(0); int i; i = 1000; while(i>0){      i--; progressMonitor.setNote(null);