Hi all,
I'm having a bit of a problem here with getting data into the correct FileMaker database. I have two database files open and I'm using the script below which states to use the database "weather.fp5" but for some reason if the second database is the front most window it tries to use that one. I'm using FileMaker 6 with 10.4.
Any thoughts .... one of the versions of the script is posted below.
Thanks,
Dale
try
tell application "WeatherTracker" set Bar to Current Pressure of Station "test" set Temp_out to Outdoor Temperature of Station "test" set Hum_out to Outdoor Humidity of Station "test"
end tell
end try
tell application "FileMaker" activate try activate database "weather.fp5" on error open "weather.fp5"
end try set theRecord to create new record set cellValue of cell "Bar" of the theRecord to Bar set cellValue of cell "Temp_out" of the theRecord to Temp_out set cellValue of cell "Hum_out" of the theRecord to Hum_out --and so on
try |