I've looked at the rest of the posts in the forum, and nothing has worked.
I've also looked at using the UI Brower (http://www.apple.com/applescript/uiscripting/index.html) to sends applescript commands to the Servoy Client application, but have had no success.
I have tried these 2 scripts to set values of fields in Servoy, and neither of them work.
This compiles, but doesn't work
- Code: Select all
tell application "System Events"
tell process "Servoy Client"
tell window 1
tell scroll area 1
set the value of text field 2 to "test"
end tell
end tell
end tell
end tell
This one doesn't compile
- Code: Select all
tell application "Servoy Client"
tell window 1
tell scroll area 1
set the value of text field 2 to "test"
end tell
end tell
end tell
I have been able to get this script to work to get values of fields...
- Code: Select all
tell application "System Events"
tell process "Servoy Client"
tell window 1
tell scroll area 1
set myTest to the value of text field 2
display dialog myTest
end tell
end tell
end tell
end tell