Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

While opening a doc distiction between a preview and a normal open in Lotus script

Posted on 2003-11-26
2
Medium Priority
?
219 Views
Last Modified: 2013-12-18
Hi,
I want to put some code in the postopen event of a document but I have to execute different code depending on if the document is being opened by previewing or the normal way. Do you know, in Lotus Script, how to get the way that the current doc is opened?

Thanks,
Koray.
0
Comment
Question by:koray_uygun
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Accepted Solution

by:
CRAK earned 200 total points
ID: 9824112
In PostOpen, you already have the NotesUIDocument (as "Source") available.
NotesUIDocument has a property InPreviewpane (True/False). So:

If Source.InPreviewFrame then
   ' put your code to execute in preview here
Else
   ' put your code to execute in normal mode here
End if
0
 

Author Comment

by:koray_uygun
ID: 9824160
Thank you very much
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question