I need help with a script I am working on. I am trying to use GUI scripting create a script to activate/deactivate the bluetooth-pda-sync-port in HotSync Manager. Basically, the script would have to launch HotSync Manager, click on the Connection Settings Tab, click on the bluetooth port check box, and then close HotSync Manager. If somebody could help please post here.
If this is easier, I just realized that the same result can be gotten from clicking the checkbox for the bluetooth-pda-sync port in Bluetooth Serial Utility. I have been messing around with some scripts for a while now, but I can’t even get a script to simply check or uncheck a checkbox in any application. If somebody could even help me with how to tell the computer to check a checkbox, I would be very apreicative.
I took a look at the HotSync Manager with PreFab’s UI Browser and I couldn’t see a way to do what you want to do. I don’t have access to the Bluetooth Utility (I have it but it doesn’t want to open because I have no Bluetooth hardware).
I’m not saying that it can’t be done but I don’t know how to do it. Based on my experience, UI scripting does not cover every aspect of the UI in all cases.
Thanks for your reply. I was wondering if you wouldn’t mind taking a look at the HotSync Manager applescript dictionary and seeing if you see anyway of doing what I want to do via regular applescript. I looked through it briefly and didn’t see anything useful, but I may very well have missed something, and is why I was figuring on using UI scripting. However, if there is another way to accomplish the same task, I would love to hear about it.
I checked the HS dictionary just this week and it is virtually useless except for opening various windows. I’ve also tried to determine where the settings for your particular situation are stored and came up empty. If the settings file could be discovered, it “might” be possible to use a script to alter the settings.