Jump to content

h2o.be

Members
  • Posts

    53
  • Joined

  • Last visited

Everything posted by h2o.be

  1. 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. 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. 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. 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. 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. Juste "name" set theuser to name of current user
  7. 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. 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. 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. 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. xsl:decimal-format does not work in FileMaker 6 nor filemaker 7
  13. 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. >> 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.
  16. activate do menu menu item "Accounts & Privileges
  17. Not open "database", but open alias "the full path" or open file "the full path" the full path, example : "Macintosh HD:Users:Me:Documents:FileMaker doc's:Mydatabase.fp7"
  18. You can also use Applescript : Tell application "the_name_of_the_application" to activate
  19. On a Mac, use the "Send Event" command (in the Miscellaneous script steps)
  20. Here a xslt file who put each "requestID" atribut into a FileMaker field. Dflyreturn.xsl.zip
  21. h2o.be

    iPhoto xslt

    3 files iphotoAlbumName.xslt , iphotoKeylist.xslt , iphotoPath.xslt. Import from the same users/~/Images/iPhoto Library/AlbumData.xml file all the information to buld a relational database. iphoto3xsl.zip
  22. h2o.be

    iPhoto xslt

    Post deleted by h2o.be
  23. h2o.be

    iPhoto xslt

    Post deleted by h2o.be
  24. http://www.filemaker.com/technologies/xslt_library.html
  25. For export and transform, the DSO format is not a problem. Of cours, FileMaker has deprecated the DSO result format, but this format still exist... so you can use it : it is indeed more easier to use. For import xml file : you must transform the xml document to the "XML result format".
×
×
  • Create New...

Important Information

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