I’m trying to get a simple device recorder up and running. I have a working version in Objective-C and wanted to translate it into AppleScriptObjC in order to better learn AppleScriptObjC.
inputDevices=(
iMic USB audio system,
Built-in Input,
V2U13724
)
However when trying this in with AppleScriptObjC
set videoDeviceList to current application's QTCaptureDevice's inputDevices()
log (videoDeviceList)
I get
(
"Built-in Input",
"iMic USB audio system"
)
The weird thing is if I add the Objective-C code as the parent class I also get different inputDevices…
Am I missing something or is this an issue where I will have to stick with Objective-C?
Could it be something concerning non-default devices. The device I’m not seeing in ASOC is a VGA2USB grabber - even though I see it in ObjC. Doesn’t sound reasonable, but well…
Will have to check this on another mac and report back…