Scripts broken under Snow Leopard?

I wrote a script using AppleScript Editor. After several tests, running it manually from within AppleScript Editor, it seems to work just fine and does what I want it to. So, I saved a copy of the script as "run only". Supposedly, I should now be able to double-click the run-only script in order to run it without opening the editor. But, when I double-click the file, I get two pop-up windows. The first says: "Unable to read the file because the script is not editable (it was saved as run-only)", the second says "The document 'myscript' could not be opened."
Are scripts broken under Snow Leopard?

sauljaffe wrote:
That's absurd. What purpose does the "run-only" option have then?
that's needed when people publish applications they created and don't want others to see source code. this is done to all commercial software to protect against software piracy. you can do it to your own home made programs too if you want using that button.
If you can't run it, and can't open it with the editor, then you have a file on your system you can only do one thing with: move it to the trash.
There must be a way to save scripts so they can be run without opening the editor first.
of course there is. you save the script as an application. then to run it you double-click on it.
If "run-only" isn't it, then what is it?

Similar Messages

  • Script Editor in Snow Leopard painfully slow after adding apps to Library

    I have four different Macs that I use from time to time, and on each of them I notice a constant: adding more items to AppleScript Editor's Library window slows performance of mundane operations (opening a dictionary, switching between Library window and editor window, scrolling in the Library window, etc).
    In Leopard, I noticed little to know latency in opening a dictionary in Script Editor, but Snow Leopard's AppleScript Editor kills my productivity by making me wait on it with most UI interactions with the Library window.

    Hello
    I read another post of yours:
    Topic : Issue with applescript and installer scripts
    http://discussions.apple.com/thread.jspa?threadID=2143147
    It seems that the installer is calling osascript which is run in 64-bit mode under OSX 10.6 whereas XSLT Tools.osax invoked in the script is in 32-bit mode only.
    Until the osax becomes 64-bit capable, you may try setting /usr/bin/osascript to run in 32-bit mode. Perhaps by setting an option in Get Info window in Finder as explained in the AppleScript Release Notes listed earlier. (?)
    I'm not sure but if Finder cannot do it for commands, you'd need to replace 'osascript' with 'arch -i386 osascript' in the installer script (if it's editable) or let /usr/bin/osascript be wrapped via arch(1) so that it is run in 32-bit mode.
    cf.
    http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/m an1/arch.1.html
    Good luck,
    H

  • Backing up an encrypted drive with Time Machine under Snow Leopard

    In a nutshell, my question is “Can I back up an encrypted drive using Time Machine under Snow Leopard, and if so, how do I access its data from a previous day?”
    I have a 1Tb USB drive connected to my MacBook, which runs Snow Leopard. The drive is formatted as Mac OS Extended (Journaled). This drive is included in the drives that Time Machine backs up. I used Disk Utility to create an encrypted drive on the USB drive (998Gb), also formatted as Mac OS Extended (Journaled). The encrypted drive is not on TimeMachine’s list of excluded files/drives.
    When I go into Time Machine, I can see the USB drive and the encrypted drive in the side bar. I can access the files on the encrypted drive as long as I’m looking at how it stands now. But if I move backward in time, the encrypted drive is grayed out and inaccessible.  If I click on the USB drive, I get a window that tells me it is 75.9Gb in size, and nothing else is available to me.
    When I open the back-up drive in Finder and navigate to Backups.backupdb > macbook name > some date and time, I see my MacBook’s hard drive and the USB drive. The encrypted drive is not shown. When I click on the USB drive, I see an entry for drivename.sparsebundle. When I click on that I’m prompted for the password for the encrypted drive. When I enter it, I get a warning telling me that the disk image could not be opened and that the encrypted drive has no mountable file systems.
    Is my encrypted drive really be backed-up and if so, how do I access the backed-up data? 

    Having received a bunch of views but no replies over the last 5 days, I decided to venture into my local Apple store and ask this same question. The response I got from the geniuses was that you can't get a reliable back-up of an encrypted drive using Time Machine under Snow Leopard. So, my only alternative is to copy the encrypted drive's contents elsewhere, unencrypt the drive, and then copy the contents back. This is what I expected, but not what I wanted to hear.

  • My app will no longer run under Snow Leopard, runs fine under Lion.

    My app will no longer run under Snow Leopard, even though it was originally written for Snow Leopard.  It runs fine on my Dev machine under Lion. But when I test it on my Snow Leopard Mac Mini the app starts but the window does not appear. Going to file, new window does nothing. My depolyment target is set to 10.6. Is there something I did to make my app lose Snow Leopard compatiblty?

    Does your application use features only available in Lion?  Are you getting any console logs?

  • HP Officejet Pro 8500 Wireless Won't Scan Under Snow Leopard

    After installing Snow Leopard, my new HP Officejet Pro Wireless 8500 all-in-one printer won't scan. It delivers the following error message: "No Scan Options - refer to device documentation".
    Also, when I attempted to check and adjust scan settings using HP's Scan Destinations program, that program hangs and cannot save any setting changes. Then I have to use "Force Quit" to stop the program from hanging up while saving.
    HP's software update reports the printer software is up to date.
    It appears there are a ton of printer problems appearing for people after installing Snow Leopard, but I sure would appreciate any help on solutions if someone also has this problem.
    Thanks much.

    I also just tried connecting my 8500 wireless printer directly via usb and then downloading the HP printer drivers from Apple downloads and reinstalling.
    The install hangs nearly forever on the final step, but eventually says the driver install was successful. However, then when connected via usb, I am unable to print. Printing works when you reconnect via the wireless on the 8500.
    So connecting via usb and reinstalling HP printer drivers does not solve the issue. And it's puzzling, because the list of supported printers under Snow Leopard lists the Officejet Pro8500 Wireless as supporting both printing and scanning.
    Somebody has it wrong.
    If this scanning problem continues very long, I may be forced to uninstall Snow Leopard, because my printer is brand new.

  • HP OfficeJet Pro 8500 Wireless second paper tray under Snow Leopard

    He there, I have a strange problem with the second (extra) paper tray from the Office Jet Pro 8500. I have setup the tray and activated the option on the driver page on the computers, but no results. No paper is loaded from the tray and there is an error that no paper is loaded in the machine. The printer is connected via ethernet (and a time machine) and I am running snow leopard on all the machines that are connected to the printer. I have installed the latest drivers from Apple and from HP. I know that the paper tray is working, because when I make a copy on the machine localy and force him to use papertray number 2, then there is no problem.
    Does anybody have the same problem?? Thanks

    I also just tried connecting my 8500 wireless printer directly via usb and then downloading the HP printer drivers from Apple downloads and reinstalling.
    The install hangs nearly forever on the final step, but eventually says the driver install was successful. However, then when connected via usb, I am unable to print. Printing works when you reconnect via the wireless on the 8500.
    So connecting via usb and reinstalling HP printer drivers does not solve the issue. And it's puzzling, because the list of supported printers under Snow Leopard lists the Officejet Pro8500 Wireless as supporting both printing and scanning.
    Somebody has it wrong.
    If this scanning problem continues very long, I may be forced to uninstall Snow Leopard, because my printer is brand new.

  • I have a big problem with Lion and PGP. After upgrading from snow leopard to lion I cannot access my PGP drive which was generated under snow leopard. PGP does not start but gives a notion that lion cannot work with my PGP version. Solution?

    After upgrading from Snow Leopard to Lion I cannot access a PGP drive which was generated under snow leopard. PGP does not start. When I try to start I just receive a message that Lion cannot work with PGP. How can I now access important and confifential informatio which I have stored in PGP (snow leopard). Do I have to move back to snow leopard. If so, how can I do this? 

    If you have this product,
    http://www.symantec.com/business/support/index?page=content&id=TECH165159
    you have to go back to Snow Leopard.
    To re-install SL, back up your home directory, format and re-install.

  • PhotoShop Elements 6 for Mac under Snow Leopard?

    Hi. Apple's new operating system for Mac, Snow Leopard is being released tomorrow.
    According to the Snow Leopard wiki, Photoshop Elements 6 does not work under Snow Leopard:
    http://snowleopard.wikidot.com/
    I contacted Adobe to ask if they had any plans to update Photoshop Elements 6 to work with Snow Leopard.  The response I got from their support was that Adobe Photoshop Elements was programmed before Snow Leopard and so they weren't responsible if it didn't work.
    I am pissed because of course Photoshop Elements was programmed before Snow Leopard.  EVERY software program was. Most of my software (and I have a lot of apps) are being updated for Snow Leopard by their developers.
    I'm writing this post just to make sure that Photoshop Elements doesn't work under Snow Leopard. It's possible whoever posted that Photoshop Elements didn't work under Snow Leopard could have been having an isolated problem.
    So, if anyone tries Photoshop Elements with Snow Leopard, please post here whether or not it works.
    Thanks a lot.
    Mirskyman

    No, there are no significant known conflicts with Snow Leopard, so that's not your problem. Have you deleted prefs since the upgrade? Was this an upgrade in place rather than an erase install? If so, go to your username>library>preferences and delete:
    com.adobe.Photoshop.Elements.plist
    Adobe Photoshop Elements 6 Paths Folder
    Adobe Photoshop Elements 6 Settings Folder
    Opera preferences
    repair permissions and see if it's any better. Do you have any third party content installed in PSE? There may well be conflicts with that, if so.

  • Canon iP6700D Tray Choices Disappear Under Snow Leopard

    I have a Canon iP6700D. In 10.5 and earlier, one could select between the automatic sheet feeder and the cassette through selections under "Quality and Media". Those options seem to have disappeared under 10.6.1 using the September 11th Canon printer driver. Nosing about in Google, others seem to have the same problem with this and other printers under Snow Leopard. I've tried uninstalling the printer and re-installing but it hasn't helped.
    Settings made under 10.5 and saved still appear in Snow Leopard, and are still able to access the cassette and the sheet feeder, but I can't find a place to CHANGE that for saved or for new settings.
    Can anyone tell me where to find this setting, or where I might find a patch that will fix the problem?

    The v10.26 driver for the iP6700D still has the Paper Source menu under Q&M on 10.6. I can only think that something is conflicting with your installation of the driver. I would trash the contents of the BJPrinter folder, located in HD > Library > Printers > Canon. Then install the v10.26 driver again and see if the menus are present.
    There were two versions of printer drivers available for 10.5, v5.8.3 and v10.xx. If you had the version 5 installed and had presets based on this driver, then they will not work correctly with the v10 driver on 10.6. You should Delete these presets and create new ones once you get the Q&M menu appearing on your install.
    Final note. You should be posting this question on the Snow Leopard forum. This forum is for Leopard printing and scanning issues.
    Pahu

  • TS2510 problem with soundtrack pro v2.0.2 under snow leopard

    Hi, I've just upgraded my mac book to snow leopard and now when I try to record something with soundtrack pro v2.0.2 through the line input jack, the internal microphone is still switched on and none of the preferences allow me to switch to the input jack,ks
    Does anyone know whether STP v2.0.2 will run ok under snow leopard? If I need to upgrade the drivers, does anyone know where I can find these and how to instal them.
    Many thanks.

    There are no "drivers".
    Use Audio MIDI Setup to set your audio input.
    Good luck.
    x

  • Font problem with MX under Snow Leopard

    Anybody know what might cause an app built with Director MX not to display an installed (not embedded) custom font under Snow Leopard?
    The program was built quite some time ago but was tested under previous Mac OS X.x versions and worked fine. What might have changed that could cause this problem?
    Complicating this is that I don't have Snow Leopard myself to test it directly, but here's what I do know:
    The font is definitely installed and available to other apps.
    Everything else about the app works fine.

    I noticed the same jumbled text problem.
    When I went to look at Font Book, I see that those fonts are no longer installed. It must've happened when I loaded Snow Leopard last weekend.
    Anyway, I went to reinstall fonts, and I see I've got a bunch that got uninstalled. But when I try to reinstall them, like Calisto and Caligula to name the first couple I tried, Font Book reports that there were serious errors when trying to load them.
    Does anyone have insights into the vague message: "System Validation" as the serious problem? I don't see a way to get more details about the problem than that.

  • HP AIO: Scan to Computer STILL missing under Snow Leopard?

    Has anyone gotten any info on the status of the "Scan to Computer" and "Copy to Computer" (for reading memory card) under Snow Leopard? Being able to scan and copy files from my AIO directly to my Mac under Leopard was freaking awesome. Now I have to acquire images from the Mac (which works) and there is no way to automagically copy over files from the card reader at all.
    It's a real bummer to have to use a Windows machine to do these things... Especially since it was working fine in Leopard and we've been waiting months with no work and the only HP person appears to no longer be able to post here.

    Uh-huh. I beg to differ and think it is an Apple issue and an Image Capture issue in particular.
    I have a nice new Epson SX610FW that is absolutely stunning in Windows Vista.
    It also has Epson Scan application that does scan but Image Capture sticks and will not talk to the scanner.
    Plus on Windows I can fax from the 'pooter using Epson Fax, in OS 10.5 or 10.6 no fax option is available.
    I am of the opinion that print, scan and fax is broke in OS 10.6
    So, in my case on a wi-fi capable all-in-one:
    Windows Vista Home Premium
    Scan
    Print
    Fax
    On the device
    Copy
    Fax
    send scan to a declared network computer (I have not tried this too thoroughly but it looks broke on OS X)
    In OS 10.5
    Scan
    Print
    no Fax
    or 10.6
    Scan with Epson Scan but not with Image Capture or Preview (Preview fires up Image Capture with no option to use Epson Scan instead)
    Print
    no Fax
    Why won't OS X do Fax easily from an all-in-one - a relatively new all-in-one at that?
    Interim conclusion
    Image Capture is broked in OS 10.6
    Fax is strange in OS X

  • Problem with Backup 3 (3.1.2) under Snow Leopard

    Okay so I use Apple's Backup 3.1.2 which is free to all .Mac members as you know to back up all of my Macs to a NAS (networked drive). Anyway, under Snow Leopard this stops working. When you try to tell it to save the back ups on a mapped or mounted network drive it will not let you choose it and defaults back to the Macintosh HD. Under Leopard it had no problem doing this. What is interesting is that if I reinstall Backup 3 it will start to work and allow me to save to the network drive but as soon as Backup tries to do its backup by it self AND if the network drive is not mounted for some reason (has to be mounted manually), BackUp breaks the save point with the NAS and you can not tell it to save to the NAS again. As you also probably know everytime you restart your mac all the mounted network drives are not connected until you manually open them your selves. Under Leopard Backup would actually say "Waiting for Christian_BackUp" until I would open it and then it would start the backup automatically. Please help me get this working...I can not use Time Machine because I need a smooth, reliable, and working way to back up to a NAS.
    Thanks for your help in advance!
    PS: I have confirmed this problem on three macs all running Snow Leopard with different NAS setups.

    Whenever I put my Mac to sleep Backup 3.1.2 stops running scheduled backups to my iDisk automatically. This behavior started only after I installed Snow Leopard. They always ran just fine under Leopard whether I had put my iMac into sleep mode or not. If I reboot now and never put my computer into a "hard" sleep the automatic backups work fine, but as soon as I manually select "Sleep" mode the automatic backups stop happening even if the computer is awake when the backups are scheduled to occur.
    Message was edited by: Joseph Snodgrass

  • Problems with AppleWorks drawing docs under Snow Leopard

    Since I installed Snow Leopard, I've encountered two major problems:
    (Problem 1) AppleWorks gets corrupted when dragging a picture file (.jpg or .png) from the desktop into a drawing document. Various dialogs (e.g. "Format : Document..." or "Format : Ruler : Settings ..." or "Options : Object Size ...") become uneditable. These dialogs will display blank boxes instead of the given object settings, and nothing can be entered into these boxes. AppleWorks must be shut down and restarted in order to continue work.
    (Problem 2) When a formula (i.e. an equation) has been created in a MathType window, selected and copied, it takes ages to make AppleWorks the active application (spinning rainbow coloured ball appears and keeps spinning for a long while). Thereafter, it takes another century to get the formula appearing in the AppleWorks document when selecting the command "Edit : Paste".
    Everything worked still fine under Leopard; under Snow Leopard it's a desaster.
    p.s.
    I've produced thousands of work sheets for my Maths teachings using the Drawing module of AppleWorks in combination with MathType (Design Science). Now I'm stuck since there is no decent successor of AppleWorks available:
    * iWork doesn't feature a drawing module.
    * EazyDraw doesn't collaborate with MathType (i.e. no OLE; inserted formulae cannot be edited by double-clicking).
    * OpenOffice doesn't collaborate with MathType.
    * Micro$oft Office doesn't feature a drawing module.

    Welcome to Apple Discussions
    I don't use AppleWorks as much as I used to & I've never had a need to use MathType, but I just tried dragging 3 images - a .png, a .tiff & a .jpg - to a new AppleWorks draw document. I had no problems resizing them using Format > Scale by percent & I had no problems using any of the other dialog boxes you mention.
    Some basic troubleshooting you might try:
    Whenever you do an update, it's a good idea to do two maintenance tasks, one for the system (Repair Permissions) and one for AppleWorks (delete preferences). (Thanks to Barry for this way to format this very common answer.)
    To Repair permissions in 10.4.x, launch Disk Utility, found in the Utilities folder in your Applications folder, click on First Aid, then on Repair Permissions.
    To delete AppleWorks’ preference files, go to HD > Users > Library > Preferences. Find and delete the file com.apple.appleworks.plist. Find and open the folder AppleWorks in this Preferences folder, then delete all of the enclosed files (with the exception of the Button Bar Preferences if you have customized the Button Bars). AppleWorks will recreate the preference files as it needs them. You should do this step anytime AppleWorks crashes or you force quit it.
    The slowness is likely the "Recent Items bug" & it has been around since AppleWorks 6 was released in March, 2000. It can make it appear that AppleWorks has frozen or failed to launch. The user tip by Dale Gillard, AppleWorks slow? Spinning ball appears?, explains a lot.
    Could you send me a copy of one of these worksheets? Perhaps I can see if I can easily duplicate one in Pages/Numbers/Keynote. Even though iWork doesn't have a draw app, all of the apps do have basic drawing capabilities.

  • I have Windows XP Pro as my Bootcamp option under Snow Leopard. If I upgrade to Lion will I still be able to use this Bootcamp Windows XP operating system as I dont have Windows 7 yet

    I have Windows XP Pro as my Bootcamp option under Snow Leopard which works very well indeed.
    I would like to upgrade to Lion but am concerned re its lack of support for Bootcamp Windows XP
    Can I upgrade to Lion and boot into my old Windows XP BootCamp partition as I do at present OR
    must I buy Windows v7 and install under the new Bootcamp system.
    Also what happens to my Snow Leopard Time Machines backups - can I see them under Lion?
    Many thanks
    Peter B.

    Boot Camp- Some computers require Microsoft Windows 7

Maybe you are looking for