Jump to content

h2o.be

Members
  • Content count

    53
  • Joined

  • Last visited

Community Reputation

0 Neutral

About h2o.be

  • Rank
    member
  • Birthday 05/05/1959
  1. h2o.be

    Cannot Create New Record

    I have test the follow script : set thenumber to : 500 tell database "metaDataEntry.fp7" show layout "metaDataEntry" repeat thenumber times tell table "metaDataEntry" set thisRecord to create new record show thisRecord save end tell end repeat end tell And I have no error.
  2. h2o.be

    importing image in FM Pro

    You have to use "GraphicsImporter" osax. Then, you can use this script : set theimagepath to choose file set theimage to giconvert theimagepath tell application "FileMaker Pro" set cell "image" of current record to theimage end tell And the picture has be imported (not the reference only) into the container field named "image". Nota: I'm french to. If you prefere to use french to talking about FileMaker, look here : fmsource .
  3. h2o.be

    Applescript writing an HTML document

    Why using AppleScript to create a HTML documents. XML export with a XSL transformation is made for this kind of jobs . You have just to use AppleScript (or a plug-in, so the solution will be cross-platform) to rename the exported document.
  4. h2o.be

    Applescript writing an HTML document

    Why using AppleScript to create a HTML documents. XML export with a XSL transformation is made for this kind of jobs . You have just to use AppleScript (or a plug-in, so the solution will be cross-platform) to rename the exported document.
  5. h2o.be

    Applescript writing an HTML document

    Why using AppleScript to create a HTML documents. XML export with a XSL transformation is made for this kind of jobs . You have just to use AppleScript (or a plug-in, so the solution will be cross-platform) to rename the exported document.
  6. h2o.be

    Extract OS Username

    Juste "name" set theuser to name of current user
  7. h2o.be

    Extract OS Username

    Mac OS 10 tell application "System Events" set theuser to full name of current user end tell -- tell application "FileMaker Pro" set cell "name" of current record of layout "layout" to theuser -- end tell
  8. h2o.be

    Cell issues with FM7

    Do not use the "tell current record" statement, use set theID to ID of (current record) set theone to cell "ONE" of record ID theID of table "table name" set thetwo to cell "TWO" of record ID theID of table "table name"
  9. h2o.be

    Trying to do a search from outside

    the correct expression is : show (every record of table 1 of database 1 whose cell "Title" contains (text_returned as text))
  10. h2o.be

    xml export

    First, take a look at XSLT Library. There are several examples.
  11. h2o.be

    thousand separator with xsl

    I beleve you have test before you have post. I too ! In attachement : my (very simple) xml and xsl doc. When I test it with Oxygen, the number "1234.5" is tranformed to "1.234,50". When I drag and drop the xml document onto the FileMaker Developer 7.0v3 icon, using the xsl doc, the result = "1234.5" and that's not ok. number.zip
  12. h2o.be

    thousand separator with xsl

    xsl:decimal-format does not work in FileMaker 6 nor filemaker 7
  13. h2o.be

    Applescript calling using Skype

    First, you have to get the data for within the FP7 database tell application "FileMaker Pro" to set phonenumber to cell "Telephone" of current record of layout "Employees" then, use your "Skype" script. tell application "Skype" to get URL "callto:" & phonenumber do not use the word "PASTE' : it is the name of a AppleScript command. In a ScriptMaker "perform AppleScript" statement you can put : set phonenumber to cell "Telephone" of current record of layout "Employees" tell application "Skype" to get URL "callto:" & phonenumber
  14. In FMP 7, you have to say the name of the layout where to put the data : set cell "path" of current record of layout "x" to myfilepath
  15. h2o.be

    Define accounts and priviliges button

    >> However i seem to be getting a - 10000 error Indeed. Since all menu items are disabled while a ScriptMaker script is running, you cannot use the Do Menu event to select menu items when running your script using the Perform AppleScript ScriptMaker step. You have to create an application with fellow script tell application "FileMaker Pro" activate do menu menu item 4 of menu 8 of menu 2 end tell quit and activate it within a "send message" Scriptmaker step. Sorry for the mistake.
×

Important Information

By using this site, you agree to our Terms of Use.