Finding active folder - how?

This is a discussion on Finding active folder - how? within the lotus-notes-programmer forums in Other Technologies category; Hi! How can I find the active, aka selected folder? I want to write a script putting selected documents into an other folder, then remove them from the originating folder. 'doc.putinfolder( folder )' does the first, but I have to know the name of the folder the user is in to use 'doc.removefromfolder( ??? )'. I do not have a clue how I find this name. Any hints? Or is there a method I can use without this knowledge? -- Thomas Remove the 'X' to make my mail address work!...

Go Back   Database Forum > Other Technologies > lotus-notes-programmer

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-10-2004, 05:45 PM
Default Finding active folder - how?

Hi!

How can I find the active, aka selected folder?
I want to write a script putting selected documents into an
other folder, then remove them from the originating folder.

'doc.putinfolder("folder")' does the first, but I have to know
the name of the folder the user is in to use
'doc.removefromfolder("???")'.

I do not have a clue how I find this name. Any hints? Or is
there a method I can use without this knowledge?

--
Thomas
Remove the 'X' to make my mail address work!
Reply With Quote
  #2  
Old 02-10-2004, 08:21 PM
Default Re: Finding active folder - how?

Set notesUIView = notesUIWorkspace.CurrentView

Check the manual from there

"Thomas Schweikle" wrote in message
news:1076449644.592556-at-xcnlm00s.fag.fiducia.de...
> Hi!
>
> How can I find the active, aka selected folder?
> I want to write a script putting selected documents into an
> other folder, then remove them from the originating folder.
>
> 'doc.putinfolder("folder")' does the first, but I have to know
> the name of the folder the user is in to use
> 'doc.removefromfolder("???")'.
>
> I do not have a clue how I find this name. Any hints? Or is
> there a method I can use without this knowledge?
>
> --
> Thomas
> Remove the 'X' to make my mail address work!



Reply With Quote
  #3  
Old 02-12-2004, 05:05 PM
Default Re: Finding active folder - how?

Larry wrote:
> Set notesUIView = notesUIWorkspace.CurrentView


Thanks! This was the thing I've searched for, unable to find it!

--
Thomas
Remove the 'X' to make my mail address work!
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 09:19 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.