<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ChadSmiley Blog &#187; Toolbar Functions</title>
	<atom:link href="http://chadsmiley.com/chadsmiley/tag/toolbar-functions/feed/" rel="self" type="application/rss+xml" />
	<link>http://chadsmiley.com/chadsmiley</link>
	<description>Things about family, life, coding, and more</description>
	<lastBuildDate>Mon, 16 Jan 2012 03:21:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Domino Memories</title>
		<link>http://chadsmiley.com/chadsmiley/2010/03/domino-memories/</link>
		<comments>http://chadsmiley.com/chadsmiley/2010/03/domino-memories/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 04:52:47 +0000</pubDate>
		<dc:creator>ChadSmiley</dc:creator>
				<category><![CDATA[Domino]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Toolbar Functions]]></category>

		<guid isPermaLink="false">http://chadsmiley.com/chadsmiley/?p=2004</guid>
		<description><![CDATA[Toolbar Functions, I can still picture when I would use each of these functions. This code saved me many times. I even created a screen cast of the features, wow! Does anyone still use this?]]></description>
			<content:encoded><![CDATA[<p><a href="/chadsmiley/2006/12/toolbar-functions-1-3-0">Toolbar Functions</a>,  I can still picture when I would use each of these functions.  This code saved me many times.  I even created a <a href="/chadsmiley/toolbar-functions-1-3-0-screencast">screen cast</a> of the features, wow!  Does anyone still use this?</p>
]]></content:encoded>
			<wfw:commentRss>http://chadsmiley.com/chadsmiley/2010/03/domino-memories/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Toolbar Functions 1.3.0</title>
		<link>http://chadsmiley.com/chadsmiley/2006/12/toolbar-functions-1-3-0/</link>
		<comments>http://chadsmiley.com/chadsmiley/2006/12/toolbar-functions-1-3-0/#comments</comments>
		<pubDate>Sun, 10 Dec 2006 16:00:00 +0000</pubDate>
		<dc:creator>ChadSmiley</dc:creator>
				<category><![CDATA[Domino]]></category>
		<category><![CDATA[Toolbar Functions]]></category>

		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1452</guid>
		<description><![CDATA[There are two new functions (Document Edit &#038; Document Open) with this release. I also updated the screencast explaining all of the functions. &#160;Thanks Johan for the new functions. Here are the current options: Agent Run Agent Run Current Database Path Database Replica ID Database Server Database Server &#38; Path Document Edit Document Open Edit [...]]]></description>
			<content:encoded><![CDATA[<p>There are two new functions (Document Edit &#038; Document Open) with this release.  I also updated the <a href="/chadsmiley/toolbar-functions-1-3-0-screencast">screencast</a> explaining all of the functions. &nbsp;Thanks <a href="http://johankanngard.net" title="Johan Känngård">Johan</a> for the new functions.</p>
<p> Here are the current options:</p>
<ul>
<li>Agent Run</li>
<li>Agent Run Current</li>
<li>Database Path</strong></li>
<li>Database Replica ID</li>
<li>Database Server</li>
<li>Database Server &amp; Path</li>
<li><strong>Document Edit</strong></li>
<li><strong>Document Open</strong></li>
<li>Edit Profile Document</li>
<li>Formula Evaluate</li>
<li>Get Environment Value</li>
<li>Link Message</li>
<li>Note ID</li>
<li>Parent UNID</li>
<li>Refresh Selected Documents</li>
<li>Set Environment Value</li>
<li>Undo Replication Conflict</li>
<li>Unlock Document</li>
<li>UNID</li>
<li>Workflow Formula Test</li>
</ul>
<p><span id="more-1765"></span><br />
<H2>Toolbar Functions 1.3.0 Code</H2></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
</pre></td><td class="code"><pre class="lotusformulas" style="font-family:monospace;"><span style="">REM {Toolbar Functions 1.3.0 by Chad Schelfhout.};</span>
<span style="">REM {Visit http://www.chadsmiley.com/ToolbarFunctions for the latest updates};</span>
&nbsp;
<span style="">REM {Constants};</span>
ProfileName := <span style="color: #FF00FF;">&quot;ChadSmiley Tools&quot;</span>;
ToolbarToolsLastSelection := <span style="color: #FF00FF;">&quot;ToolbarToolsLastSelection&quot;</span>;
ToolbarToolsLastProfile := <span style="color: #FF00FF;">&quot;ToolbarToolsLastProfile&quot;</span>;
ToolbarToolsLastEnvironmentVariable := <span style="color: #FF00FF;">&quot;ToolbarToolsLastEnvironmentVariable&quot;</span>;
ToolbarToolsLastFormula := <span style="color: #FF00FF;">&quot;ToolbarToolsLastFormula&quot;</span>;
DefaultSelection := <span style="color: #FF00FF;">&quot;Undo Replication Conflict&quot;</span>;
cSemicolonReplace := <span style="color: #FF00FF;">&quot;#SC#&quot;</span>;
&nbsp;
<span style="">REM {Get last selection for this database};</span>
ToolbarToolsSelection := <span style="color: #0000FF;">@GetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastSelection ; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option := <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span>OkCancelCombo<span style="color: #000000;">&#93;</span> ; <span style="color: #FF00FF;">&quot;Select Option&quot;</span> ; <span style="color: #FF00FF;">&quot;What would you like to do:&quot;</span> ; <span style="color: #0000FF;">@If</span><span style="color: #000000;">&#40;</span> ToolbarToolsSelection = <span style="color: #FF00FF;">&quot;&quot;</span> ; DefaultSelection ; ToolbarToolsSelection <span style="color: #000000;">&#41;</span> ; <span style="color: #0000FF;">@Explode</span><span style="color: #000000;">&#40;</span> <span style="color: #FF00FF;">&quot;Undo Replication Conflict:Unlock Document:Refresh Selected Documents:Link Message:Workflow Formula Test:Agent Run:Agent Run Current:Note ID:UNID:Parent UNID:Database Replica ID:Database Path:Database Server:Database Server &amp; Path:Edit Profile Document:Get Environment Value:Set Environment Value:Formula Evaluate:Authors:Document Edit:Document Open&quot;</span>  ; <span style="color: #FF00FF;">&quot;:&quot;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;
&nbsp;
<span style="">REM {Set last selection for this database};</span>
<span style="color: #0000FF;">@SetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastSelection ; Option ; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> ;
&nbsp;
<span style="color: #0000FF;">@If</span><span style="color: #000000;">&#40;</span>
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Refresh Selected Documents&quot;</span> ; <span style="color: #0000FF;">@Command</span><span style="color: #000000;">&#40;</span><span style="color: #800000;"><span style="color: #000000;">&#91;</span>ToolsRefreshSelectedDocs<span style="color: #000000;">&#93;</span></span><span style="color: #000000;">&#41;</span>  ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Undo Replication Conflict&quot;</span> ; <span style="color: #0000FF;">@Do</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@SetField</span><span style="color: #000000;">&#40;</span><span style="color: #FF00FF;">&quot;$REF&quot;</span> ; <span style="color: #0000FF;">@DeleteField</span> <span style="color: #000000;">&#41;</span> : <span style="color: #0000FF;">@SetField</span><span style="color: #000000;">&#40;</span> <span style="color: #FF00FF;">&quot;$Conflict&quot;</span> ; <span style="color: #0000FF;">@DeleteField</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Unlock Document&quot;</span> ; <span style="color: #0000FF;">@Do</span><span style="color: #000000;">&#40;</span>
	<span style="color: #0000FF;">@SetField</span><span style="color: #000000;">&#40;</span><span style="color: #FF00FF;">&quot;$Writers&quot;</span> ; <span style="color: #0000FF;">@DeleteField</span> <span style="color: #000000;">&#41;</span> ;
	<span style="color: #0000FF;">@SetField</span><span style="color: #000000;">&#40;</span><span style="color: #FF00FF;">&quot;$PWriters&quot;</span> ; <span style="color: #0000FF;">@DeleteField</span> <span style="color: #000000;">&#41;</span> ;
	<span style="color: #0000FF;">@SetField</span><span style="color: #000000;">&#40;</span> <span style="color: #FF00FF;">&quot;$WritersDate&quot;</span> ; <span style="color: #0000FF;">@DeleteField</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Agent Run&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Command</span><span style="color: #000000;">&#40;</span><span style="color: #800000;"><span style="color: #000000;">&#91;</span>RunAgent<span style="color: #000000;">&#93;</span></span> ; <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>;<span style="color: #FF00FF;">&quot;Run Agent&quot;</span> ; <span style="color: #FF00FF;">&quot;Enter agent to run&quot;</span>; <span style="color: #FF00FF;">&quot;&quot;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Agent Run Current&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Command</span><span style="color: #000000;">&#40;</span><span style="color: #800000;"><span style="color: #000000;">&#91;</span>ToolsRunMacro<span style="color: #000000;">&#93;</span></span>; $Title<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Link Message&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Command</span><span style="color: #000000;">&#40;</span><span style="color: #800000;"><span style="color: #000000;">&#91;</span>Compose<span style="color: #000000;">&#93;</span></span>; <span style="color: #0000FF;">@MailDbName</span>; <span style="color: #FF00FF;">&quot;Bookmark&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Edit Profile Document&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span>
	<span style="color: #0000FF;">@SetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastProfile ;
		<span style="color: #0000FF;">@Trim</span><span style="color: #000000;">&#40;</span>
			<span style="color: #0000FF;">@Unique</span><span style="color: #000000;">&#40;</span>
				<span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEditCombo<span style="color: #000000;">&#93;</span>;
					<span style="color: #FF00FF;">&quot;Open Profile Document&quot;</span>;
					<span style="color: #FF00FF;">&quot;Profile Document Name (There should be a corresponding form or suborm)&quot;</span>;
					<span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Explode</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@GetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastProfile ; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> ; <span style="color: #FF00FF;">&quot;;&quot;</span> <span style="color: #000000;">&#41;</span> ;<span style="color: #FF00FF;">1</span> <span style="color: #000000;">&#41;</span> ;
					<span style="color: #0000FF;">@Explode</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@GetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastProfile ; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> ; <span style="color: #FF00FF;">&quot;;&quot;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> :
				<span style="color: #0000FF;">@GetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastProfile ; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;
		<span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> ;
	<span style="color: #0000FF;">@Command</span><span style="color: #000000;">&#40;</span><span style="color: #800000;"><span style="color: #000000;">&#91;</span>EditProfile<span style="color: #000000;">&#93;</span></span> ;
		<span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Explode</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@GetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastProfile ; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> ; <span style="color: #FF00FF;">&quot;;&quot;</span> <span style="color: #000000;">&#41;</span> ;<span style="color: #FF00FF;">1</span> <span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#41;</span> ;
		<span style="color: #0000FF;">@If</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span>YesNo<span style="color: #000000;">&#93;</span> ; <span style="color: #FF00FF;">&quot;Personal Profile&quot;</span> ; <span style="color: #FF00FF;">&quot;Is '&quot;</span> + <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Explode</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@GetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastProfile ; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> ; <span style="color: #FF00FF;">&quot;;&quot;</span> <span style="color: #000000;">&#41;</span> ;<span style="color: #FF00FF;">1</span> <span style="color: #000000;">&#41;</span> + <span style="color: #FF00FF;">&quot;' a personal profile?&quot;</span> <span style="color: #000000;">&#41;</span> ; <span style="color: #0000FF;">@UserName</span> ; <span style="color: #FF00FF;">&quot;&quot;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Get Environment Value&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span>
	CurrentEnvVariable := <span style="color: #0000FF;">@GetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastEnvironmentVariable ; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> :
	<span style="color: #0000FF;">@Set</span><span style="color: #000000;">&#40;</span> <span style="color: #FF00FF;">&quot;NewEnvVariable&quot;</span> ; <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEditCombo<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Get Environment Value&quot;</span>; <span style="color: #FF00FF;">&quot;Enter the name of the environment variable:&quot;</span>; <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span> CurrentEnvVariable ; <span style="color: #FF00FF;">1</span> <span style="color: #000000;">&#41;</span>; CurrentEnvVariable <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> :
	<span style="color: #0000FF;">@SetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastEnvironmentVariable ; <span style="color: #0000FF;">@Trim</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Unique</span><span style="color: #000000;">&#40;</span> NewEnvVariable : CurrentEnvVariable <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> :
	<span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Environment Value&quot;</span>; <span style="color: #FF00FF;">&quot;The value of the evironment variable '&quot;</span> + NewEnvVariable +  <span style="color: #FF00FF;">&quot;':&quot;</span>  ;  <span style="color: #0000FF;">@Environment</span><span style="color: #000000;">&#40;</span> NewEnvVariable <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Set Environment Value&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span>
	CurrentEnvVariable := <span style="color: #0000FF;">@GetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastEnvironmentVariable ; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> :
	<span style="color: #0000FF;">@Set</span><span style="color: #000000;">&#40;</span> <span style="color: #FF00FF;">&quot;NewEnvVariable&quot;</span> ; <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEditCombo<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Set Environment Value&quot;</span>; <span style="color: #FF00FF;">&quot;Enter the name of the environment variable:&quot;</span>; <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span> CurrentEnvVariable ; <span style="color: #FF00FF;">1</span> <span style="color: #000000;">&#41;</span>; CurrentEnvVariable <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> :
	<span style="color: #0000FF;">@SetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastEnvironmentVariable ; <span style="color: #0000FF;">@Trim</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Unique</span><span style="color: #000000;">&#40;</span> NewEnvVariable : CurrentEnvVariable <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> :
	<span style="color: #0000FF;">@SetEnvironment</span><span style="color: #000000;">&#40;</span> NewEnvVariable ; <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Environment Value&quot;</span>; <span style="color: #FF00FF;">&quot;The new value of the evironment variable '&quot;</span> + NewEnvVariable +  <span style="color: #FF00FF;">&quot;':&quot;</span>  ;  <span style="color: #0000FF;">@Environment</span><span style="color: #000000;">&#40;</span> NewEnvVariable <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Parent UNID&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Parent UNID&quot;</span>; <span style="color: #FF00FF;">&quot;Parent Unique ID&quot;</span>; <span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span>$REF<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;UNID&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;UNID&quot;</span>; <span style="color: #FF00FF;">&quot;Unique ID&quot;</span>; <span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@DocumentUniqueID</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Database Replica ID&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Database Replica ID&quot;</span>; <span style="color: #FF00FF;">&quot;Database Replica ID&quot;</span>; <span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@ReplicaID</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Database Path&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Database Path&quot;</span>; <span style="color: #FF00FF;">&quot;Database Path&quot;</span>; <span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@DbName</span> ; -<span style="color: #FF00FF;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Database Server&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Database Server&quot;</span>; <span style="color: #FF00FF;">&quot;Database Server&quot;</span>; <span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@DbName</span> ; <span style="color: #FF00FF;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Database Server &amp; Path&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Database Server &amp; Path&quot;</span>; <span style="color: #FF00FF;">&quot;Database Server &amp; Path&quot;</span>; <span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Implode</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@DbName</span> ; <span style="color: #FF00FF;">&quot;!!&quot;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Note ID&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Note ID&quot;</span>; <span style="color: #FF00FF;">&quot;Note ID&quot;</span>; <span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@NoteID</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Formula Evaluate&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span>
	CurrentForumla := <span style="color: #0000FF;">@GetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ; ToolbarToolsLastFormula ; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> :
	<span style="color: #0000FF;">@Set</span><span style="color: #000000;">&#40;</span> <span style="color: #FF00FF;">&quot;NewFormula&quot;</span> ;
		<span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEditCombo<span style="color: #000000;">&#93;</span>;
			<span style="color: #FF00FF;">&quot;Formula to Evaluate&quot;</span>;
			<span style="color: #FF00FF;">&quot;Enter the formula to evaluate:&quot;</span>;
			<span style="color: #0000FF;">@ReplaceSubstring</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span> CurrentForumla ; <span style="color: #FF00FF;">1</span> <span style="color: #000000;">&#41;</span> ; cSemicolonReplace ; <span style="color: #FF00FF;">&quot;;&quot;</span> <span style="color: #000000;">&#41;</span>;
			<span style="color: #0000FF;">@ReplaceSubstring</span><span style="color: #000000;">&#40;</span> CurrentForumla ; cSemicolonReplace ; <span style="color: #FF00FF;">&quot;;&quot;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> :
	<span style="color: #0000FF;">@SetProfileField</span><span style="color: #000000;">&#40;</span> ProfileName ;
		ToolbarToolsLastFormula ;
		<span style="color: #0000FF;">@Trim</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Unique</span><span style="color: #000000;">&#40;</span>  <span style="color: #0000FF;">@ReplaceSubstring</span><span style="color: #000000;">&#40;</span> NewFormula ; <span style="color: #FF00FF;">&quot;;&quot;</span> ; cSemicolonReplace <span style="color: #000000;">&#41;</span> : CurrentForumla <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>; <span style="color: #0000FF;">@UserName</span> <span style="color: #000000;">&#41;</span> :
	<span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Formula Evaluated&quot;</span>; <span style="color: #FF00FF;">&quot;The evaluate result:&quot;</span>  ; <span style="color: #0000FF;">@Implode</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Eval</span> <span style="color: #000000;">&#40;</span> NewFormula <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Workflow Formula Test&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Command</span><span style="color: #000000;">&#40;</span><span style="color: #800000;"><span style="color: #000000;">&#91;</span>Compose<span style="color: #000000;">&#93;</span></span>; <span style="color: #0000FF;">@DbName</span>; <span style="color: #FF00FF;">&quot;(OS FormulaTest)&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #FF00FF;">&quot;Authors&quot;</span> ; <span style="color: #0000FF;">@Do</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>OkCancelEdit<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Authors&quot;</span>; <span style="color: #FF00FF;">&quot;List of people/groups that have author access to document:&quot;</span>; <span style="color: #0000FF;">@Implode</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Name</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span>Abbreviate<span style="color: #000000;">&#93;</span>; <span style="color: #0000FF;">@Author</span> <span style="color: #000000;">&#41;</span> ; <span style="color: #FF00FF;">&quot;,&quot;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;
&nbsp;
Option = <span style="color: #000000;">&#40;</span><span style="color: #FF00FF;">&quot;Document Open&quot;</span>:<span style="color: #FF00FF;">&quot;Document Edit&quot;</span> <span style="color: #000000;">&#41;</span> ;
<span style="color: #0000FF;">@If</span><span style="color: #000000;">&#40;</span> <span style="color: #0000FF;">@Unique</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@DocumentUniqueID</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> = <span style="color: #0000FF;">@Repeat</span><span style="color: #000000;">&#40;</span><span style="color: #FF00FF;">&quot;0&quot;</span>; <span style="color: #FF00FF;">32</span> <span style="color: #000000;">&#41;</span> ; <span style="color: #0000FF;">@Prompt</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span>Ok<span style="color: #000000;">&#93;</span>; <span style="color: #FF00FF;">&quot;Unable to Continue&quot;</span>; <span style="color: #FF00FF;">&quot;A document needs to be selected.&quot;</span><span style="color: #000000;">&#41;</span> ; <span style="color: #0000FF;">@Do</span><span style="color: #000000;">&#40;</span>
	host:=<span style="color: #0000FF;">@DbLookup</span><span style="color: #000000;">&#40;</span><span style="color: #FF00FF;">&quot;&quot;</span>:<span style="color: #FF00FF;">&quot;&quot;</span>; <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@DbName</span>; <span style="color: #FF00FF;">1</span><span style="color: #000000;">&#41;</span> : <span style="color: #FF00FF;">&quot;names.nsf&quot;</span>; <span style="color: #FF00FF;">&quot;($Servers)&quot;</span>; <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@DbName</span>; <span style="color: #FF00FF;">1</span><span style="color: #000000;">&#41;</span>; <span style="color: #FF00FF;">&quot;SMTPFullHostDomain&quot;</span> ; <span style="color: #000000;">&#91;</span>FailSilent<span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span>;
	host:=<span style="color: #0000FF;">@If</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@IsError</span><span style="color: #000000;">&#40;</span>host<span style="color: #000000;">&#41;</span> ; <span style="color: #FF00FF;">&quot;localhost&quot;</span> ; host <span style="color: #000000;">&#41;</span>;
	normalMode:=<span style="color: #0000FF;">@DbLookup</span><span style="color: #000000;">&#40;</span><span style="color: #FF00FF;">&quot;&quot;</span>:<span style="color: #FF00FF;">&quot;&quot;</span>; <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@DbName</span>; <span style="color: #FF00FF;">1</span><span style="color: #000000;">&#41;</span> : <span style="color: #FF00FF;">&quot;names.nsf&quot;</span>; <span style="color: #FF00FF;">&quot;($Servers)&quot;</span>; <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@DbName</span>; <span style="color: #FF00FF;">1</span><span style="color: #000000;">&#41;</span>; <span style="color: #FF00FF;">&quot;HTTP_NormalMode&quot;</span> ; <span style="color: #000000;">&#91;</span>FailSilent<span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span>;
	normalMode:=<span style="color: #0000FF;">@If</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@IsError</span><span style="color: #000000;">&#40;</span>normalMode<span style="color: #000000;">&#41;</span> ; <span style="color: #FF00FF;">&quot;1&quot;</span> ; normalMode <span style="color: #000000;">&#41;</span>;
	port:=<span style="color: #0000FF;">@DbLookup</span><span style="color: #000000;">&#40;</span><span style="color: #FF00FF;">&quot;&quot;</span>:<span style="color: #FF00FF;">&quot;&quot;</span>; <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@DbName</span>; <span style="color: #FF00FF;">1</span><span style="color: #000000;">&#41;</span> : <span style="color: #FF00FF;">&quot;names.nsf&quot;</span>; <span style="color: #FF00FF;">&quot;($Servers)&quot;</span>; <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@DbName</span>; <span style="color: #FF00FF;">1</span><span style="color: #000000;">&#41;</span>; <span style="color: #FF00FF;">&quot;HTTP_Port&quot;</span> ; <span style="color: #000000;">&#91;</span>FailSilent<span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span>;
	port:=<span style="color: #0000FF;">@If</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@IsError</span><span style="color: #000000;">&#40;</span>port<span style="color: #000000;">&#41;</span> ; <span style="color: #FF00FF;">&quot;80&quot;</span> ; port <span style="color: #000000;">&#41;</span>;
	sslPort:=<span style="color: #0000FF;">@DbLookup</span><span style="color: #000000;">&#40;</span><span style="color: #FF00FF;">&quot;&quot;</span>:<span style="color: #FF00FF;">&quot;&quot;</span>; <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@DbName</span>; <span style="color: #FF00FF;">1</span><span style="color: #000000;">&#41;</span> : <span style="color: #FF00FF;">&quot;names.nsf&quot;</span>; <span style="color: #FF00FF;">&quot;($Servers)&quot;</span>; <span style="color: #0000FF;">@Subset</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@DbName</span>; <span style="color: #FF00FF;">1</span><span style="color: #000000;">&#41;</span>; <span style="color: #FF00FF;">&quot;HTTP_SSLPort&quot;</span> ; <span style="color: #000000;">&#91;</span>FailSilent<span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span>;
	sslPort:=<span style="color: #0000FF;">@If</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@IsError</span><span style="color: #000000;">&#40;</span>port<span style="color: #000000;">&#41;</span> ; <span style="color: #FF00FF;">&quot;443&quot;</span> ; port <span style="color: #000000;">&#41;</span>;
&nbsp;
	prefix:=<span style="color: #0000FF;">@If</span><span style="color: #000000;">&#40;</span>
		normalMode = <span style="color: #FF00FF;">&quot;1&quot;</span> | normalMode = <span style="color: #FF00FF;">&quot;2&quot;</span> ; <span style="color: #FF00FF;">&quot;http&quot;</span>;
		<span style="color: #FF00FF;">&quot;https&quot;</span>
	<span style="color: #000000;">&#41;</span>;
&nbsp;
	portSuffix:=<span style="color: #0000FF;">@If</span><span style="color: #000000;">&#40;</span>
		prefix = <span style="color: #FF00FF;">&quot;http&quot;</span> &amp; port = <span style="color: #FF00FF;">80</span>; <span style="color: #FF00FF;">&quot;&quot;</span>;
		prefix = <span style="color: #FF00FF;">&quot;https&quot;</span> &amp; sslPort = <span style="color: #FF00FF;">&quot;443&quot;</span>; <span style="color: #FF00FF;">&quot;&quot;</span>;
		prefix = <span style="color: #FF00FF;">&quot;http&quot;</span>; <span style="color: #FF00FF;">&quot;:&quot;</span> + <span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span>port<span style="color: #000000;">&#41;</span>;
		prefix = <span style="color: #FF00FF;">&quot;https&quot;</span>; <span style="color: #FF00FF;">&quot;:&quot;</span> + <span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span>sslPort<span style="color: #000000;">&#41;</span>;
		<span style="color: #FF00FF;">&quot;&quot;</span>
	<span style="color: #000000;">&#41;</span>;
&nbsp;
	<span style="color: #0000FF;">@URLOpen</span><span style="color: #000000;">&#40;</span>prefix + <span style="color: #FF00FF;">&quot;://&quot;</span> + host + portSuffix + <span style="color: #FF00FF;">&quot;/&quot;</span> + <span style="color: #0000FF;">@WebDbName</span> + <span style="color: #FF00FF;">&quot;/0/&quot;</span> + <span style="color: #0000FF;">@Text</span><span style="color: #000000;">&#40;</span><span style="color: #0000FF;">@DocumentUniqueID</span><span style="color: #000000;">&#41;</span> + <span style="color: #FF00FF;">&quot;?&quot;</span> + <span style="color: #0000FF;">@If</span><span style="color: #000000;">&#40;</span> Option = <span style="color: #FF00FF;">&quot;Document Open&quot;</span> ; <span style="color: #FF00FF;">&quot;OpenDocument&quot;</span> ; <span style="color: #FF00FF;">&quot;EditDocument&quot;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;
<span style="color: #FF00FF;">&quot;&quot;</span> <span style="color: #000000;">&#41;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://chadsmiley.com/chadsmiley/2006/12/toolbar-functions-1-3-0/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Open Audit 1.0.0</title>
		<link>http://chadsmiley.com/chadsmiley/2006/07/open-audit-1-0-0/</link>
		<comments>http://chadsmiley.com/chadsmiley/2006/07/open-audit-1-0-0/#comments</comments>
		<pubDate>Fri, 21 Jul 2006 15:26:00 +0000</pubDate>
		<dc:creator>ChadSmiley</dc:creator>
				<category><![CDATA[Domino]]></category>
		<category><![CDATA[Open Audit]]></category>
		<category><![CDATA[Toolbar Functions]]></category>

		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1420</guid>
		<description><![CDATA[I have finally released Open Audit. It only took me 2 months to get it out of beta but better late the never. Here are the features with Open Audit 1.0.0 Configurable audit key Field filter and field exclusion filter, with wildcards Field descriptions to assign more meaningful names Retention based on days or number [...]]]></description>
			<content:encoded><![CDATA[<p>I have finally released <a href="http://www.openntf.org/projects/pmt.nsf/ProjectLookup/Open+Audit">Open Audit</a>. It only took me 2 months to get it out of beta but better late the never. Here are the features with <a href=http://www.openntf.org/Projects/pmt.nsf/ProjectVersions/811A92F4357558C6862571B3001A9155?OpenDocument>Open Audit 1.0.0</a>
<ul>
<li>Configurable audit key</li>
<li>Field filter and field exclusion filter, with wildcards</li>
<li> Field descriptions to assign more meaningful names </li>
<li> Retention based on days or number of versions </li>
<li> External audit database or current database </li>
<li> Backend audit class </li>
<li> Retention agent </li>
</ul>
<p> I did not get a chance to implement the Java class yet but I will start working on it soon. &nbsp;The <a href=http://www.openntf.org/Projects/pmt.nsf/4cf7002b4da2f726862570ef007ed885/4e7232ba09ceb047862571b300180c29!OpenDocument> screencast for Open Audit</a>  is structured a little different than the <a href=http://chadsmiley.com/chadsmiley/toolbar-functions-1-3-0-screencast/> Toolbar Functions Screencast</a>  but hopefully they both will server the same purpose of helping you understand the application and how to use them.  </p>
<p> So with 2 screencast done, should I continue making them? &nbsp;Are they helpful? &nbsp;Any recommendations for improvements? </p>
]]></content:encoded>
			<wfw:commentRss>http://chadsmiley.com/chadsmiley/2006/07/open-audit-1-0-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toolbar Functions 1.2.0</title>
		<link>http://chadsmiley.com/chadsmiley/2006/07/toolbar-functions-1-2-0/</link>
		<comments>http://chadsmiley.com/chadsmiley/2006/07/toolbar-functions-1-2-0/#comments</comments>
		<pubDate>Wed, 12 Jul 2006 16:00:00 +0000</pubDate>
		<dc:creator>ChadSmiley</dc:creator>
				<category><![CDATA[Domino]]></category>
		<category><![CDATA[Edit Document Fields]]></category>
		<category><![CDATA[Formula]]></category>
		<category><![CDATA[Toolbar Functions]]></category>

		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1418</guid>
		<description><![CDATA[There are a couple of new functions and a screencast explaining all of the functions. The new functions are indicated below. There is also history for Get and Set Environment Variables, Agent Run, Edit Profile Document, and Formula Evaluate. The history was built on some new features in Edit Document Fields. Here are the current [...]]]></description>
			<content:encoded><![CDATA[<p>There are a couple of new functions and a <a href=" http://chadsmiley.com/chadsmiley/toolbar-functions-1-3-0-screencast/">screencast </a>explaining all of the functions.  The new functions are indicated below.  There is also history for Get and Set Environment Variables, Agent Run, Edit Profile Document, and Formula Evaluate.  The history  was built on some new features in <a href="http://www.chadsmiley.com/EditDocumentFields">Edit Document Fields</a>.   </p>
<p> Here are the current options:
<ul>
<li>Agent Run</li>
<li>Agent Run Current</li>
<li><strong>Database Path</strong></li>
<li><strong>Database Replica ID</strong></li>
<li><strong>Database Server</strong></li>
<li><strong>Database Server &amp; Path</strong></li>
<li>Edit Profile Document</li>
<li><strong>Formula Evaluate</strong></li>
<li>Get Environment Value</li>
<li>Link Message</li>
<li>Note ID</li>
<li>Parent UNID</li>
<li>Refresh Selected Documents</li>
<li>Set Environment Value</li>
<li>Undo Replication Conflict</li>
<li>Unlock Document</li>
<li>UNID</li>
<li>Workflow Formula Test</li>
</ul>
<h2>Toolbar Functions 1.2.0 Code</h2>
<p> <a href="javascript:highlight('FormulaCodeBlock0')"> Select All</a></p>
<p> <textarea rows="20" cols=60" wrap="virtual" class="codebox200" id="FormulaCodeBlock0" onFocus="javascript:highlight('FormulaCodeBlock0')" title="Use the Select All link above to select all the text."> REM {Toolbar Functions by Chad Schelfhout.}; REM {Visit http://www.chadsmiley.com/ToolbarFunctions for the latest updates}; REM {Version 1.2.0};  REM {Constants}; ProfileName := "ChadSmiley Tools"; ToolbarToolsLastSelection := "ToolbarToolsLastSelection"; ToolbarToolsLastProfile := "ToolbarToolsLastProfile"; ToolbarToolsLastEnvironmentVariable := "ToolbarToolsLastEnvironmentVariable"; ToolbarToolsLastFormula := "ToolbarToolsLastFormula"; DefaultSelection := "Undo Replication Conflict"; cSemicolonReplace := "#SC#";  REM {Get last selection for this database}; ToolbarToolsSelection := @GetProfileField( ProfileName ; ToolbarToolsLastSelection ; @UserName ) ;  Option := @Prompt( [OkCancelCombo] ; "Select Option" ; "What would you like to do:" ; @If( ToolbarToolsSelection = "" ; DefaultSelection ; ToolbarToolsSelection ) ; @Explode( "Undo Replication Conflict:Unlock Document:Refresh Selected Documents:Link Message:Workflow Formula Test:Agent Run:Agent Run Current:Note ID:UNID:Parent UNID:Database Replica ID:Database Path:Database Server:Database Server &#038; Path:Edit Profile Document:Get Environment Value:Set Environment Value:Formula Evaluate"  ; ":" ) ) ;  REM {Set last selection for this database}; @SetProfileField( ProfileName ; ToolbarToolsLastSelection ; Option ; @UserName ) ;  @If( Option = "Refresh Selected Documents" ; @Command([ToolsRefreshSelectedDocs])  ; "") ;  @If( Option = "Undo Replication Conflict" ; @Do( @SetField("$REF" ; @DeleteField ) : @SetField( "$Conflict" ; @DeleteField ) ) ;  Option = "Unlock Document" ; @Do( @SetField("$Writers" ; @DeleteField ) : @SetField("$PWriters" ; @DeleteField ) : @SetField( "$WritersDate" ; @DeleteField ) ) ;  Option = "Agent Run" ; @Do ( @Command([RunAgent] ; @Prompt( [OkCancelEdit];"Run Agent" ; "Enter agent to run"; "" ) ) ) ;  Option = "Agent Run Current" ; @Do ( @Command([ToolsRunMacro]; $Title) ) ;  Option = "Link Message" ; @Do ( @Command([Compose]; @MailDbName; "Bookmark") ) ;  Option = "Edit Profile Document" ; @Do ( 	@SetProfileField( ProfileName ; ToolbarToolsLastProfile ; 		@Trim( 			@Unique( 				@Prompt([OkCancelEditCombo]; 					"Open Profile Document"; 					"Profile Document Name (There should be a corresponding form or suborm)"; 					@Subset( @Explode( @GetProfileField( ProfileName ; ToolbarToolsLastProfile ; @UserName ) ; ";" ) ;1 ) ; 					@Explode( @GetProfileField( ProfileName ; ToolbarToolsLastProfile ; @UserName ) ; ";" ) ) : 				@GetProfileField( ProfileName ; ToolbarToolsLastProfile ; @UserName ) ) ); 		@UserName ) ; 	@Command([EditProfile] ; 		@Text( @Subset( @Explode( @GetProfileField( ProfileName ; ToolbarToolsLastProfile ; @UserName ) ; ";" ) ;1 )  ) ; 		@If( @Prompt( [YesNo] ; "Personal Profile" ; "Is '" + @Subset( @Explode( @GetProfileField( ProfileName ; ToolbarToolsLastProfile ; @UserName ) ; ";" ) ;1 ) + "' a personal profile?" ) ; @UserName ; "" ) ) );  Option = "Get Environment Value" ; @Do ( 	CurrentEnvVariable := @GetProfileField( ProfileName ; ToolbarToolsLastEnvironmentVariable ; @UserName ) ) : 	@Set( "NewEnvVariable" ; @Prompt([OkCancelEditCombo]; "Get Environment Value"; "Enter the name of the environment variable:"; @Subset( CurrentEnvVariable ; 1 ); CurrentEnvVariable ) ) : 	@SetProfileField( ProfileName ; ToolbarToolsLastEnvironmentVariable ; @Trim( @Unique( NewEnvVariable : CurrentEnvVariable ) ); @UserName ) : 	@Prompt([OkCancelEdit]; "Environment Value"; "The value of the evironment variable '" + NewEnvVariable +  "':"  ;  @Environment( NewEnvVariable ) );  Option = "Set Environment Value" ; @Do ( 	CurrentEnvVariable := @GetProfileField( ProfileName ; ToolbarToolsLastEnvironmentVariable ; @UserName ) ) : 	@Set( "NewEnvVariable" ; @Prompt([OkCancelEditCombo]; "Set Environment Value"; "Enter the name of the environment variable:"; @Subset( CurrentEnvVariable ; 1 ); CurrentEnvVariable ) ) : 	@SetProfileField( ProfileName ; ToolbarToolsLastEnvironmentVariable ; @Trim( @Unique( NewEnvVariable : CurrentEnvVariable ) ); @UserName ) : 	@SetEnvironment( NewEnvVariable ; @Prompt([OkCancelEdit]; "Environment Value"; "The new value of the evironment variable '" + NewEnvVariable +  "':"  ;  @Environment( NewEnvVariable ) ) );  Option = "Parent UNID" ; @Do ( @Prompt([OkCancelEdit]; "Parent UNID"; "Parent Unique ID"; @Text($REF)) ) ;  Option = "UNID" ; @Do ( @Prompt([OkCancelEdit]; "UNID"; "Unique ID"; @Text(@DocumentUniqueID)) ) ;  Option = "Database Replica ID" ; @Do ( @Prompt([OkCancelEdit]; "Database Replica ID"; "Database Replica ID"; @Text(@ReplicaID))  ) ;  Option = "Database Path" ; @Do ( @Prompt([OkCancelEdit]; "Database Path"; "Database Path"; @Text(@Subset( @DbName ; -1 ) ) )  ) ;  Option = "Database Server" ; @Do ( @Prompt([OkCancelEdit]; "Database Server"; "Database Server"; @Text(@Subset( @DbName ; 1 ) ) )  ) ;  Option = "Database Server &#038; Path" ; @Do ( @Prompt([OkCancelEdit]; "Database Server &#038; Path"; "Database Server &#038; Path"; @Text( @Implode( @DbName ; "!!" ) ) )  ) ;  Option = "Note ID" ; @Do ( @Prompt([OkCancelEdit]; "Note ID"; "Note ID"; @Text(@NoteID))  ) ;  Option = "Formula Evaluate" ; @Do ( 	CurrentForumla := @GetProfileField( ProfileName ; ToolbarToolsLastFormula ; @UserName ) ) : 	@Set( "NewFormula" ; 		@Prompt([OkCancelEditCombo]; 			"Formula to Evaluate"; 			"Enter the formula to evaluate:"; 			@ReplaceSubstring( @Subset( CurrentForumla ; 1 ) ; cSemicolonReplace ; ";" ); 			@ReplaceSubstring( CurrentForumla ; cSemicolonReplace ; ";" ) ) ) : 	@SetProfileField( ProfileName ; 		ToolbarToolsLastFormula ; 		@Trim( @Unique(  @ReplaceSubstring( NewFormula ; ";" ; cSemicolonReplace ) : CurrentForumla ) ); @UserName ) : 	@Prompt([OkCancelEdit]; "Formula Evaluated"; "The evaluate result:"  ; @Implode( @Text( @Eval ( NewFormula ) ) ) );  Option = "Workflow Formula Test" ; @Do ( @Command([Compose]; @DbName; "(OS FormulaTest)") ) ;  "" ) </textarea></p>
]]></content:encoded>
			<wfw:commentRss>http://chadsmiley.com/chadsmiley/2006/07/toolbar-functions-1-2-0/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Toolbar Functions 1.1</title>
		<link>http://chadsmiley.com/chadsmiley/2005/04/toolbar-functions-1-1/</link>
		<comments>http://chadsmiley.com/chadsmiley/2005/04/toolbar-functions-1-1/#comments</comments>
		<pubDate>Tue, 19 Apr 2005 12:26:00 +0000</pubDate>
		<dc:creator>ChadSmiley</dc:creator>
				<category><![CDATA[Domino]]></category>
		<category><![CDATA[Toolbar Functions]]></category>

		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1271</guid>
		<description><![CDATA[Updated version of Toolbar Functions is now available.]]></description>
			<content:encoded><![CDATA[<p> <b>Updated version of <a href="http://www.chadsmiley.com/ToolbarFunctions" title="Toolbar Functions">Toolbar Functions</a> is now available.</b></p>
<p> <a href=http://dev.kanngard.net title = "Johan K</p>
]]></content:encoded>
			<wfw:commentRss>http://chadsmiley.com/chadsmiley/2005/04/toolbar-functions-1-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More Toolbar Tools &#8211; Toolbar Functions</title>
		<link>http://chadsmiley.com/chadsmiley/2005/03/more-toolbar-tools-toolbar-functions/</link>
		<comments>http://chadsmiley.com/chadsmiley/2005/03/more-toolbar-tools-toolbar-functions/#comments</comments>
		<pubDate>Tue, 08 Mar 2005 21:26:00 +0000</pubDate>
		<dc:creator>ChadSmiley</dc:creator>
				<category><![CDATA[Domino]]></category>
		<category><![CDATA[Edit Document Fields]]></category>
		<category><![CDATA[Teamstudio]]></category>
		<category><![CDATA[Toolbar Functions]]></category>

		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1250</guid>
		<description><![CDATA[Updated version of Toolbar Functions is now available. Here is another toolbar icon next to Edit Document Fields and One Teamstudio Icon. I liked]]></description>
			<content:encoded><![CDATA[<p> <b>Updated version of <a href="http://www.chadsmiley.com/ToolbarFunctions" title="Toolbar Functions">Toolbar Functions</a> is now available.</b></p>
<p> Here is another toolbar icon next to <a href="http://www.chadsmiley.com/EditDocumentFields" title="Edit Document Fields">Edit Document Fields</a> and <a href=http://www.chadsmiley.com/OneTeamstudioIcon title="One Teamstudio Icon">One Teamstudio Icon</a>. I liked <a href=http://dev.kanngard.net title = "Johan K</p>
]]></content:encoded>
			<wfw:commentRss>http://chadsmiley.com/chadsmiley/2005/03/more-toolbar-tools-toolbar-functions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: chadsmiley.com @ 2012-02-08 10:54:25 -->
