finally upgrading ired to ired2.. the object classes have changed in ired2 so script has to be tweaked, but i'm having an issue with syntax. i have a situation where i need to submit to ired the same variable twice, separated by a slash. how do i write this??? never got the hang of escaping.
- Code: Select all
i have slashes in my device names, how do i write that so it parses correctly with the same variable? i.e..:
tell application "iRed2" to perform action (Code irCode of Device myRemote / myRemote)
the part in question is the "myRemote / myRemote" part. i need the slash to be quoted as a string in between the two vars, so the resulting string is as in:
--perform action (Code "MUTE/Z1" of Device "Anthem/D2v/Anthem/D2v”)
( for reference: myRemote = “Anthem/D2v” ; irCode = “MUTE/Z1” )
any help appreciated, thanks!!