Re: filemaker open url
Re: filemaker open url
- Subject: Re: filemaker open url
- From: Andrew Oliver <email@hidden>
- Date: Tue, 05 Aug 2003 11:54:07 -0700
This wont work because the Finder has no idea what to do with Filemaker Pro
'cell' objects.
In Filemaker, 'cells' are more than string objects. They have numerous
properties as you can see when you read Filemaker's dictionary.
To fix the problem you need to get the cellValue of the cell and open that:
tell application "Filemaker Pro"
set foo to cellvalue of cell "MS KB number"
open location "
http://support.microsoft.com/?kbod=" & foo
end tell
(Note: since 'open location' is a standard addition, you don't need to
involve the Finder at all.
Andrew
:)
On 8/5/03 11:10 AM, "Robert C. Jacobson" <email@hidden>
wrote:
>
I'm attempting to script a button in FileMaker Pro 3 to open a URL,
>
with the URL text depending on the contents of the cell "MS KB number".
>
>
The following works from Script Editor:
>
>
tell application "FileMaker Pro"
>
go to database "patches"
>
set foo to {cell "MS KB number"}
>
tell application "Finder" to open location
>
"http://support.microsoft.com/?kbid=" & foo
>
end tell
>
>
But in FileMaker I get a transaction error. I googled that, and came up with
>
this "fix":
>
>
with transaction
>
set foo to {cell "MS KB number"}
>
end
>
tell application "Finder" to open location
>
"http://support.microsoft.com/?kbid=" & foo
>
>
but I still get the error. How do I get this to work?
>
>
Thanks
_______________________________________________
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.