Selvtak, jeg har fundet et script som kan finde ud af at manipulere med Outlook, det hedder shout.wsf, det kan vise/gemme outlook, det sammen med et af de utallige DDE eksempler, burde kunne kobineres til noget fornuftigt du kan bruge....
Shout.wsf start :
-------------------------------------------------------
<?xml version="1.0"?>
<package>
<comment>
This script will show or hide MS Outlook
Click it once and Outlook is visible. Click it again, and it's out of the way!
For more scripts like this, visit
http://www.wshscripting.com
</comment>
<job id="shout">
<reference id="1" guid="{00062FFF-0000-0000-C000-000000000046}" version="9.0"/>
<object id="Application" progid="Outlook.Application"/>
<script id="shout" language="JScript">
<![CDATA[
try
{
var ol = GetObject('', 'Outlook.Application');
}
catch (e)
{
var ol = WScript.CreateObject('Outlook.Application');
}
var ns = ol.GetNameSpace("MAPI");
try
{
if(ol.Explorers.Count > 1)
{
ol.ActiveExplorer.Close();
}
else
{
ol.ActiveExplorer.Display();
ol.Explorers.Add(ns.GetDefaultFolder(6),0);
}
}
catch (e)
{
ns.GetDefaultFolder(6).Display();
}
]]>
</script>
</job>
</package>
-------------------------------end shout.wsf----------------------------------