Running Applescript runtime apps in Lion

I have just installed Lion. I have several Applescripts that I use for some automated actions an dcreated using Applescript Editor. In Snow Leopard I saved these as runtime app files and put them in my dock. When I installed Lion I noticed a banned symbol through the dock icons and, not surprisingly, got an error mesage when I tried to run them.
To fix the problem I opened the original Applescript file with the Applescript Editor then saved them as runtime apps. I got no compile errors in this process and all the apps are now working in Lion.
A similar problem will likely occur with APP files created with Automator. That will not be as easy to fix as the source code is not usually available.
The only remaining difficulty for me was getting rid of the banned symbol in the app's icon. I found that I had to:
make a copy of the original app (actually located on another Mac - Lion had changed all the icons on my Macbook)
change its file suffix from .app to .txt (so Lion would not change the icon without asking).
Get Info on the renamed file,
cmd-C on its icon
Get Info on the recompiled App file
cmd-v on its icon
So before upgrading to Lion, one tip is to make sure you have copies of your original Applescript source files and copies of their .APP files but with the suffix changed to, say, .TXT.

I have just installed Lion. I have several Applescripts that I use for some automated actions an dcreated using Applescript Editor. In Snow Leopard I saved these as runtime app files and put them in my dock. When I installed Lion I noticed a banned symbol through the dock icons and, not surprisingly, got an error mesage when I tried to run them.
To fix the problem I opened the original Applescript file with the Applescript Editor then saved them as runtime apps. I got no compile errors in this process and all the apps are now working in Lion.
A similar problem will likely occur with APP files created with Automator. That will not be as easy to fix as the source code is not usually available.
The only remaining difficulty for me was getting rid of the banned symbol in the app's icon. I found that I had to:
make a copy of the original app (actually located on another Mac - Lion had changed all the icons on my Macbook)
change its file suffix from .app to .txt (so Lion would not change the icon without asking).
Get Info on the renamed file,
cmd-C on its icon
Get Info on the recompiled App file
cmd-v on its icon
So before upgrading to Lion, one tip is to make sure you have copies of your original Applescript source files and copies of their .APP files but with the suffix changed to, say, .TXT.

