I am new to the forum in posts only. I follow along every once in awhile when I have a script to write. I am currently attempting to write a script that will open 4D and select a tab then select a line of text in a window and enter a password into another window and resize the custom splash screen we have that comes up after the password has been entered.
So far this has seemed to be a tall task for me. Granted I am not an über programmer, but I have some experience with AppleScripting.
Does anyone have any ideas of where I can look for solutions to at least part of my dilemma?
Please note the 4D, at least the version I have, does not have a dictionary within AppleScript.
Thanks, Brian
Model: iMac G4, 700 MHz, 640 MB
AppleScript: 1.10.7
Browser: Safari 419.3
Operating System: Mac OS X (10.4)
What you want to do is called GUI scripting - scripting the user interface of 4D to “get at it”. A tool that makes this relatively straight-forward (as good as it gets anyway) is called UI Browser - not cheap ($55) - but definitely worth it if you’re going to deal with System Preferences or unscriptable applications.
I don’t have 4D, so I can’t help you specifically.
Thanks for the info. It appears that something I thought I could bang out in a week or so turned into a major project. It is a good thing that it was just to help a lazy person get even lazier. I’ll have to spring the bad news on him that I can’t do it for him. There are ways to get at tabs and buttons for scriptable app’s right?