Book a Demo

Author Topic: VBScript Session.Prompt title = tmp file  (Read 3835 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
VBScript Session.Prompt title = tmp file
« on: November 11, 2020, 03:05:22 am »
Hi,

Using Session.Prompt with VBScripts in EA displays a popup windows with a title matching a .tmp file in the user's AppData\Local\Temp\ folder.
Is there a way to set a title?

e.g.
If (Session.Prompt("Continue?", promptYESNO) = resultNo ) Then
   Exit Sub
end if   

Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: VBScript Session.Prompt title = tmp file
« Reply #1 on: November 11, 2020, 03:35:09 am »
I always use msgbox, much more flexible.

Geert

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: VBScript Session.Prompt title = tmp file
« Reply #2 on: November 11, 2020, 05:11:36 am »
Hi Guillaume,

Pretty sure the answer is no.
But I think it's worth a feature request. The current behaviour isn't particularly useful.

/Uffe
My theories are always correct, just apply them to the right reality.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: VBScript Session.Prompt title = tmp file
« Reply #3 on: November 16, 2020, 09:46:13 pm »
msgbox works well, thanks for the info Geert.
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com