I have this code which gives me an answer of ‘Local Area Connection’ and ‘Wireless Network Connection 2’ when I work it in Relevence debugger.
names of connections whose (status of it = (connection status connected)) of network
I would like code to return a “true” value if ‘Local Area Connection’ AND any connection beginning with the word ‘Wire’ is found connected at the same time
I dont know, something like…
if (name of connection whose (status of it = (connection status connected)) of network = “Local Area Connection”) AND (name of connection whose (status of it = (connection status connected)) of network = “Wire*”) then true
Try this. it should show you when you have a connection that exists and is connected that is named “Local Area Connection” as well as a connection named “wire”. Hope this helps:
(exists connection whose (status of it = (connection status connected) and name of it = “Local Area Connection”) of network ) and (exists connection whose (status of it = (connection status connected) and name of it as lowercase starts with “wire”) of network)