M
mj.redfox.mj
I'm trying to use a VbScript to generate Outlook tasks for Windows
network users. I've been using the following code so far:
dim ol
dim olTask
set ol=createobject("Outlook.Application")
set olTask=ol.CreateItem(3)
with olTask
.DueDate="03/04/2006"
.Subject="Any Subject"
.Body="Any Body"
.Recipients.Add "<Recipient Name>"
.Assign
.send
end with
set ol=nothing
set olTask=nothing
However, If I use this method, I get the following prompt: 'A program
is trying to access e-mail addresses you have stored in Outlook. Do you
want to allow this?'
Only after clicking 'Yes' several times does the process continue.
I was wondering if anyone was able to answer me two questions:
1. Is it possible to somehow get around this prompt and just create the
task without Outlook asking permission? I know that using an add-in
called Outlook Redemption can help with this, but I really need to find
another way without resorting to this?
2. Even when the prompt is accepted, only an Outlook task INVITATION is
created, rather than the task itself. Is there any way of creating a
task using this kind of script, or would it always be an invitation?
Thank you if anyone is able to help!
network users. I've been using the following code so far:
dim ol
dim olTask
set ol=createobject("Outlook.Application")
set olTask=ol.CreateItem(3)
with olTask
.DueDate="03/04/2006"
.Subject="Any Subject"
.Body="Any Body"
.Recipients.Add "<Recipient Name>"
.Assign
.send
end with
set ol=nothing
set olTask=nothing
However, If I use this method, I get the following prompt: 'A program
is trying to access e-mail addresses you have stored in Outlook. Do you
want to allow this?'
Only after clicking 'Yes' several times does the process continue.
I was wondering if anyone was able to answer me two questions:
1. Is it possible to somehow get around this prompt and just create the
task without Outlook asking permission? I know that using an add-in
called Outlook Redemption can help with this, but I really need to find
another way without resorting to this?
2. Even when the prompt is accepted, only an Outlook task INVITATION is
created, rather than the task itself. Is there any way of creating a
task using this kind of script, or would it always be an invitation?
Thank you if anyone is able to help!