Results 1 to 5 of 5

Thread: Coding tip: Viewing word, excel, PDF etc documents

  1. #1
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,259

    Coding tip: Viewing word, excel, PDF etc documents

    Did you know that the SHOWDOCUMENT( expC ) function will render the filename specified using its association on the desktop. e.g.

    Code:
    showDocument("c:\mydir\myspreadsheet.xls")
    You can also send email using your default email client like this:

    Code:
    showDocument("mailto:user@foo.com?subject=Test&body=Just a test")

  2. #2
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,893
    great, I can also add files to the mail?
    or add commands like:
    showDocument ("c: \ mydir \ myspreadsheet.xls", "print")?

  3. #3
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,259
    Quote Originally Posted by phabio View Post
    great, I can also add files to the mail?
    or add commands like:
    showDocument ("c: \ mydir \ myspreadsheet.xls", "print")?
    No, you can use OLE/ActiveX in beta8 so you can "talk" directly with Excel.

  4. #4
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,259
    To email files as attachments use the SENDMAIL( ) built-in function.

  5. #5
    Senior Member
    Join Date
    Apr 2013
    Location
    Soledad, Atlántico, Colombia
    Posts
    117
    Thanks

    Victor Navarro
    Barranquilla, COLOMBIA
    3008102508
    ICQ 279 364 380
    Face: +573008102508
    MSN: eres_un_vago@hotmail.com
    Mail: eres_un_vago@yahoo.es
    Whatsapp: +573008102508
    Skype: eres_un_vago
    PIN: 7A3F5E60

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us