Jump to content

Search the Community

Showing results for tags 'doc'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • Forum FAQ
  • AutoIt

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. I have a RichEdit and the content of said Edit should be saved to a .doc file. I already found the Word User Defined Functions (http://www.autoitscript.com/autoit3/docs/libfunctions/Word%20Management.htm), but I can't seem to find a way to actually write to that file. This is the code I have: $MyDocsFolder = "::{450D8FBA-AD25-11D0-98A8-0800361B1103}" $where= FileSaveDialog("Plan Speichern", $MyDocsFolder,"Microsoft Word Dokumente (*.doc)", 2) If StringInStr($where,".doc") Then $word = _Word_Create(false,true) $doc = _Word_DocAdd($word) _Word_DocSaveAs($doc,$where) $infile = _GUICtrlRichEdit_StreamToFile($Edit1, $where) ;this is what I tried _Word_DocSave($doc) _Word_DocClose($doc) _Word_Quit($word) Else $wohinexport = $wohinexport & ".doc" $word = _Word_Create(false,true) $doc = _Word_DocAdd($word) _Word_DocSaveAs($doc,$where) $infile = _GUICtrlRichEdit_StreamToFile($Edit1, $where) _Word_DocSave($doc) _Word_DocClose($doc) _Word_Quit($word) EndIf If anyone could thell me what the correct function is to write to that document, I would be so happy Thank you, Reinhardt1julian
×
×
  • Create New...