Renaming & Saving Your File: A Step-by-Step Guide Using EmEditor's Features

Renaming & Saving Your File: A Step-by-Step Guide Using EmEditor's Features

Joseph Lv8

Renaming & Saving Your File: A Step-by-Step Guide Using EmEditor’s Features

Viewing 5 posts - 1 through 5 (of 5 total)

  • Author
    Posts
  • October 28, 2008 at 1:47 pm #6496
    LuK
    Member
    Hi everybody,
    could anybody tell me, how it´s possible to save a document into a new path with new filename in a macro?
    The following values opens only the Save As dialog box:
    fileName = “de020076o$tempMakeOfflinefilelist.txt”
    document.Save [FileName ]
    or
    fileName = “filelist.txt”
    document.Save [FileName ]
    Thx and regards
    Thorsten
    October 29, 2008 at 12:06 am #6500
    Yutaka Emura
    Keymaster

    LuK wrote:
    Hi everybody,

    could anybody tell me, how it´s possible to save a document into a new path with new filename in a macro?

    The following values opens only the Save As dialog box:

    fileName = “de020076o$tempMakeOfflinefilelist.txt”
    document.Save [FileName ]

    or

    fileName = “filelist.txt”
    document.Save [FileName ]

    Thx and regards
    Thorsten
    document.Save [Filename] should work. Is this VBScript or JavaScript?
    October 29, 2008 at 9:35 am #6501
    LuK
    Member
    It´s an VBS Macro and I also tried to open and save into a local directory, but this also displayes the Save as dialog box.
    regards
    Thorsten
    October 30, 2008 at 8:33 am #6508
    Yutaka Emura
    Keymaster
    Yutaka wrote:

    LuK wrote:
    Hi everybody,

    could anybody tell me, how it´s possible to save a document into a new path with new filename in a macro?

    The following values opens only the Save As dialog box:

    fileName = “de020076o$tempMakeOfflinefilelist.txt”
    document.Save [FileName ]

    or

    fileName = “filelist.txt”
    document.Save [FileName ]

    Thx and regards
    Thorsten

    document.Save [Filename] should work. Is this VBScript or JavaScript?
    I don’t know why you have this issue. You should make sure the destination folder is not write-protected. The above macros should not prompt a Save As dialog box if the folder is not read-only.
    October 31, 2008 at 6:56 am #6512
    LuK
    Member
    The folder is´nt write protected. But in all cases (store on local temp directory (C:temp) and on network share) the save as dialog box appears. :-(

  • Author
    Posts

Viewing 5 posts - 1 through 5 (of 5 total)

  • You must be logged in to reply to this topic.

Also read:

https://techidaily.com
  • Title: Renaming & Saving Your File: A Step-by-Step Guide Using EmEditor's Features
  • Author: Joseph
  • Created at : 2024-11-07 16:56:47
  • Updated at : 2024-11-12 17:26:59
  • Link: https://win-news.techidaily.com/renaming-and-saving-your-file-a-step-by-step-guide-using-emeditors-features/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Renaming & Saving Your File: A Step-by-Step Guide Using EmEditor's Features