Reply to post

HyperSnap COM Server

Author
kpl1949
User
  • Total Posts : 2
  • Scores: 0
  • Reward points: 0
  • Joined: 2012/05/08 14:04:28
  • Status: offline
2012/05/08 14:10:49 (permalink)
0

HyperSnap COM Server

  Hello,
 
in the change log I find the following entry:
 
"2012.02.16 HyperSnap 7.13.01 released
Fixed COM server in HyperSnap 7 (for OLE Automation program control of HyperSnap ..."
 But WHERE can I find information about using this feature (available commands , scripting tutorial etc ) ?
 
Thanks.
kpl1949

Exact HyperSnap version in use (from Help/About menu): 7.15.x 
Windows version in use: Win7 64 Bit 

4 Replies Related Threads

    TomD101
    Administrator
    • Total Posts : 303
    • Scores: 5
    • Reward points: 0
    • Joined: 2010/11/22 17:14:33
    • Location: Germany
    • Status: offline
    Re:HyperSnap COM Server 2012/05/08 16:37:26 (permalink)
    0
    Hello kpl1949,
    just google "com server ole automation" and you get many, MANY links to the basics of com  server, incling but not limited to wikipedia entries, tutorials etc.
    IF you are already experienced in using com and automation, please state what functions you are interested in.
    Thomas
    Lesser Admin

    The more things stay, the more they change the sane.
    (52 > max. 0)
    kpl1949
    User
    • Total Posts : 2
    • Scores: 0
    • Reward points: 0
    • Joined: 2012/05/08 14:04:28
    • Status: offline
    Re:HyperSnap COM Server 2012/05/08 16:57:52 (permalink)
    0
    Hi Thomas,
     
    thanks for responding.
    TomD101
    just google "com server ole automation" ... please state what functions you are interested in.

    I am experienced in using COM server automation via VB/VBS/VBA.
     
    I simply want to know which function HyperSnap offers via COM automation to decide if it makes sense to use it in local programming (to save time for otherwise manual interactions), e.g. to control  time intervalled screen saving (full screen / regions and controlling the output file names and paths) from VBA ... and more (at least all the functions which can have shortcuts).
    Thanks.
    Klaus
    post edited by kpl1949 - 2012/05/08 16:59:42
    TomD101
    Administrator
    • Total Posts : 303
    • Scores: 5
    • Reward points: 0
    • Joined: 2010/11/22 17:14:33
    • Location: Germany
    • Status: offline
    Re:HyperSnap COM Server 2012/05/08 17:05:51 (permalink)
    0
    Hi Klaus, in that case please wait, until Greg gives a comment to the topic. I myself have never worked with COM - or any other programming language. Thomas - Lesser Admin, whose Return key again does not work

    The more things stay, the more they change the sane.
    (52 > max. 0)
    Support
    Administrator
    • Total Posts : 4492
    • Scores: 29
    • Reward points: 0
    • Joined: 2010/11/22 17:14:33
    • Location: PA USA
    • Status: offline
    Re:HyperSnap COM Server 2012/05/09 07:49:36 (permalink)
    0
    Hi,
    I did not document this as there was little interest in scripting HyperSnap. Please email me at support@... address and I'll send you a sample project in C# - Visual Studio 2010.
    The methods I impemented so far in this scripting object are: 
     
    boolean ShowWindow; // set to true to show HyperSnap 7 window
    boolean CaptureWindow(long hwnd); // pass hwnd=0 for interactive capture
    boolean CaptureText(long hwnd); 
    boolean CaptureTextByWinTitle(BSTR winTitle);
    boolean Test(BSTR message); // shows a message box with the text, for testing purposes
    boolean SaveImage(BSTR saveName, BSTR sArg);
    boolean CaptureRegion(long x, long y, long sx, long sy);
    boolean ExtendedCaptureWindow(long hwnd, long sx, long sy);
    boolean CaptureWindowScrolling(long hwnd); // pass hwnd=0 for interactive capture
    boolean CopyLastCapture(); 
     
    Greg

    post edited by Support - 2012/05/09 07:52:01
    Jump to:
    © 2026 APG vNext Commercial Version 5.1