PC Review


Reply
Thread Tools Rate Thread

automatic script

 
 
=?Utf-8?B?UiBD?=
Guest
Posts: n/a
 
      9th May 2007
Hi,
i want to create a script that does the following;
i receive an email daily with an attachment.
i want to save this attachment as a specific filename in a specific location
automatically.
anyone know how to do this?
please advise
 
Reply With Quote
 
 
 
 
Roady [MVP]
Guest
Posts: n/a
 
      9th May 2007
You can do this with tweaking the code posted at;
http://www.howto-outlook.com/howto/s...edpictures.htm

Changing the following line;
Sub SaveAttachment (Item As Outlook.MailItem)

And replace the selection check with;
Set MySelectedItem = Item

You can specify a folder path in the variable FolderPath

You can then create a rule and choose to run a script. In the popup you
would be able to select the macro.

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

-----
"R C" <(E-Mail Removed)> wrote in message
news:CE5A047C-82AA-4C66-88F9-(E-Mail Removed)...
> Hi,
> i want to create a script that does the following;
> i receive an email daily with an attachment.
> i want to save this attachment as a specific filename in a specific
> location
> automatically.
> anyone know how to do this?
> please advise


 
Reply With Quote
 
=?Utf-8?B?UiBD?=
Guest
Posts: n/a
 
      9th May 2007
this helps a lot. now i don't see it in the "scripts" dropdown. i created
it in the macro and i stepped through the code. it worked very well. now,
how do i resolve this?

"Roady [MVP]" wrote:

> You can do this with tweaking the code posted at;
> http://www.howto-outlook.com/howto/s...edpictures.htm
>
> Changing the following line;
> Sub SaveAttachment (Item As Outlook.MailItem)
>
> And replace the selection check with;
> Set MySelectedItem = Item
>
> You can specify a folder path in the variable FolderPath
>
> You can then create a rule and choose to run a script. In the popup you
> would be able to select the macro.
>
> --
> Robert Sparnaaij [MVP-Outlook]
> Coauthor, Configuring Microsoft Outlook 2003
> http://www.howto-outlook.com/
> Outlook FAQ, HowTo, Downloads, Add-Ins and more
>
> -----
> "R C" <(E-Mail Removed)> wrote in message
> news:CE5A047C-82AA-4C66-88F9-(E-Mail Removed)...
> > Hi,
> > i want to create a script that does the following;
> > i receive an email daily with an attachment.
> > i want to save this attachment as a specific filename in a specific
> > location
> > automatically.
> > anyone know how to do this?
> > please advise

>

 
Reply With Quote
 
Roady [MVP]
Guest
Posts: n/a
 
      9th May 2007
Create a rule and and then set the action to run a script. With the code
modifications you can now select this script so it can run fully automated
based on the conditions you set in the rule.

That's what you wanted to achieve, right?

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

-----
"R C" <(E-Mail Removed)> wrote in message
news:01865B5F-A8C9-4353-AE28-(E-Mail Removed)...
> this helps a lot. now i don't see it in the "scripts" dropdown. i
> created
> it in the macro and i stepped through the code. it worked very well.
> now,
> how do i resolve this?
>
> "Roady [MVP]" wrote:
>
>> You can do this with tweaking the code posted at;
>> http://www.howto-outlook.com/howto/s...edpictures.htm
>>
>> Changing the following line;
>> Sub SaveAttachment (Item As Outlook.MailItem)
>>
>> And replace the selection check with;
>> Set MySelectedItem = Item
>>
>> You can specify a folder path in the variable FolderPath
>>
>> You can then create a rule and choose to run a script. In the popup you
>> would be able to select the macro.
>>
>> --
>> Robert Sparnaaij [MVP-Outlook]
>> Coauthor, Configuring Microsoft Outlook 2003
>> http://www.howto-outlook.com/
>> Outlook FAQ, HowTo, Downloads, Add-Ins and more
>>
>> -----
>> "R C" <(E-Mail Removed)> wrote in message
>> news:CE5A047C-82AA-4C66-88F9-(E-Mail Removed)...
>> > Hi,
>> > i want to create a script that does the following;
>> > i receive an email daily with an attachment.
>> > i want to save this attachment as a specific filename in a specific
>> > location
>> > automatically.
>> > anyone know how to do this?
>> > please advise

>>


 
Reply With Quote
 
