Can someone explain why these
first two scripts can’t address the show command but the third one can?
Does one need to come back out of the hierarchy just to address the show every
record? In this first script a record is an element of a layout, a layout is an
element of a window and a window is an element of the application. Can’t
see why this isn’t addressed correctly. Thanks…
tell application
"FileMaker Pro Advanced"
tell
window "NameOfWindow"
tell
layout "NameOfLayout"
show every
record --errors here
end
tell
end
tell
end tell
tell application
"FileMaker Pro Advanced"
tell
database "NameOfDataBase.fp7"
tell
layout "NameOfLayout"
show every
record --errors here
end
tell
end
tell
end tell
tell application
"FileMaker Pro Advanced"
show every
record of database
"NameOfDataBase.fp7" --Works
end tell