Compartilhar via

It is not possible to set the signature as default

Anônima
2023-09-18T19:36:52+00:00

I created a script and it creates the signature but does not set it as default

I tried to create it using PowerShell and it wasn't possible because I couldn't find regedit MailSettings on the machine.

{

 Set objSelection = objDoc.Range()

 objSignatureEntries.Add strNomeArq,  objSelection

 objSignatureObject.NewMessageSignature = strNomeArq

 objSignatureObject.ReplyMessageSignature = strNomeArq

 objDoc.Saved = True

 objWord.Quit

}
Microsoft 365 e Office | Instalar, resgatar, ativar | Para empresas | Outro

Pergunta bloqueada. Essa pergunta foi migrada da Comunidade de Suporte da Microsoft. É possível votar se é útil, mas não é possível adicionar comentários ou respostas ou seguir a pergunta.

0 comentários Sem comentários

2 respostas

Classificar por: Mais útil
  1. Anônima
    2023-09-18T19:52:50+00:00

    but it was working, why did it stop?

    How should I do it automatically?
    

    Esta resposta foi útil?

    0 comentários Sem comentários
  2. Dio Xavier 286.9K Pontos de reputação Moderador Voluntário
    2023-09-18T19:47:54+00:00

    Welcome to Microsoft Community

    I'm sorry to hear that you're having trouble setting your signature as default. Unfortunately, it is not possible to set a signature as default using a script or PowerShell. The default signature must be set manually within the Microsoft 365 or Office application settings.

    Regarding the issue with not finding the MailSettings in regedit, it is possible that the registry key is located in a different location or has been renamed.

    Esta resposta foi útil?

    0 comentários Sem comentários