• 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: Scripting Filemaker 8.5.. (HEEELP)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Filemaker 8.5.. (HEEELP)


  • Subject: Re: Scripting Filemaker 8.5.. (HEEELP)
  • From: Erik Saline <email@hidden>
  • Date: Wed, 11 Apr 2007 17:41:47 -0700


On Apr 11, 2007, at 4:25 PM, Jay Louvion wrote:


Has anyone noticed some sensible changes in FM Pro 8, regarding AS?

I’ve recently done a quick and dirty conversion of our DB from FMP 5.5 to 8.5 and the following script, for example, along with a number of other scripts doesn’t work anymore:

tell application "FileMaker Pro"
set StreetName to cellValue of cell "Adresse" of current record of document 1

Maybe spelling error, Addressee? Just a thought. Also try

set StreetName to cell "Addressee" of current record of database "Databasename"


Erik

set zipCode to cellValue of cell "plz" of current record of document 1
set TownName to cellValue of cell "Ort" of current record of document 1
set StreetName to my FindReplace(" ", "+", StreetName)
set theURL to "http://www.viamichelin.co.uk/viamichelin/gbr/dyn/ controller/mapPerformPage?strAddress=" & StreetName & "&strCP=" & zipCode & "&strLocation=" & TownName & "&strCountry=EUR&image2.x=0&image2.y=0"
getURL theURL
end tell


on FindReplace(FindWhat, ReplaceBy, ThisString)
    copy the text item delimiters to OldDelims
   set the text item delimiters to {FindWhat}
    set TempList to every text item of ThisString
   set the text item delimiters to {ReplaceBy}
    set NewString to TempList as text
   set the text item delimiters to OldDelims
   return NewString as text
end FindReplace

I keep getting the same error, whatever I do: “Filemaker Pro got an error: object not found” on the first line

Any ideas ? I’m really dumbfounded on this one. I know that without having the DB at hand it’s not easy for you to help me troubleshoot this one, but maybe someone has run into this kind of mess before I did (we have put off moving to the latest version of FMP for some time now...).
Is there some kind of reverse engineering I could do to at least select a cell and retrieve it’s reference and data in Script Editor?


Cordialement,

j.

Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva

T+4122 840 3272
F+4122 840 3271

www.studiocasagrande.com

P Please consider the environment before printing this email.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40pen-tec.com
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Scripting Filemaker 8.5.. (HEEELP) (From: Jay Louvion <email@hidden>)

  • Prev by Date: Scripting Filemaker 8.5.. (HEEELP)
  • Next by Date: Re: Scripting Filemaker 8.5.. (HEEELP)
  • Previous by thread: Scripting Filemaker 8.5.. (HEEELP)
  • Next by thread: Re: Scripting Filemaker 8.5.. (HEEELP)
  • Index(es):
    • Date
    • Thread