Serial Port List

Hi, I’m using this code to select a serial port, when I run it I get the following list.


What I want it to say is:

I have no idea what the “cu” or “tty” means but I know that I need the tty version.

Maybe I could still use my code and then modify the string

Any thoughts?



set thePorts to serialport list
set port_name to choose from list thePorts

One workaround is to do this as a shell command.

set mdm to do shell script “ls /dev/tty.usb*”

Which work, not ideal but it works.