i have a script repeat-running on one machine & a script repeat-running on another
& I need to pass a record between them
i thought i could do something like this
set recy to {pooColour:"", consistency:""}
set pooColour of recy to "burnt sienna"
set consistency of recy to "squidgy"
set file_name to "TestScript001.scpt"
set folder_path to path to desktop folder as Unicode text
tell application "Finder"
try
set departDoc to open for access file (folder_path & file_name) with write permission
write recy to departDoc
close access departDoc
on error
close access departDoc
end try
end tell
pulling in with this sort of thing
set PulledInSpex to (run script file (folder_path & file_name))
doesnt see it as a script?!?!?
then i tried this
set recy to {pooColour:"", consistency:""}
set pooColour of recy to "burnt sienna"
set consistency of recy to "squidgy"
script toFloatOver
-- how do i get this in here??
recy
end script
set file_name to "TestScript002.app"
set folder_path to path to desktop folder as Unicode text
store script toFloatOver in file (folder_path & file_name)
with this to read it in/pick it up
run script file (folder_path & file_name)
that is a script - but of course i cant figure ou how to get the record into the script
books i have dont seem to help
can you be the one to help please