Similar Messages

  • How can I run carbon apps on Lion?

    I've just installed Lion on my MacBook Pro, and found out that Power PC apps are not supported now=( is there a way to run a carbon app on lion?

    Rosetta is now gone from Lion so any apps that have not been moved over to Intel won't work. So far there doesn't appear to be any way to get Rosetta back.

  • How do I install OS 10.7 NOT 10.7.5 on a mac running Snow Leopard 6.8  i.e. where can I find the original install app for Lion OS 10.7.0?

    I'm running 10.6.8 Snow Leopard fine on my MacPro1,1, Dual-Core Intel Xeon, 2.66 GHz  Mac, but I need to install Lion 10.7.0 to run a program I need.How do I install OS 10.7 NOT 10.7.5, because I get this message when I try to install 10.7.5, which I've downloaded:"This update requires Mac OS X version 10.7." on a mac running Snow Leopard 10.6.8, So i need to install the original 10.7.0 over the 10.6.8  i.e. where can I find the original install app for Lion OS 10.7.0? The original Lion 10.7. is not avaialable for purchase from the App store or anywhere,  even C-Net . Where can I find it to purchase?
    Also it seems I cannot install Mountain Lion over 10.6.8 as advertised. When I go to purchase I get this message: "We could not complete your purchase. OS X Mountain Lion is not compatible with this computer."   I think my computer can handle it (specs above) Are there any workarounds to this?

    If you're getting a "This update requires Mac OS X version 10.7" message, than you have the updater and not the full installer. Go to your Purchases section of the Mac App Store and you should see the full version there. But it may be 10.7.5, though in my system is shows as being from 2011 which would appear to be the original version.
    As to Mountain Lion, that's supported only on the Early 2008 Mac Pro or newer.
    Regards.

  • HT204380 Facetime Activation: Could not verify the email address. Please re-enter and try again.   Tried so many times,even changed my appe ID and purchased a new facetime for iMac running 10.8.4 Mountain Lion,yet still same outcome. Can somebody help me?

    Facetime Activation: Could not verify the email address. Please re-enter and try again.   Tried so many times,even changed my appe ID and purchased a new facetime for iMac running 10.8.4 Mountain Lion,yet still same outcome. Can somebody help me?

    I have the same problem. FaceTime works fine on my iMac but when trying to use FaceTime on my Macbook Air, I have the same issue you describe.

  • TS3212 Just attempted to download current update of Itunes into my HP windows 7 computer. I've never had trouble before but now it will not run. Runtime Error R6034 an app has make an attempt to load the C runtime library incorrectly. Itunes Error 7

    Just attempted to download current update of Itunes into my HP computer with Windows 7. I've never had trouble before but now it will not run. Runtime Error R6034 an app has make an attempt to load the C runtime library incorrectly. Itunes Error 7

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99714)

  • When I'm using Safari, acasionally the menu bar just disappears. I'm running the latest version of Lion and the latest version of Safari. This is not a full screen app problem. I have multiple windows open. This happens all the time! Firefox is fine! ???

    When I'm using Safari, ocasionally the menu bar just disappears. I'm running the latest version of Lion and the latest version of Safari. This is not a full screen app problem. I have multiple windows open. This happens all the time! Firefox is fine! What the ****? Please help!

    Right, like I'm trying to say, THERE IS NO SAFARI MENU bar. Example: I have multiple applications open, I click on a Photoshop window, the correct menu or title bar or whatever changes. Every other application window I click on brings up the correct "whatever" bar. If I click on the desktop, the "Finder Bar" shows up.
    Everythiing else, BUT SAFARI, works the same way since OS X came out.  This is ridiculous.
    I'm getting the vibe that Apple is trying to get rid of the finder.... this is the way wrong direction.

  • Will Lion run my old apps?

    I have a 2007 MacBook Pro, 2.2 GHz Intel Core 2 Duo, 2 GB 5667 MHz DDR2 SDRAM, running OS 10.6.8.  It has Microsoft Office X and Dreamweaver 8 on it.  My TurboTax 2014 disc requires 10.7 or higher. Will Lion run my old apps if I upgrade?  I thought I read somewhere that it wouldn't.

    It depends upon the given applications.  Any PPC applications will not run on Lion.
    https://discussions.apple.com/docs/DOC-6841
    You could run a dual OSX system with Snow Leopard on one partition and Lion on another.
    Ciao.

  • I'm unable to run AppleScript.app after upgrading to Mavericks, is this as it should be, and is there a replacement for AppleScript?

    When I navigate to the Applications/Utiilities folder, and attempt to open the AppleScript editor I get an error popup with:
         The document "AppleScript Editor.app" could not be opened.
    Has AppleScript gone away, or is my OS Installation broken?
    Thanks,
    CraigP
    Ok, so it's broken.  Any idea how to un-break it?  For example, is there Installation Media for Mavericks that I can burn and attempt a re-install with?

    Your installation is broken.

  • Mt Lion started running the last App that i quit at shut down.

    Just these last couple of days osx 10.8.5 started running the last app that i quit and then shut dowm when i Start up and log in the next day. It has never done this before. I have Checked all the appropriate boxes in the system prefernces->General, I have unchecked the box that asks if you want to do this when you shut dowm. My only log in app is drop box. Anybody else have this "goast" start up happening. Again as i said it had just started these last couple of days.

    Well it has been about 6 hours since the message stopped happening. I never tried disconnecting the keyboard, it  just went away on its own. Mayble the shutdown messages were  a fluke and the OS just fixed things on its own, I don't don't know. I am waiting to see if the message starts reoccuring. If it reoccurs I will try unplugging the keyboard, but I am curious how this could be causing the issue? I am using a wired apple keyboard, one of those chrome models. As far as I know there is no key on it that shuts down the computer and I didn't set one up either.
    Perhaps the message is left over from my manually shutting down the computer yesterday. I had first tried to shut down the computer by the normal route of going to the Apple icon and choosing shut down, but finder had cancelled shutting down because of unsaved changes in time machine so I manually shut the computer down by pressing the power button.

  • Running Applescript /VBScript code using NativeProcess

    I know how to run a script file using NativeProcess, but I can't seem to figure out how to run pure script code.
    Is there any way to run AppleScript and VBScript code without first saving it to a file?
    Harbs

    The script is the same. What do you mean your suspicion of executing AppleScriptObjC is wrong?
    Macbook pro, fully up to date.
    See the first 2 posts in this thread for the crashes. When I comment out the error code it doesn't crash. Rather, Xcode logs
    Runtime error in script: (null)
    Else, the app crashes pointing to thread 1. Specifically the app stops on the error part of the method. Here is exactly what I'm seeing:
    EDIT:
    I just printing the scripts path to the console to check if it's being included in the app bundle, which it is. 

  • Error when running captive runtime .exe from root directory of drive.

    Platform: Windows
    Specifics: Captive runtime desktop app using an ANE.
    Problem:  I am distributing the app on a flash drive. Ideally,the .exe will be on the root of the drive, so the user will not need to enter a subdirectory. I'm mostly concerned about users moving the software and getting frustrated by this error.
    The error is "Adobe Air: The installation of this application is damaged. Try re-installing or contacting the publisher for assistance."
    Here's an example. Importantly, this error only occurs when an ANE is included. I tried a few different ANE files created by others, and simply adding them to the project produces the error. I don't even need to use the ANE anywhere in my code.
    https://www.dropbox.com/s/epfj0138pfbmu49/soExample.7z
    This is a simple application with a few blank buttons. Try extracting in a subdirectory somewhere, and then moving to the root of a flash drive or any other drive. However, I don't recommend running code from strangers on the top directory of your C:\ drive.
    Additionally, I installed Apache Flex 4.12 but the error persists. The text simply changed to "Initial content could not be loaded for this application. Try re-installing or contacting the publisher for assistance."
    https://www.dropbox.com/s/epfj0138pfbmu49/soExample.7z

    I did some more testing. Same issue occurs if I create a captive runtime app from Flash Pro. It also happens when I use the Adobe Air installer, but install to the root directory.
    Can anyone think of a workaround?

  • How can I run a gui app from an su shell?

    Hello,
    I login to my mac as a non-admin account.  I then open a terminal and su to my admin account for anything requiring it.  I am trying to run a gui app from the terminal window, but get this error, and the app does not open:
    $ /usr/local/bin/wireshark
    2011-08-14 06:54:29.327 defaults[18406:903]
    The domain/default pair of (kCFPreferencesAnyApplication, AppleAquaColorVariant) does not exist
    2011-08-14 06:54:29.346 defaults[18407:903]
    The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
    ./sync_osx_look.sh: line 40: gtkrc: Permission denied
    (process:18396): Gdk-WARNING **: locale not supported by C library
    (wireshark-bin:18396): Gtk-WARNING **: Locale not supported by C library.
              Using the fallback 'C' locale.
    (wireshark-bin:18396): Gtk-WARNING **: cannot open display:
    I know I can "switch user" but this is cumbersome as it requires typing a password each time, and I need to have applications side-by-side for easy access and testing.  Any thoughts?
    Thanks.

    I use LaunchAsRoot to run GUI apps as the root user, while logged in to my admin account.
    Another way is to use Applescript.  Here's what I do to run Console as root:
    do shell script "/Applications/Utilities/Console.app/Contents/MacOS/Console > /dev/null 2>&1 &" with administrator privileges

  • Delayed email delivery using mail app in Lion

    I'm having issues with delayed email delivery using the mail app in Lion. Specifically I have an IMAP account (AOL) that is working fine on other macs running snow leopard and on both an iPhone and an iPad. I receive an email that shows up on all other devices but does not get delivered on the Macbook Air. Clicking get new messages does not delivery the email, even if other emails have been delivered in the interim. The only way to get the email to show up is to exit Mail and restart it - and then the email shows up, in the correct date/time order and the correct read status (since I had already read it on another device).
    This has happened twice now with my AOL account in the past 24 hours (I've only had the new Macbook Air since Monday). It might also be happening on my other IMAP email accounts but I have not noticed it yet. It's intermittant as I've received many other emails correctly and ontime.
    Anyone else seeing something similar? I've never seen this with earlier versions of Mac OS X or on devices running iOS.
    This is a Macbook Air running Lion 10.7.1. I have 4 IMAP accounts set up. Mail is set to check for email once a minute and I have my IMAP accounts set to use the IDLE command.

    I have the same problem, some photos are not loaded completely and partly grey. This occurs only in Mail.app but not in the web interface of the email provider. Did you find a solution, Florian? Does somebody else have a suggestion?
    Greetings from Finland

  • Problems with AppleScript Editor.app in Snow Leopard

    I have been using the Satimage.osax scripting addition with Script Editor.app in Leopard without problem. After I upgraded to Snow Leopard, the Script Editor.app was replaced by AppleScript Editor.app in which the following one-line script
    change "," into "." in "3,1416"
    compiles without error but it gives an error when I try to run it: as if AppleScript Editor.app was not able to load the ScriptingAdditions (despite the fact that it correctly shows the dictionary for the Satimage.osax scripting addition).
    When I decided to get back the old "Script Editor.app" and use it in Snow Leopard to run the above script, I found... no error! It ran correctly.
    Anybody observed similar problems with the AppleScript Editor.app and ScriptingAdditions?
    Can anybody offer a solution other than trash the new AppleScript Editor.app and stick to the old Script Editor.app?

    Post to the AppleScript forum under OS X Technologies and send a message to Satimage.

  • Can I reinstall Mail.app on Lion 10.7?

    After trying to import my mail from Snow Leopard, my Mail.app in Lion 10.7 has become unresponsive – I can't open a Message Viewer Window, nor can I open preferences to make changes to my accounts.
    I'd like to reinstall Mail, but can't find a way to do this. Any suggestions?
    Thanks,

    Hello,
    I had the same problem this morning. After ugrading to 10.7.4 Mail.app could not import the messages, and hence, never started.
    The failure message stated "The import failed. An error occurred during the import. Make sure you have available space in your home folder and try again." There was no other option button but "Quit." So I quited, checked, and confirmed there were 414.19 GB available; and I used Finder and System Report for this purpose. Afterwards I tried again. The failure persisted.
    Ironically I wan't able to neither read from Webmail, nor access Mail.app. So I confirmed with the Data Center the server's status. Everything was up and running. Still, they restarted the server for the sake of certainty. The problems persisted.
    So I did as suggested here. And it worked smoothly.
    Since I use IMAP on my settings I went for a fresh configuration with all my mail accounts. And it worked smoothly.
    Thanks William for the tip.
    Thanks Shaun for marking the reply as the solution.
    Regards,

Maybe you are looking for

  • FI ECC 6.0 certification

    MODERATOR:  All points have been UNASSIGNED and the thread LOCKED.  Please do not share email addresses or links to SAP copyrighted information on these forums.  If you have some information, please consider posting it to the [Wiki|https://wiki.sdn.s

  • MacBook pro shuts down at 50% battery life!

    MacBook Pro shuts down at 50% battery left! Any suggestions. When in use it is usually plgged in

  • User password expiration

    Hello. It seems that passwordExpirationTime LDAP attribute doesn't work at all. I can add it to a user entry but it has no effect, no matter what value it has. Do we have to set any configuration value in order to active it? Is there any other way to

  • Bug Report: 5800 Contacts Ringtone bug

    Hello,  I own a 5800 ExpressMusic and today I've upgraded my firmware version to latest. The problem I will explain still is not resolved.  The problem is re-producable and is very annoying. Follow these steps: 1- Change the ringing tone to some mp3

  • Name of Server using Distributed Destination

              Is there a way to get the name of the server thats consuming my JMS Messages when           using a Distributed Destination? Basically i have a distributed queue configured           across two servers in a cluster using Round-robin. I just