AppleScript for checking value
Hi, I'am new with scripting and don't have lots of experience. Need script for checking two words. Don't have idea how to do this. One text should be in textedit for example text 'Hi' and script should check is this text is "Hi". How to take text for checking from external application is the main question?
I dont fully understand your question, but I think your asking how to find a specific word in the frontmost active TextEdit document, if this is correct, then the simple Applescript below shows a very basic way to do this.
thank you for reply it's helpful
I have additional question. Is there possibility to find text field using AXValue and then set it for use this example.
For instance there is text field with identifier "size.popup" in untitled window. I need to do:
set the worldList to "size.popup" (instead of "set the wordList to every word of document 1")
if the wordList contains "2" then
how to do this?
Sorry I don't understand your question.
what text fielld are you reffering to ?
Are you working in Xcode, with a custom textfield on a window in Interface Builder ?
You'll have to explain what your working with, in order for us to be able to help you.
|All times are GMT -4. The time now is 04:46 AM.|
Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.