Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


ggt667 last won the day on June 6 2017

ggt667 had the most liked content!

Community Reputation

8 Neutral

About ggt667

  • Rank
    Street Stupid, Nerd Stupid, Geek Wiz

Profile Information

  • Title
    Philosopher, Partner, and Keyboard Masseur
  • Industry
    Logistics, horticulture production
  • Gender
  • Location
  • Interests
    Trikke T12 Roadster, bouldering, DIY woodwork

Contact Methods

  • Website URL
  • Skype
  • MSN
    iMessage: ggt667@me.com and FaceTime

FileMaker Experience

  • Skill Level
  • FM Application
    16 Advanced

Platform Environment

  • OS Platform
  • OS Version
    OS X, Arch linux, Joyent SmartOS, iOS

Recent Profile Visitors

7,515 profile views
  1. I gave this( https://filemakerhacks.com/2017/05/09/export-field-contents-update-for-fm-16/ ) a shot. Set Field[ myTable::ExportFldContainer; TextEncode( GetLayoutObjectAttribute( "SomeMergeFieldObject", "content" ); "utf-8"; 3 ) ] The value of `myTable::ExportFldContainer` is "utf-8" Also the following yields the same proceeds Set Field[ myTable::LayoutObjectContent; GetLayoutObjectAttribute( "SomeMergeFieldObject", "content" ) ] Set Field[ myTable::Output; TextEncode( myTable::LayoutObjectContent; "utf-8"; 3 ) ]
  2. As that's the way it's already implemented, doing the reformatting in FileMaker does not really do it better; or worse. In which case would one ever benefit from using \r as line break and UCS-16 or UTF-16 as encoding? It makes regular text double the size. In my case I have just below 200 nginx vhost files, there is about 20 of them pr solution and development, testing and production for each.
  3. Thanks, then "AppleScript DoShellScript()" it is If I should ever run the solution on Windows, I may look into the way you describe.
  4. You mention some workaround inside FileMaker? Similar to this one: https://filemakerhacks.com/2017/05/09/export-field-contents-update-for-fm-16/ Poor Beverly, That's not a fix, it's an insult to people's intelligence. From what you write I assume there is no way to set the line breaks and encoding of the Export Field Contents?
  5. I have built CI tools in FileMaker for generating config files for services such as postgres, nginx, apache, and others. It all looks good, however the output is UTF-16 with some odd line breaks, Windows-like? $ exa -T sites-available sites-available ├── api.domain.tld ├── document.domain.tld ├── filemaker.domain.tld ├── graphql.domain.tld ├── rest.domain.tld ├── soap.domain.tld ├── webrtc.domain.tld ├── www.domain.tld └── www2.domain.tld Is there a way to set the settings for these export field contents as UTF-8 with regular unix line breaks? Even though this is written to a local folder on a workstation git handles the transfer to the server itself. Right now I have to do on a Mac or in unix/linux quite simply( published the one liner on gist: https://gist.github.com/TyrfingMjolnir/17e5f7de32ba6b36964622a2d0e1392b 😞 iconv -f UTF-16 -t UTF-8 sites-available/api.domain.tld | tr "\r" "\n" however for Windows not necessarily that easily before I do git push
  6. Private keys should never ever leave the owning user's home directory. Ideally you should use a memory stick for your keys, and only copy the public key to your computer. Put the memory stick in a physical safe.
  7. Perfect! Did you chmod the private key to only match your user? chmod 700 private.key What is the purpose of your signing process? Authenticity( making sure the data is not tampered with and is from you ) or for no one else to see the content.
  8. How did you make the keys?
  9. <?php $request->setField( 'WBForm_Comments', var_dump( $_POST ) ); ?> or if you just would like the web form field names: <?php unset( $tmp ); foreach( $_POST as $k => $v ) { $tmp[] = $k; } $request->setField( 'WBForm_Comments', implode( $tmp, ', ' ) ); ?>
  10. It's impossible to answer your question with the amount of data you have provided; however your post makes me wonder: Why do you not use arrays? Using arrays will reduce that piece of code to 3 lines, opposed to 25 <input name="s[fieldname]"> <input name="s[fieldname2]"> <input name="s[fieldname3]"> <input name="s[fieldname4]"> <input name="s[fieldname5]"> <input name="s[fieldname6]"> Then filling in the FileMaker data can be done as follows <?php foreach( $_POST['s'] as $k => $v ) { $request->setField( $k, $v ); } ?> You may or may not want to do a conversion between the web form field name and the FileMaker one if your strategy is using obfuscation as a security measurement. To find out what is inside $_POST do the following <?php echo '<pre>'; var_dump( $_POST ); echo '</pre>'; ?>
  11. Sounds like you are looking for one of the examples in the FX.php package: http://fx.iviking.org/
  12. Here are the cURL command lines that I use the most; just translate these to php or any other language using cURL and you should be all set( omit the s, k, and L options for production use. ) : 1) Will list the available database. curl -s -u username:password -XPOST -kL "http://localhost:8080/fmi/xml/FMPXMLRESULT.xml?-dbnames" 2) Will add a new record with specified parameters. curl -s -u username:password -XPOST -kL "http://localhost:80/fmi/xml/FMPXMLRESULT.xml?-db=databasename&-lay=layoutName&-new&field1=contentOfField1&field2=contentOfField2" | tidy -i -xml -wrap 0 3) Will select a random record from the given database & table. curl -s -u username:password -XPOST -kL "http://localhost:80/fmi/xml/FMPXMLRESULT.xml?-db=databasename&-lay=layoutName&-findany" | tidy -i -xml -wrap 0 But if you would like simple, perhaps FX.php or phpFileMaker would do you good.
  13. Virtualization works well if you can live with a mouse pointer that works quite differently. FileMaker 11 Pro also works well in WINE: https://appdb.winehq.org/objectManager.php?sClass=version&iId=19727 Not sure why it was given a bronze score. The hitting enter stuff mentioned is only a feature when the correct fonts are not installed. $ brew info wine wine: stable 4.0 (bottled), HEAD Run Windows applications without a copy of Microsoft Windows https://www.winehq.org/ Not installed From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/wine.rb ==> Dependencies Build: cmake ✘, makedepend ✘, pkg-config ✔ ==> Requirements Build: macOS <= 10.12 ✘ Required: macOS >= 10.11 ✔ ==> Options --HEAD Install HEAD version ==> Caveats You may also want winetricks: brew install winetricks ==> Analytics install: 15,503 (30 days), 44,330 (90 days), 188,458 (365 days) install_on_request: 14,604 (30 days), 41,856 (90 days), 172,570 (365 days) build_error: 0 (30 days)
  • Create New...

Important Information

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