Track Change Items

  1. sjmills

    I couldn't find a thread about these, so I'll start one.

    1) From my tests, I can't simply save the script as a .scpt, otherwise Synergy opens the script in whatever editor I saved it from. I have to save it as an applet, then it launches. This is a bit annoying. I'd rather not have it launch every time, and I'd rather not save it with Stay Open turned on and then always have this applet in the dock. I'd much rather that Synergy sees it's a script file and loads and executes it. This isn't too hard, and even easier in 10.4 with one of the new OSA* calls that does it all in one step no matter if it's a data fork or resource fork script.

    2) So the script just gets executed and there are no handlers we have to implement, correct? So the script has to investigate iTunes each time to see what has happened. This is not all that efficient. I'd much rather see Synergy calling different handlers in the script, such as "track changed", "playback paused", "playback resumed", etc. And each handler would be sent some sort of object specifier for the current track, possibly the just the ID or a full object specifier. That way the script doesn't have to send more events back to iTunes and can act directly on what has happened.

  2. Greg Hurrell

    There is an item in the feature requests database for your first point:

    https://wincent.dev/a/support/bugs/show_bug.cgi?id=303

    But there wasn't one for your second point so I've added it:

    https://wincent.dev/a/support/bugs/show_bug.cgi?id=518

Reply

This topic is now closed.