Re: [BLACKBOX] BlackBox and Tortoise

From: [at]} <Alexander>
Date: Wed, 4 Feb 2009 12:40:46 +0600

----boundary-LibPST-iamunique-956297143_-_-
Content-type: text/plain

Hello!

  The removed attachment was the file "diff-odc.js":

// Copyright (c) Alexander Iljin, 2006
var objArgs,num,sBaseDoc,sNewDoc,objScript,shell;

objArgs = WScript.Arguments;
num = objArgs.length;
if (num < 2)
{
   WScript.Echo("Usage: [CScript | WScript] diff-odc.js base.odc new.odc");
   WScript.Quit(1);
}

sBaseDoc = objArgs(0);
sNewDoc = objArgs(1);

objScript = new ActiveXObject("Scripting.FileSystemObject");
if ( ! objScript.FileExists(sBaseDoc))
{
    WScript.Echo("File " + sBaseDoc + " does not exist. Cannot
compare the documents.");
    Wscript.Quit(1);
}
if ( ! objScript.FileExists(sNewDoc))
{
    WScript.Echo("File " + sNewDoc +" does not exist. Cannot compare
the documents.");
    Wscript.Quit(1);
}

objScript = null;

shell = WScript.CreateObject("WScript.Shell");
shell.Run("\""+sBaseDoc+"\"");
WScript.Sleep(1000);
shell.Run("\""+sNewDoc+"\"");
WScript.Sleep(1000);
shell.AppActivate("BlackBox");
shell.SendKeys("{F9}");
shell = null;

---=====---
 Alexander


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-956297143_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjB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MpKVxwYXINClx7XHBhcg0KICAgIFdTY3JpcHQu
RWNobygiRmlsZSAiICsgc05ld0RvYyArIiBkb2VzIG5vdCBleGlzdC4gIENhbm5vdCBjb21wYXJl
XHBhcg0KdGhlIGRvY3VtZW50cy4iKTtccGFyDQogICAgV3NjcmlwdC5RdWl0KDEpO1xwYXINClx9
XHBhcg0KXHBhcg0Kb2JqU2NyaXB0ID0gbnVsbDtccGFyDQpccGFyDQpzaGVsbCA9IFdTY3JpcHQu
Q3JlYXRlT2JqZWN0KCJXU2NyaXB0LlNoZWxsIik7XHBhcg0Kc2hlbGwuUnVuKCJcXCIiK3NCYXNl
RG9jKyJcXCIiKTtccGFyDQpXU2NyaXB0LlNsZWVwKDEwMDApO1xwYXINCnNoZWxsLlJ1bigiXFwi
IitzTmV3RG9jKyJcXCIiKTtccGFyDQpXU2NyaXB0LlNsZWVwKDEwMDApO1xwYXINCnNoZWxsLkFw
cEFjdGl2YXRlKCJCbGFja0JveCIpO1xwYXINCnNoZWxsLlNlbmRLZXlzKCJce0Y5XH0iKTtccGFy
DQpzaGVsbCA9IG51bGw7XHBhcg0KXHBhcg0KLS0tPT09PT0tLS1ccGFyDQogQWxleGFuZGVyXHBh
cg0KXHBhcg0KXHBhcg0KLS0tLVxwYXINClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3
aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSH19
AEVST04=
----boundary-LibPST-iamunique-956297143_-_---
Received on Wed Feb 04 2009 - 07:40:46 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:49 UTC