A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Script w/relative path that sends absolute path to a folder to theclipboard?



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old March 20th 09, 01:41 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 2
Default Script w/relative path that sends absolute path to a folder to theclipboard?

I carry around my Outlook files with me on my USB flash drive, these
include the outcmd.dat and VbaProject.OTM, etc. I was hoping to
emulate the following type of script (done up in a freeware language
called AutoIt, for those not familiar with the syntax) that gives an
example of one of the paths of Outlook that is easily sent to the
clipboard no matter what computer I am or what the user profile
directory happens to be on the host computer:



ClipPut(@UserProfileDir & "\Application Data\Microsoft\Stationery")



[@UserProfileDir is a poweful tool to use in this language since you
get results with it no matter what.]


I was wondering what the above could be translated into vb so that I
can create other scripts based on that translation, using it as an
example ... ? Can this even be done in vb?

I have these types of AutoIt scripts outside of Outlook and other
office programs and use them all the time but would actually prefer to
have the 3 or so that I use strictly for Outlook saved within the
Outlook OTM scripts file itself and attached to buttons on the
interface. It just would make everything a couple of steps easier
since I would then have immediate access to the information as it'd be
a button click away right there.

Thanks!
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
change the cache mode path (.ost file path) bln-ami Outlook - Installation 0 July 18th 06 08:45 AM
MailItem Folder Path Fox via OfficeKB.com Outlook and VBA 1 July 7th 06 02:39 PM
Getting an Outlook folder using a path Paddy Outlook and VBA 2 May 25th 06 09:32 PM
Getting a folder give a path Paddy Outlook and VBA 4 May 25th 06 08:53 PM
absolute as opposed to relative links auto-insterted in emails JR Outlook - General Queries 2 May 23rd 06 06:27 AM


All times are GMT +1. The time now is 03:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.