Applescript studio app just quits

hi, i made a cocoa app written in applescript using Xcode. but when i send the app to other computers, the app just opens then quits right away. but it works fine on my computer. any ideas?

http://discussions.apple.com/thread.jspa?threadID=475738
…loads OK here, there may be something amuck in the system? The first thing you should try is to Set Active Build Configuration on the Project Menu to 'Release,' then build your app. You should then find a release executable in your project folder that you can send instead of the debug.

Similar Messages

  • Applescript studio app and plist???

    Hi everyone!
    If I have an Applescript studio app and I don't write anything to a plist is it still possible the app will make it's own plist for any reason? Seems to be but I can't tell for sure because seems not to be consistent. Any help would be great!
    Thanks,
    Reg

    On second thought, the plist file might be created if
    you display something. I just did a clean install so
    everything's new. Let me check with one of the apps
    that displays a an open dialog or something.
    Yes there are certain things in AS Studio that will write to a plist file. One example I know of is if you give any of your windows an "Auto Save Name" (in the "Attribute" pane of IB's inspector pane). The "Auto Save Name" will be used as the key to a plist entry that auto-saves the window's size and position on screen. When you re-run your app the window will be opened with the size and location stored in the plist.
    I believe kel may also be correct that if your app displays an open or save dialog then some state information about those dialogs will be saved to your plist.
    You can always use "plutil" to convert the plist file from binary to xml and then display the contents to see what's in there...
    <pre>
    plutil -convert xml1 /path/to/file.plist
    cat /path/to/file.plist
    </pre>
    Steve

  • Is anyone else having email problems such as apps exiting in the middle of an email? It may be a wireless issue. I use First Class for work and yahoo email for personal. I will be in the middle of typing a long email and the app just quits, all data lost.

    Is anyone else having email problems such as apps exiting in the middle of an email? It may be a wireless issue. I use First Class for work and yahoo email for personal. I will be in the middle of typing a long email and the app just quits, all data lost.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • Starting an applescript studio app

    I have written an applescript. I want to incorporate it into an applescript studio app........mainly to make use of the progress bar indicator. How do I get the script to start without having to click on any buttons. Thanks.

    Hook up your window (or the progress indicator) to the "awake from nib" handler in Interface Builder and insert your existing applescript code into the "on awake from nib theObject" handler that gets created in the AS Studio script.
    Steve

  • Applescript Studio app crashes with link error (dyld) image not found

    I've built a small Applescript studio app that works fine on the development machine but when I run it on other machines it crashes with a dyld error, specifically:
    Link (dyld) error:
    Library not loaded: /System/Library/PrivateFrameworks/ZeroLink.framework/Versions/A/ZeroLink
    Referenced from: /Volumes/Discover Your Mac Spotlight movie/Table of Contents Viewer.app/Contents/MacOS/Table of Contents Viewer
    Reason: image not found
    Does any one know why this happens and how I can fix it?
    Thanks very much in advance...
    iMac G5 20   Mac OS X (10.4.2)  

    Rick,
    looks like you built the application in "Development" mode - switch the build style to "Deployment" and most probably things will be fine in the other machine.
    Andreas

  • Starting mysql daemon hangs applescript studio app

    hi,
    i am currently writing a small application with applescript studio that starts an apache server and a mysql database.
    Starting apache via a 'do shell' command is no problem at all but starting mysql with this command
    do shell script "/pathto/mysqldsafe --port=2323 --somemoreoptions &"
    hangs my application.
    Executing the command in a shell works well.
    I guess the problem is that firing the command (in the terminal) causes the terminal to return to the command prompt (username:~ username$ ) pretty immediatley. But after one or two seconds there are some more information echoed to the shell ('Starting mysqld daemon with databases from pathto_datadir').
    Maybe this confuses my app and it starts waiting for things that will never end.
    My current workaround is to open the terminal and to execute the command there:
    tell application "Terminal"
      do script "pathto/mysqldsafe --port=3023 --somemoreoptions &"
      delay 1
      if terminalwasopen is equal to false then
        quit
      else
        close window 1
      end if
    end tell
    Any ideas how to get rid off this wokaround and how to manage this with a simple 'do shell script'?
    Thanks in advance.
    i++
    PowerBook Pro 15"   Mac OS X (10.4.7)  

    This issue is discussed in the do shell script technote.
    Specifically, even though you tell the process to background (by appending the &), AppleScript still holds onto the process' stdout and stderr, waiting for the output of the command.
    The solution is to suppress or redirect stdout and stderr, e.g.:
    do shell script "/pathto/mysqldsafe --port=2323 --somemoreoptions > /dev/null 2>&1 &"
    The '> /dev/null' suppresses stdout (which could go to a file if you prefer), and '2>&1' sends stderr to the same place as stdout.
    Incidentally, I assume you have some check to ensure apache and/or mysql aren't already active, right? This would cause a problem if mysql is already running.

  • Apps just quit

    Recently, some apps quit for no apparent reason. First Words With Friends Free started to quit when first opened, but will stay open on the second try. Now, Mail closes when I try to put a message in trash by hitting the trash can icon. It is okay if I edit to trash from the inbox, just not from within the message.
    I tried restarting and syncing.
    Thanks for any help.

    Pay attention to the hard reset below and try that.
    These are basic steps you can try if apps suddenly quit on you or if the your IPad starts to behave erratically. Quite often these simple fixes will resolve your issue.
    Quit the app by double tapping the home button to bring up the multitasking/recents tray at the bottom, hold down on any of the app icons in the tray until all the icons wiggle, then tap the minus sign in the corner to quit the offending app or apps. Try your app again.
    Restart the iPad by holding down on the sleep button at the top of the iPad until the red slider appears, then slide to the right to power off the iPad. Turn the iPad on again by pressing the sleep button until the Apple logo appears. Once the iPad has fully rebooted, find your app, and tap the icon to relaunch.
    *Try a hard reset by pressing and holding down on the sleep button at the top of the iPad while holding down on the home button at the bottom, until the Apple logo appears and the iPad restarts. Launch the app again and see what happens*.
    Other helpful tips can be found in the iPad User Guide starting on page 170 in Tips and Troubleshooting.

  • AppleScript Studio apps not Universal?

    I am using XCode 2.3 on a PowerBook G4 running Mac OS X 10.4.7.
    I have an application I have written in AppleScript Studio in that the only code I have written is all AppleScript code.
    I have set the Architectures in XCode to include BOTH PowerPC and Intel and the Target SDK is Mac OS X 10.4 Universal. I am running the "Deployment" build.
    According to http://developer.apple.com/documentation/MacOSX/Conceptual/universalbinary/universal_binary_compiling/chapter_2_section3.html this should be sufficient to produce a "Universal Binary". However the resulting Binary stubbornly shows itself as Application (PowerPC) in the Finder instead of Application (Universal).
    What am I doing wrong? Or is it that pure AppleScript Studio will always result in PowerPC as the benefit from Intel nativeness is so slight.
    Ah ha! Found the answer, I had to select "Upgrade All Targets in Project to Native" in the Project menu. This was not mentioned in the Apple documentation above.
    Message was edited by: John Lockwood

    Found answer myself. Need to select Upgrade All Targets in Project to Native.

  • DVD STUDIO PRO JUST QUITS OR FREEZES

    I have 3 firewire drives attached and when in DVD studio Pro 2.0, sometimes the programme freezes or simply quits when I am building a DVD
    This problem has previously never occurred when on my PowerMac G4 when I had less memory installed.
    Should I upgrade to a different version of DVDSP? Or is this simply a matter of having too many external drives attached?

    If you qualify, you must upgrade to the Universal Binary version of DVDSP.
    http://www.apple.com/universal/crossgrade/
    Otherwise, it's a full price upgrade

  • My ipod touch 4g just quits apps

    I mean that when I want to play some games, sometimes my ipod touch 4g just quits apps.
    When I turn my game on, it loads up, and then I see black screen, and then my app just quits
    HELP ME

    Apps crashing
    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • AppleScript Studio Location?

    I downloaded the Xcode tools volume specifically for the Applescript Studio app. The only problem is, i can't seem to locate that app in particular in the volume . There are a dozen or so packages can anyone tell me which one contains it? I'd rather not install a whole bunch of stuff that i'm probably won't use or just test each one. I have all ready installed the Developer tools.pkg and it wasn't in there. Any help would be greatly appreciated.

    Hey,
    AppleScript Studio is a part of Xcode and not a seperate application. To create an AppleScript Studio project simply launch Xcode and select AppleScript Application as the project type when asked. If you are new to AppleScript Studio you might want to try googling for AppleScript Studio.

  • Create UI elements dynamically in AppleScript Studio?

    I'd like to create an applescript studio app that can create UI elements (radio buttons, checkboxes, etc) dynamically based on certain other criteria. I've been writing applescripts for a while but am somewhat new to applescript studio, so I don't know where to look for this, other than here. Any help would be greatly appreciated.

    that's what I thought. Unfortunately I'd like to have the ability to have no prior knowledge of what UI elements are needed, and call them into being at any time. So I'm gonna infer that that just isn't possible.
    Related question: can I set up a UI element, let's say a checkbox, and dynamically tell the UI element how many checkboxes I need and what their names/values should be? Or once again do I need to have prior knowlege of how many checkboxes I need?

  • Firefox Beta quits on my android. no crash - just quits - is there a fix for this yet?

    This thread is apparently abandoned by the support people.
    https://support.mozilla.org/en-US/questions/1026282#answer-643651
    so I'm starting it again with some details from the other thread...
    Galaxy S4 Model ISGH-M919 Android 4.2.2 Baseband M919UVUAMDL Kernel 3.4.0-453951 se.infra@SEP-133 #1 Fri Apr 26 16:55.54 KST 2013 Build JDQ39.M919UVUAMDL-iwireless1.2 SELinux status permissive
    on 10/16/14 started quitting on any website. no crash notice. App just quits. uninstalled on 10/17/14 and reinstalled with no add-ons from Google Play Store No change - Firefox runs as long as it is not connected to the web. Shows history - bookmark - etc. Soon as it connects on the internet it quits. Connecting via wireless network. I have uninstalled it so I can use the internet
    I got this suggestion but was unable to duplicate all the steps...
    Ok so I tried this finally and got it to work: this might be long but a shortened version:
    . Connect the device to the computer via usb.
    2. In android settings go to About device and double tap on build id 7 times
    3. Go back and now see the developer menu
    4. Open and enable remote debugging
    5. Open up Firefox on the android go to settings > devloper tools and check remote debugging
    6. From Desktop go to Tools > Connect
    7. Open Tools > Console
    8. Click on gear and on the far right click on "Remote debugging for this session only"
    9. [adb sdk install required] in a terminal window
    adb devices
    make sure a device is listed.
    10. On desktop in the window that openned up when you opened up connect click on connect
    11. Immediately after run this in the terminal:
    adb forward tcp:6000 localfilesystem:/data/data/org.mozilla.firefox/firefox-debugger-socket
    12. On the device hit enable on the connection
    13. should be connected on the connect and click on the remote tabs.
    14 the logs will start to show up in the console.
    15. If you need adb log cat logs run in the terminal before you start to test:
    adb logcat > text.txt
    do you thing, and attach it to a bug.
    Here was my response:
    I'm getting lost on #6 What "Tools" are you talking about?
    I am using a laptop btw. Windows 8.1
    Thanks
    This is where it stopped... some fool got on that thread and was being obnoxious - so I hope we can start fresh here.

    Hi,
    The "Tools" are in the old drop down menu, which are not shown by default in the new Firefox Design. To show this menu:
    Firefox Menu > Customize
    On the bottom left there will be Show/Hide Toolbars. The Menu will be listed here.

  • Photos app always quitting

    Hello all,
    I just received (3 days ago) my brand new iPad. The first thing I did was charging it for a good 12 hours (or even more). Then it was time to start using the apparatus. First thing were my pictures. It took several hours for my MBP (with the iPad connected and supposedly synchronizing, therefore unusable) to adapt the pictures to Photos (iPad's iPhoto) and an other 45 minutes to synchronize the 33600 picture or so. So far so good. Here comes the problem: each time I launch Photos in my iPad a screen would appear saying that it is updating the pictures, and then just quits (comes back to the initial iPad screen, as if I pressed the menu button).
    What I did before writing this post:
    1. Restore the iPad entirely;
    2. Turn off completely the iPad (holding the on/off button until the "Slide to power off" appears and slide;
    3. Turn the iPad back on again and try Photos...
    To no avail.
    Any additional suggestion(s) most welcome.
    Thank you for your attention and possible help.
    Best regards from the sunny and a bit chilly Jura mountains in Switzerland.
    Pit
    ++

    Hello again,
    Just to give a quick follow-up on the above mentioned issue. Unfortunately, it is still going on. Despite the new version of iOS 3.2.2 (which seemed to "only" resolve a security issue).
    This is what I noticed so far:
    · Only 26'518 pictures will fit (I still 38.4 GB free). Adding another image one renders the Photos application useless. When entering Photos, a screen appears saying "updating pictures", the little sun spins (the equivalent of the beach ball on Mac OS X) and then it goes back to menu (where the application icons are);
    · When I'm scrolling rapidly in Events view, when reaching approximately the 2/3 of the length, the Photos app just quits and back to square one;
    · It also happens in the "Photos" view, but less frequently;
    · On the synchronization side, at the end of a sync, I have a window that appears saying that there are two movies that can not be played in the iPad, therefore they have not been transferred (for the moment I want to leave that warning so once I will try to transform those movies in a compatible format).
    · Finally, after synchronizing, the iPad becomes very slow and, after a while (10-15 seconds perhaps) it just reboots. Sometimes the reboot is quick, but often it takes quite some time. One can see the Apple logo, with the little sun thingy turning on top of it and it beeps like if the iPad went mad.
    Obviously, I tried to restore the iPad from iTunes, but except from taking hours to do so (transferring all the pictures), it does not change anything. I also tried to switch off and on again by holding the power button for a while and slide), etc.
    My guess (but this is just a hunch) the pictures transformation in order to fit in the iPad went wrong somewhere. I would like iTunes to start all over again, but I don't know where to indicate it. I saw folders named "iPod Photo Cache" in both ~/Pictures and +~/Pictures/iPhoto Library+ folders. Should I erase them? Only one? Is there something in iTunes to do that again?
    Any help welcome.
    Best regards,
    Peter
    P.S.: I upgraded to iTunes 10 and that did not change anything either.
    ++
    Message was edited by: Peter Deli

  • My macbook OS X 10.5.8 has just quit loading google, any ideas?

    For some reason I cant load anything with google, also my kindle app just quit working - is anyone else having similar problems?  This all happened within the last week

    I haven't had a similar problem, but for Google, if you're in Safari, Safari is usually slow and quits your pages. Try Google Chrome. It might work better. It has for me.

Maybe you are looking for