March 3, 200916 yr Newbies running FM10, I recently pasted an updated script into scriptmaker using a single line "Perform Applescript". It ran for years without a problem, but now I get an error "Parameter is not an object specifier." Why did I get this and how do I get past it? Thanks for any help.
March 3, 200916 yr Author Newbies Sorry, didn't realize that mattered. It extracts DB info and creates a pages letter. The script itself runs as always while debugging in script editor and the error comes up immediately without launching the script, so I assumed that it was a FM problem as compared to a problem with the script itself. I have a few dozen of such scripts embedded into scriptmaker that way, but this is the first time that this message has ever come up.
December 11, 200916 yr I'm equally curious as to this issue, as I just got it myself today. The script I have is a combination Applescript which prompts for a file location, then copies the file to an afp drive on a local server.
December 11, 200916 yr Well it pretty easy to make such an error, if you try this: tell application "FileMaker Pro Advanced" first item of layout 1 end tell Will you get it right away, the cure is to put it either this way: tell application "FileMaker Pro Advanced" layout 1 first item of result end tell ...or this way: tell application "FileMaker Pro Advanced" set aVar to layout 1 first item of aVar end tell This means you need to build a set of references to all elements in your object before doing any slection or re-organization of these, "result" is returning such a set of references if you not should wish to build a new variable. --sd
Create an account or sign in to comment