≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Feature request #313

Feature request #313: REQUEST: Pass track info as parameters to track change items and call specific methods in response to different notifications

Kind feature request
Product Synergy Advance
When Created 2005-10-19T22:58:14Z, updated 2006-07-05T02:06:43Z
Status open
Reporter Greg Hurrell
Tags no tags

Description

It would greatly help authors of track changes items if Synergy Advance could pass track info to their scripts as parameters to those scripts. For example, if the track title, album name and artist were passed as parameters to the script then the script wouldn't have to query iTunes to get the info, thus saving resources. Similarly, the same script could be used to handle multiple different cases if specific methods in the script were called in response to different events (for example, actual track changes might call a method called "TrackChange" and changes in player state, such as going from "Playing" to "Paused", could call a method called "StateChange").

Clearly, track change items don't need to be AppleScripts but if they are then Synergy Advance could call those methods. In other (non-AppleScript) cases it would simply pass information as parameters. I haven't yet decided on exactly how I am going to do this. First of all I need to find out about how AppleScripts parse parameters and also how to call specific functions (or check for their existence) from outside of an AppleScript.

See also request #171 and this forum thread (among others):

https://wincent.dev/a/support/forums/showflat.php?Number=845

Comments

  1. Greg Hurrell 2006-07-05T02:06:43Z

    Changing assignment to reflect my new email address.

    https://wincent.dev/a/news/archives/2006/05/change_of_email.php

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets