• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: filemaker open url
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filemaker open url


  • Subject: Re: filemaker open url
  • From: Gary Lists <email@hidden>
  • Date: Thu, 07 Aug 2003 14:00:58 -0400

On or about 8/6/03 9:26 AM, Robert C. Jacobson wrote:

>> tell application "Filemaker Pro"
>> set foo to cellvalue of cell "MS KB number"
>> open location "http://support.microsoft.com/?kbod="; & (foo as string)
>> end tell
>
> Sadly, that too give me a transaction error


I don't understand why the open location is inside the FM tell block.


But also, the Knowledge Base site says that changes have been made, and the
URL format appears to be:

http://support.microsoft.com/default.aspx?scid=kb;en-us;101608

Perhaps your URL is just incorrect?

I tested, in FM 5 and FM 6, constructing the URL as I believe you intended,
with a "stub" URL and then a KBID number appended to make the full URL.

I tried with two different methods. These are tested in a FM script, so
there is no need to "tell" FM. However, I tested also from Smile, with the
"set..." lines inside a tell FileMaker block and these work from there as
well.

The 'open location' does not need to be inside a tell block, OMM.


Method 1: build a text calculation from all "component" fields


set foo to cellValue of cell "url_full_calc"
display dialog foo -- just a test
open location foo -- opens page in browser



Method 2: let AppleScript do the concatenation

set foo to cellValue of cell "url_part_one"
set bar to cellValue of cell "url_part_two"

display dialog foo & bar -- just a test

set foobar to foo & bar

display dialog foobar -- just a test

open location foobar -- opens page in browser


--
Gary

MacOS 9.1 / "9 is Fine"
_______________________________________________
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.

References: 
 >Re: filemaker open url (From: "Robert C. Jacobson" <email@hidden>)

  • Prev by Date: Re: Date Routines
  • Next by Date: Re: Date Routines
  • Previous by thread: Re: filemaker open url
  • Next by thread: Re: filemaker open url
  • Index(es):
    • Date
    • Thread