Thanks for the response. I will look into both. I'm not quite sure what you mean by the "terminology from Microsoft Remote Desktop App" but I need to conditionally change focus if the Microsoft Remote Desktop App is in focus so I will need to check if the set the to application process "***" has a return value.
Post
Replies
Boosts
Views
Activity
I tried this approach but the "tell te" doesn't activate the app in my case. Even if it's running. I confirmed that the process name for the app is "Microsoft Remote Desktop". I can activate using tell application "Microsoft Remote Desktop" but not by assigning the process name to the variable and calling;
tell application "Microsoft Remote Desktop" activate works
set rdp to application process "Microsoft Remote Desktop" tell rdp activate doesn't.
I also tried the exporting as application approach but when I run the application, I get an error saying it can't send keystokes so that may not work either.
I did end up doing it that way. I just wanted to try and be consistent in the way I'm launching it.
@Claude31 So I didn't need the call to the numberOfItems and comboBox as they populate from the "dataSource" in the comboBox function on their own. I added three more NSComboBoxes (They all load value from same source) and they all populated without doing anything other than setting the dataSource and delegate to self for all in the ViewDidLoad(). Is this an OK way of populating the NSComboBoxes?
What would I do if I needed to populate different comboboxes with different values?