demo_intro.htm 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <HTML>
  2. <BODY>
  3. <H1>
  4. <MARQUEE NAME="Marquee1" DIRECTION=LEFT BEHAVIOR=SCROLL SCROLLAMOUNT=10 SCROLLDELAY=200
  5. >Python ActiveX Scripting Demonstation
  6. </MARQUEE>
  7. </H1>
  8. <p>Congratulations on installing the Python ActiveX Scripting Engine</p>
  9. <p>Be warned that there is a <a href="http://starship.python.net/crew/mhammond/win32/PrivacyProblem.html">privacy
  10. concern</a> with this engine. Please read this information, including how to disable the feature.</p>
  11. <H3>Object model</H3>
  12. <P>Except as described below, the object module exposed should be similar to that exposed
  13. by Visual Basic, etc. Due to the nature of ActiveX Scripting, the details for each
  14. host are different, but Python should work "correctly".
  15. <P>The object model exposed via Python for MSIE is not as seamless as VB. The biggest limitation is
  16. the concept of a "local" namespace. For example, in VB, you can
  17. code <code>text="Hi there"</code>, but in Python, you must code
  18. <code>MyForm.ThisButton.Text="Hi There"</code>. See the <A HREF="foo2.htm">foo2</A> sample
  19. for futher details.
  20. <H3>Known bugs and problems</H3>
  21. <UL>
  22. <LI><P>This release seems to have broken Aaron's mouse-trace sample. No idea why, and Im supposed to be looking into it.
  23. <LI><P>Builtin objects such as MARQUEE are giving me grief. Objects accessed via forms are generally
  24. no problem.
  25. <LI><P>If you are trying to use Python with the Windows Scripting Host, note that
  26. .pys files are not correct registered - you will need to explicitely
  27. specify either cscript.exe or wscript.exe on the command line.
  28. </UL>
  29. </BODY></HTML>