FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



Apr 7, 2014, 3:43 AM
1 Posts

Xpages Form closes on Lotus 8.5.3 but not closing in Lotus 9 through agent.

  • Category: Debugging
  • Platform: All
  • Release: All
  • Role: Developer
  • Tags:
  • Replies: 1

Hi All,

I am developing/ working on the xPages client application & facing one issue on Lotus 9.0. , while it is working fine on Lotus notes 8.5.3

I have below mentioned Lotus Script Agent called on xPages Client.

It is on the button event and xPage form open in new window i.e. on 2nd tab

Dim objShell
Set objShell=CreateObject("WScript.Shell")
objShell.SendKeys("{F5}")
objShell.SendKeys("{ESC}")

This script working on Lotus 8.5.3 client, however it is not working on Lotus 9.0 client.

Even if I manually press ‘F5’ key and press ‘ESC’ key on keyboard it is not working on Lotus 9.0, while it works on Lotus 8.5.3.

Kindly note that this application is working on Windows as well as MAC  system

Please help me out,

Thanks in advance

Apr 13, 2014, 3:58 PM
170 Posts
Window.close

Notes 9 Has a notes.ini param if that is set you can use window.close()

 

XPagesXulAllowScriptsToCloseWindows=1

 

FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.