before, you may remember, i wanted to be able to have one button that when pressed did the following “AUTOMATION 1 ON; AUTOMATION 1 NEXT; AUTOMATION 1 OFF”
Well, i’m just setting this up on a computer now with the new V.3 and it simply doesn’t work. when i use the command it ‘flickers’ the item in the playlist and where it says "next - A//b"etc it comes up ‘load’ when it flickers but nothing actually plays/happens beyond that.
Can you help please…
ALSO, in the remote control section, you enter the button, then you add and get the drop down list of commands. well for some reason i’m not getting that drop down list. is this right or is it a bug??
Thanks for this detailed report. I already know why this happens. It’s related to mAirList’s new multithreading capabilities. Let’s see how I can solve this.
ALSO, in the remote control section, you enter the button, then you add and get the drop down list of commands. well for some reason i'm not getting that drop down list. is this right or is it a bug??
Thanks as always for your speedy response. Just wondering if you can think of any temporary solution i could use to have the automation feature working until it is resolved?
You have to save the script as a text file with the .mls extension, e.g. “c:\script.mls”. Then type “RUNSCRIPT c:\script.mls” into the command box in the hotkey config.
Are you getting an error message or so? Can you run the script with Open -> Run Script? Any error message would appear in the status bar at the bottom of the main window.
You should specify the complete absolut path, e.g.
RUNSCRIPT C:\fullpath\scripts\AutoPlayNext.mls
I’m not sure if path names with spaces (e.g. “C:\Program Files…”) will work. If not, just create a new folder somewhere where there’s no spaces in the path.
By the way, to clarify this, you need to enter the command without quotes.
“CurrentPlaybackControl” is the first playlist, just like “PlaybackControl(0)”. (In earlier versions, CurrentPlaybackControl was the playlist the script was invoked from, e.g. when run through a playlist’s event scheduler, but now it’s only a synonym for the first playlist.)
Then, “PlaybabackControl(1)” would be the second one, and so on.
This script does not reference any particular player as you can see. It just tells the automation to skip to the next item, whatever players are involved in that operation. It’s exactly the same thing as clicking on NEXT.
The correct format is: PlaybackControl(1).SetAutomation(true);
… and so on.
PlaybackControl(n), where n is a number from zero upwards (zero = Playlist 1, 1 = Playlist 2, etc.) is always the best way to refer to a specific Playlist in a script.