Name Conflicts
Name Conflicts
- Subject: Name Conflicts
- From: Steve Cunningham <email@hidden>
- Date: Thu, 12 Jun 2003 10:02:08 -0400
I'm sure I must be missing something simple about "tell me" here but I
keep running into the problem where a name used by an osax conflicts with
a name used in an application.
Here is an example using the osax "24U Appearance OSAX" and FileMaker Pro
where I am trying to create a progress bar:
set aBar to create progress indicator with properties {maximum:10}
tell application "FileMaker Pro"
tell me
set aBar to create progress indicator with properties {maximum:10}
end tell
set aBar to my (create progress indicator with properties {maximum:10})
set aBar to create progress indicator with properties {maximum:10}
end tell
the "set aBar" outside of the FileMaker Pro tell works but all of the
three forms within the tell fail with the diagnostic
"expected ',' or '}' but found ':'"
apparently because "maximum" is a Filemaker Keyword.
I also tried:
set aBar to create progress indicator with properties {|maximum|:10}
That gets past the complier, but the osax doesn't recognize "|maximum|"
as "maximum".
I thought what was supposed to happen is that the "tell me" or "my" was
supposed to pass the "create" to the parent script instead of FileMaker
which would then pass it to the osax.
Can someone "tell me" what is going on and how to handle this situation
in general?
Thanks,
Steve
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.