=?Utf-8?B?UiBD?=
Guest
Posts: n/a
 
      9th May 2007
i did these steps. when i click on 'script' to select the script and i get
the box listing of scripts, it's not listed. The box is blank so i can't
select any script.
help please

"Roady [MVP]" wrote:

> Create a rule and and then set the action to run a script. With the code
> modifications you can now select this script so it can run fully automated
> based on the conditions you set in the rule.
>
> That's what you wanted to achieve, right?
>
> --
> Robert Sparnaaij [MVP-Outlook]
> Coauthor, Configuring Microsoft Outlook 2003
> http://www.howto-outlook.com/
> Outlook FAQ, HowTo, Downloads, Add-Ins and more
>
> -----
> "R C" <(E-Mail Removed)> wrote in message
> news:01865B5F-A8C9-4353-AE28-(E-Mail Removed)...
> > this helps a lot. now i don't see it in the "scripts" dropdown. i
> > created
> > it in the macro and i stepped through the code. it worked very well.
> > now,
> > how do i resolve this?
> >
> > "Roady [MVP]" wrote:
> >
> >> You can do this with tweaking the code posted at;
> >> http://www.howto-outlook.com/howto/s...edpictures.htm
> >>
> >> Changing the following line;
> >> Sub SaveAttachment (Item As Outlook.MailItem)
> >>
> >> And replace the selection check with;
> >> Set MySelectedItem = Item
> >>
> >> You can specify a folder path in the variable FolderPath
> >>
> >> You can then create a rule and choose to run a script. In the popup you
> >> would be able to select the macro.
> >>
> >> --
> >> Robert Sparnaaij [MVP-Outlook]
> >> Coauthor, Configuring Microsoft Outlook 2003
> >> http://www.howto-outlook.com/
> >> Outlook FAQ, HowTo, Downloads, Add-Ins and more
> >>
> >> -----
> >> "R C" <(E-Mail Removed)> wrote in message
> >> news:CE5A047C-82AA-4C66-88F9-(E-Mail Removed)...
> >> > Hi,
> >> > i want to create a script that does the following;
> >> > i receive an email daily with an attachment.
> >> > i want to save this attachment as a specific filename in a specific
> >> > location
> >> > automatically.
> >> > anyone know how to do this?
> >> > please advise
> >>

>
>

 
Reply With Quote
 
=?Utf-8?B?UiBD?=
Guest
Posts: n/a
 
      9th May 2007
hi,
i figured it out from another posting. i added a mailitem parameter to the
procedure and it showed up in the script box.
thanks


"R C" wrote:

> i did these steps. when i click on 'script' to select the script and i get
> the box listing of scripts, it's not listed. The box is blank so i can't
> select any script.
> help please
>
> "Roady [MVP]" wrote:
>
> > Create a rule and and then set the action to run a script. With the code
> > modifications you can now select this script so it can run fully automated
> > based on the conditions you set in the rule.
> >
> > That's what you wanted to achieve, right?
> >
> > --
> > Robert Sparnaaij [MVP-Outlook]
> > Coauthor, Configuring Microsoft Outlook 2003
> > http://www.howto-outlook.com/
> > Outlook FAQ, HowTo, Downloads, Add-Ins and more
> >
> > -----
> > "R C" <(E-Mail Removed)> wrote in message
> > news:01865B5F-A8C9-4353-AE28-(E-Mail Removed)...
> > > this helps a lot. now i don't see it in the "scripts" dropdown. i
> > > created
> > > it in the macro and i stepped through the code. it worked very well.
> > > now,
> > > how do i resolve this?
> > >
> > > "Roady [MVP]" wrote:
> > >
> > >> You can do this with tweaking the code posted at;
> > >> http://www.howto-outlook.com/howto/s...edpictures.htm
> > >>
> > >> Changing the following line;
> > >> Sub SaveAttachment (Item As Outlook.MailItem)
> > >>
> > >> And replace the selection check with;
> > >> Set MySelectedItem = Item
> > >>
> > >> You can specify a folder path in the variable FolderPath
> > >>
> > >> You can then create a rule and choose to run a script. In the popup you
> > >> would be able to select the macro.
> > >>
> > >> --
> > >> Robert Sparnaaij [MVP-Outlook]
> > >> Coauthor, Configuring Microsoft Outlook 2003
> > >> http://www.howto-outlook.com/
> > >> Outlook FAQ, HowTo, Downloads, Add-Ins and more
> > >>
> > >> -----
> > >> "R C" <(E-Mail Removed)> wrote in message
> > >> news:CE5A047C-82AA-4C66-88F9-(E-Mail Removed)...
> > >> > Hi,
> > >> > i want to create a script that does the following;
> > >> > i receive an email daily with an attachment.
> > >> > i want to save this attachment as a specific filename in a specific
> > >> > location
> > >> > automatically.
> > >> > anyone know how to do this?
> > >> > please advise
> > >>

