Search results

  1. H

    Anybody know of something that will play a single .wav file, then immediately exit?

    Ye vish. You'd have thought I'd have found this back in November! http://hints.macworld.com/article.php?story=20081002080543392 All I neded to do was a Google search on "macintosh play .wav command line," and it would have been the very first thing I found: The tip is flagged "10.5...
  2. H

    Anybody know of something that will play a single .wav file, then immediately exit?

    Unfortunately, whether done with a sound file from a terminal window or from a DO SHELL SCRIPT statement in an AppleScript, all qlmanage does is open up a window. It doesn't actually play the sound, let alone "play the sound exactly once, then terminate." In the case of the startup script, the...
  3. H

    Anybody know of something that will play a single .wav file, then immediately exit?

    I have a "startup sound" script on my Mac, that plays any one of a rotating series of .wav files, exactly once, when I sign on to my Mac. When I got started on this, I quickly found out that if I allow iTunes to play a sound file, it immediately imports it into the playlist (NOT desired...
  4. H

    Applescript droplet works fine on one machine, does nothing on another.

    I've now run a couple of test AppleScript apps (not droplets) on my colleague's computer. A script app successfully opened a dialog with a test message. And a script app successfully opened a hard-coded version of the "do shell script" in the failing droplet. So it's fairly clear that...
  5. H

    Applescript droplet works fine on one machine, does nothing on another.

    We're a software company, and every box in the building has Java. On the "problem" MacBook, the script doesn't even get as far as displaying the dialog I added for debugging purposes. Yet if I type the command line being fed to the "do shell script" (or displayed in the dialog) into a...
  6. H

    Applescript droplet works fine on one machine, does nothing on another.

    This droplet (with a "display dialog" added for debugging purposes) works just fine on my new Mac Mini, but does nothing on my colleague's MacBook Pro, other than maybe make the dock quiver slightly (it doesn't even show the dialog!): on open foo repeat with bar in foo set {tid...
  7. H

    Keeping an AppleScript that launches a Java app from waiting for it to complete?

    In an end-run around a problem described in another thread, . . . I have an AppleScript droplet that launches a Java application (which expects a fully-qualified pathname as its parameter) with a "do shell script": on open foo repeat with bar in foo <code that massages...
  8. H

    How do I set up files of a specified extension to open in a Java application?

    We have an internally developed Java application ("emulator.jar"), an IBM 5250 terminal emulator Telnet client, that saves its parameters in a file with an extension of ".5250" for unsecured sessions, or ".5250s" for secured ones. It's designed to be launched by double-clicking on such a...
Back
Top