Page 1 of 1 1
Topic Options
#198730 - 2010-05-28 04:01 AM Need Script for Oulook
JakM Offline
Just in Town

Registered: 2010-05-28
Posts: 3
Loc: USA
Hi Friends,

I am new to this board as well as KixArt. Actually I am looking script to find multiple profiles in Outlook and to verify if any profile is cache mode or not?

I don't know this is the right place for this request or not.

please help me if anybody has idea or having ready script.

Your help will highly appreciated.

Thanks in advance...

JakM

Top
#198731 - 2010-05-28 09:04 AM Re: Need Script for Oulook [Re: JakM]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4641
Loc: The Netherlands
You can check the registry for this.

 Quote:

Cached Exchange Mode is controlled by the following key;
[HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\<ProfileName>\13dbb0c8aa05101a9bb000aa002fc45a]

00036601 (REG_BINARY)

enabled value; 84 01 00 00
enabled with Public Folders/Favorites: 84 05 00 00
disabled value; 04 00 00 00

Please note that the “00036601″ registry key stores more connection settings that just wether or not Cached Exchange Mode is enabled. The values above are taken from a new mail profile with only the Cached Exchange Mode setting changed. If you’re going to deploy this registry key I recommend taking the value from a properly configured machine for your environment


http://www.howto-outlook.com/howto/cachedmoderegkey.htm
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#198732 - 2010-05-28 10:40 AM Re: Need Script for Oulook [Re: Mart]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4945
Loc: Leatherhead, Surrey, UK
This should work I think:
 Code:
BREAK ON

; Read cached exchange mode values.

$sKeyProfiles="HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles"
$sKeyExchange="13dbb0c8aa05101a9bb000aa002fc45a"
$sEntryCache="00036601"

$iIndex=0

$sProfile=EnumKey($sKeyProfiles,$iIndex)
While Not @ERROR
	$sValue=""
	$sValue=ReadValue($sKeyProfiles+"\"+$sProfile+"\"+$sKeyExchange,$sEntryCache)
	If $sValue
		$iByte=Execute("Exit &"+Left($sValue,1))
		$sProfile+": "+$sValue+" [cached mode is "+IIf(8 & $iByte,"on","off")+"]"+@CRLF
	EndIf
	$iIndex=$iIndex+1
	$sProfile=EnumKey($sKeyProfiles,$iIndex)
Loop

Top
#198739 - 2010-05-28 04:42 PM Re: Need Script for Oulook [Re: Richard H.]
JakM Offline
Just in Town

Registered: 2010-05-28
Posts: 3
Loc: USA
I tried to test this script on my pc with .kix extension.

Copied this script in notepad and save it .kix

What's the way to test/check the same.

Top
#198740 - 2010-05-28 04:44 PM Re: Need Script for Oulook [Re: JakM]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4641
Loc: The Netherlands
How to start a kix script?

path_to_kix32\kix32.exe path_to_your_script\scriptname.kix
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#198741 - 2010-05-28 04:46 PM Re: Need Script for Oulook [Re: JakM]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4945
Loc: Leatherhead, Surrey, UK
Have you run any KiXtart scripts before?

Have you download the KiXtart package?

Top
#198742 - 2010-05-28 04:53 PM Re: Need Script for Oulook [Re: Richard H.]
JakM Offline
Just in Town

Registered: 2010-05-28
Posts: 3
Loc: USA
No Sirs.. never...
let me try this ways

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (adamlevine) and 165 anonymous users online.
Newest Members
katherinknul, phamthuy, xuantu075, skygreen2031, amelindaróe
17629 Registered Users

Generated in 0.073 seconds in which 0.031 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org