> >
> >

 
Reply With Quote
 
Roady [MVP]
Guest
Posts: n/a
 
      10th May 2007
Yes, I posted that in my instructions as well.

Sub SaveAttachment (Item As Outlook.MailItem)

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

-----
"R C" <(E-Mail Removed)> wrote in message
news:6A96A424-3F32-4D67-A6F2-(E-Mail Removed)...
> hi,
> i figured it out from another posting. i added a mailitem parameter to
> the
> procedure and it showed up in the script box.
> thanks
>
>
> "R C" wrote:
>
>> i did these steps. when i click on 'script' to select the script and i
>> get
>> the box listing of scripts, it's not listed. The box is blank so i can't
>> select any script.
>> help please
>>
>> "Roady [MVP]" wrote:
>>
>> > Create a rule and and then set the action to run a script. With the
>> > code
>> > modifications you can now select this script so it can run fully
>> > automated
>> > based on the conditions you set in the rule.
>> >
>> > That's what you wanted to achieve, right?
>> >
>> > --
>> > Robert Sparnaaij [MVP-Outlook]
>> > Coauthor, Configuring Microsoft Outlook 2003
>> > http://www.howto-outlook.com/
>> > Outlook FAQ, HowTo, Downloads, Add-Ins and more
>> >
>> > -----
>> > "R C" <(E-Mail Removed)> wrote in message
>> > news:01865B5F-A8C9-4353-AE28-(E-Mail Removed)...
>> > > this helps a lot. now i don't see it in the "scripts" dropdown. i
>> > > created
>> > > it in the macro and i stepped through the code. it worked very well.
>> > > now,
>> > > how do i resolve this?
>> > >
>> > > "Roady [MVP]" wrote:
>> > >
>> > >> You can do this with tweaking the code posted at;
>> > >> http://www.howto-outlook.com/howto/s...edpictures.htm
>> > >>
>> > >> Changing the following line;
>> > >> Sub SaveAttachment (Item As Outlook.MailItem)
>> > >>
>> > >> And replace the selection check with;
>> > >> Set MySelectedItem = Item
>> > >>
>> > >> You can specify a folder path in the variable FolderPath
>> > >>
>> > >> You can then create a rule and choose to run a script. In the popup
>> > >> you
>> > >> would be able to select the macro.
>> > >>
>> > >> --
>> > >> Robert Sparnaaij [MVP-Outlook]
>> > >> Coauthor, Configuring Microsoft Outlook 2003
>> > >> http://www.howto-outlook.com/
>> > >> Outlook FAQ, HowTo, Downloads, Add-Ins and more
>> > >>
>> > >> -----
>> > >> "R C" <(E-Mail Removed)> wrote in message
>> > >> news:CE5A047C-82AA-4C66-88F9-(E-Mail Removed)...
>> > >> > Hi,
>> > >> > i want to create a script that does the following;
>> > >> > i receive an email daily with an attachment.
>> > >> > i want to save this attachment as a specific filename in a
>> > >> > specific
>> > >> > location
>> > >> > automatically.
>> > >> > anyone know how to do this?
>> > >> > please advise
>> > >>
>> >
>> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Script Box Always Checked KenV Windows XP Internet Explorer 4 9th Dec 2006 03:56 AM
Use Automatic Configuration Script is always checked =?Utf-8?B?V2Vz?= Windows XP Internet Explorer 0 10th Oct 2006 08:01 PM
IE 6 use automatic configuration script =?Utf-8?B?bWF0dGZmcm9zdA==?= Windows XP Internet Explorer 1 18th Sep 2004 06:54 PM
Automatic Configuration Script Jeff Windows XP Internet Explorer 1 25th Sep 2003 11:56 PM
But not automatic configuration script Nicholas Aquino Microsoft Windows 2000 Group Policy 1 11th Sep 2003 08:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:08 PM.