Shepard
August 18th, 2005, 10:28 AM
Hi!
I have loaded the iTunes control.GML from this page but it doesn't really work..
First it doesn't recognize iTunes starting so I have to start this initializing script manually.
Then when I press a control button on my remote for, let's say "Pause" the girder main window shows a "Parse error". Going into the script section for this command and doing the same it outputs:
error: attempt to call field `Pause' (a nil value)
stack traceback:
1: main of (none)
or later also sometimes (don't know when):
error: COM error:(.\src\library\tLuaCOM.cpp,403):Eine Schnittstelle, die für einen anderen Thread marshalled war, wurde von der Anwendung aufgerufen.
stack traceback:
1: method `Pause' [C]
2: main of (none)
Ok this is a german message generated by my system I think. :)
The irritating point is: if I go into the script section of the pause command and start this code snippet "iTunes.com:Pause ()" by clicking the "Run script" button it works just fine!
So what does my remote do that it generates these errors when executing the script?
Thanks for help in advance!
Simon
I have loaded the iTunes control.GML from this page but it doesn't really work..
First it doesn't recognize iTunes starting so I have to start this initializing script manually.
Then when I press a control button on my remote for, let's say "Pause" the girder main window shows a "Parse error". Going into the script section for this command and doing the same it outputs:
error: attempt to call field `Pause' (a nil value)
stack traceback:
1: main of (none)
or later also sometimes (don't know when):
error: COM error:(.\src\library\tLuaCOM.cpp,403):Eine Schnittstelle, die für einen anderen Thread marshalled war, wurde von der Anwendung aufgerufen.
stack traceback:
1: method `Pause' [C]
2: main of (none)
Ok this is a german message generated by my system I think. :)
The irritating point is: if I go into the script section of the pause command and start this code snippet "iTunes.com:Pause ()" by clicking the "Run script" button it works just fine!
So what does my remote do that it generates these errors when executing the script?
Thanks for help in advance!
Simon