วันจันทร์ที่ 12 มีนาคม พ.ศ. 2555

Tools automation objects in C#

http://white.codeplex.com
http://msdn.microsoft.com/en-us/magazine/cc188784.aspx
http://www.silurian.com/inspect/index.htm
http://labs.idefense.com/files/labs/releases/previews/map/
http://www.codingthewheel.com/archives/poker-hand-evaluator-roundup#cactus_kev_csharp
http://download.microsoft.com/download/F/1/0/F10113F5-B750-4969-A255-274341AC6BCE/GRMSDK_EN_DVD.iso

Inspect



UISpy 

http://www.prodigyproductionsllc.com/wp-content/uploads/2011/03/uispy.zip

 



Accessible Event Watcher


 

Microsoft JScript.NET compiler

Sometimes I use jsc.exe to compile Scripts from the command line, outside of Smart Office. You need to reference various .NET paths. I have these ones in my laptop:
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\
C:\WINDOWS\Microsoft.NET\Framework\v3.0\
C:\WINDOWS\Microsoft.NET\Framework\v3.5\
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\
C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\
C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\
Also, you can compile Smart Office Scripts from the command line if you reference the Smart Office DLL paths (see the .NET Reflector chapter above). They won’t always execute correctly as they will be missing the dynamic context of Smart Office.
Also, you can even reference a specific DLL like this:
jsc.exe /reference:Interop.SKYPE4COMLib.dll Test.js
Here is a screenshot that shows Hello World! from a Smart Office Script in JScript.NET compiled at the command line (note the extra print statement at the bottom):


Fiddler