home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.tcs3.com
/
ftp.tcs3.com.tar
/
ftp.tcs3.com
/
DRIVERS
/
Audio
/
Office2010
/
ProPlus.WW
/
ProPsWW2.cab
/
FORMSMACROTEMPLATE.HTML5
< prev
next >
Wrap
Text File
|
2007-02-04
|
2KB
|
71 lines
<!-- /*********************************************************************
Notice
You may not modify, use, copy or distribute this file or its contents.
Internal interfaces referenced in this file are nonpublic, unsupported
and subject to change without notice. These interfaces may not be
utilized in other software applications or components.
*********************************************************************/ -->
<!-- saved from url=(0025)http://www.microsoft.com/ -->
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript" SRC="PublicFunctions.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="utilityfunctions.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
g_IsMacro = true;
document.oncontextmenu = contextMenuEvent;
function contextMenuEvent()
{
// Right-click context menu will not appear unless Ctrl is help down.
if (!event.ctrlKey)
event.returnValue = false;
}
var QueryString = String(window.location.search).substring(1);
var g_MacroID = Number(getValueFromQueryString("MacroID", QueryString));
var g_MacroCode = "";
try
{
var Transaction = window.external.IGrooveFormsToolUIMacroWindowPrivate.OpenTransaction();
var g_MacroCode = window.external.IGrooveFormsToolUIMacroWindowPrivate.OpenMacroScript(g_MacroID);
document.write(g_MacroCode);
Transaction.Commit();
}
catch (error)
{
alert("Error: " + error.description);
Transaction.Abort();
window.external.IGrooveFormsToolUIMacroWindowPrivate.MacroAborted(error.description, error.number);
}
function LoadMacro()
{
window.setTimeout("BeginMacro()", 250);
}
function BeginMacro()
{
window.external.IGrooveFormsToolUIMacroWindowPrivate.StartMacro(g_MacroID, document);
}
// -->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#000000" SCROLL="no" ONLOAD="LoadMacro();" STYLE="padding:0px;margin:0px">
<IMG SRC="macroprogress.gif"/>
<SCRIPT LANGUAGE="JavaScript">
// for debug purposes you can see the script
//document.write("<textarea rows=25 cols=100>" + g_MacroCode + "</textarea>");
</SCRIPT>
</BODY>
</HTML>