diff --git a/AutoDuck/pywin32.mak b/AutoDuck/pywin32.mak index b6dd33464a..e0e6451de3 100644 --- a/AutoDuck/pywin32.mak +++ b/AutoDuck/pywin32.mak @@ -27,7 +27,6 @@ HTML_FILES = $(WIN32_HELP_DIR)\*.html \ $(WIN32COM_DIR)/HTML/*.html \ $(WIN32COM_DIR)/HTML/image/* \ $(WIN32COM_HELP_DIR)/*.htm* \ - $(WIN32COMEXT_DIR)/axscript/demos/client/ie/* \ $(ISAPI_DIR)/doc/*.html \ $(PYTHONWIN_DIR)/readme.html $(PYTHONWIN_DIR)/doc/* $(PYTHONWIN_DIR)/doc/debugger/* \ ../CHANGES.txt \ diff --git a/com/win32com/HTML/docindex.html b/com/win32com/HTML/docindex.html index 9a82cb6409..973a330733 100644 --- a/com/win32com/HTML/docindex.html +++ b/com/win32com/HTML/docindex.html @@ -18,6 +18,4 @@

PythonCOM Documentation Index

A brief description of the win32com package structure

Python COM Implementation documentation

Misc stuff I don't know where to put anywhere else

-

ActiveX Scripting

-

ActiveX Scripting Demos

diff --git a/com/win32comext/axscript/client/framework.py b/com/win32comext/axscript/client/framework.py index 69e8cc5543..761b84f5cd 100644 --- a/com/win32comext/axscript/client/framework.py +++ b/com/win32comext/axscript/client/framework.py @@ -510,16 +510,6 @@ def FindBuildSubItemEvents(self): result = self.dispatch.Invoke( dispid, 0x0, pythoncom.DISPATCH_PROPERTYGET, 1 ) - # IE has an interesting problem - there are lots of synonyms for the same object. Eg - # in a simple form, "window.top", "window.window", "window.parent", "window.self" - # all refer to the same object. Our event implementation code does not differentiate - # eg, "window_onload" will fire for *all* objects named "window". Thus, - # "window" and "window.window" will fire the same event handler :( - # One option would be to check if the sub-object is indeed the - # parent object - however, this would stop "top_onload" from firing, - # as no event handler for "top" would work. - # I think we simply need to connect to a *single* event handler. - # As use in IE is deprecated, I am not solving this now. if isinstance( result, pythoncom.TypeIIDs[pythoncom.IID_IDispatch] ): @@ -527,18 +517,6 @@ def FindBuildSubItemEvents(self): subObj = self.GetCreateSubItem( self, name, result, axscript.SCRIPTITEM_ISVISIBLE ) - # print( - # "subobj", - # name, - # "flags are", - # subObj.flags, - # "mydisp=", - # self.dispatch, - # "result disp=", - # result, - # "compare=", - # self.dispatch == result, - # ) subObj.BuildEvents() subObj.Register() except pythoncom.com_error: @@ -727,15 +705,6 @@ def ParseProcedureText( startingLineNumber, flags, ) - # NOTE - this is never called, as we have disabled this interface. - # Problem is, once enabled all even code comes via here, rather than AddScriptlet. - # However, the "procName" is always an empty string - ie, itemName is the object whose event we are handling, - # but no idea what the specific event is!? - # Problem is disabling this block is that AddScriptlet is _not_ passed - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chart Type
Simple Pie Simple Column
Pie with Wedge Out Stacked Column
Simple Point Full Column
Stacked Point Simple Bar
Full Point Stacked Bar
Simple Line Full Bar
Stacked Line HLC Stock
Full Line HLC Stock WSJ
Simple Area OHLC Stock
Stack Area OHLC Stock WSJ
Full Area
- - - - - - - - - - - - - -
Gridlines
Horizontal
Vertical
Background
Opaque
Transparent
- -
-
- - - -
-

- -
-Notes
-The chart's properties on this page are changed by selecting the various radio buttons and check boxes. The OnClick event of these intrinsic controls calls VBScript procedures that change the chart properties.
-

-The About Chart Control command button calls the chart's AboutBox method.
-

-To view the source code for this page, select Source from the View menu.
-

-If you have any questions or comments about this example, please send them to billr@smart.net. We would appreciate feedback and would like to hear about other developers' experiences with these new tools.
- - -


- - - - - -
- -© 1996 Rollins & Associates, Inc.
-Page last updated 08/28/96
-Please send comments to billr@smart.net
-
-
- - diff --git a/com/win32comext/axscript/demos/client/ie/FOO.HTM b/com/win32comext/axscript/demos/client/ie/FOO.HTM deleted file mode 100644 index 5565025424..0000000000 --- a/com/win32comext/axscript/demos/client/ie/FOO.HTM +++ /dev/null @@ -1,46 +0,0 @@ - - -Let's try this out: - -
- - - - - - -
-And here is a second form -

-

- -

- - - - - - - - - diff --git a/com/win32comext/axscript/demos/client/ie/MarqueeText1.htm b/com/win32comext/axscript/demos/client/ie/MarqueeText1.htm deleted file mode 100644 index d4ba275d67..0000000000 --- a/com/win32comext/axscript/demos/client/ie/MarqueeText1.htm +++ /dev/null @@ -1,24 +0,0 @@ - - - - Internet Workshop - - - - -

-
-

Python AX Script Engine -
Demo using the Marquee Control -
Mark Hammond. - -

This is really quite a boring demo, as the Marquee control does everything. However, there is Python code behind the buttons that change the speed. This code is all of 2 lines per button!!! - -

For more information on Python as an ActiveX scripting language, see - -

Python -
https://www.python.org - -
- - diff --git a/com/win32comext/axscript/demos/client/ie/calc.htm b/com/win32comext/axscript/demos/client/ie/calc.htm deleted file mode 100644 index b9bfe63f31..0000000000 --- a/com/win32comext/axscript/demos/client/ie/calc.htm +++ /dev/null @@ -1,115 +0,0 @@ - -Python Script sample: Calculator - - - - -

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Calculator

- -
diff --git a/com/win32comext/axscript/demos/client/ie/dbgtest.htm b/com/win32comext/axscript/demos/client/ie/dbgtest.htm deleted file mode 100644 index a36d83ceee..0000000000 --- a/com/win32comext/axscript/demos/client/ie/dbgtest.htm +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - diff --git a/com/win32comext/axscript/demos/client/ie/demo.htm b/com/win32comext/axscript/demos/client/ie/demo.htm deleted file mode 100644 index a1f72813cf..0000000000 --- a/com/win32comext/axscript/demos/client/ie/demo.htm +++ /dev/null @@ -1,25 +0,0 @@ - - -Python AXScript Demos - - - - - - - - - - - - diff --git a/com/win32comext/axscript/demos/client/ie/demo_check.htm b/com/win32comext/axscript/demos/client/ie/demo_check.htm deleted file mode 100644 index 8dd2cd12d7..0000000000 --- a/com/win32comext/axscript/demos/client/ie/demo_check.htm +++ /dev/null @@ -1,39 +0,0 @@ - -

Engine Registration

- - - -

The Python ActiveX Scripting Engine is not currently registered.

- -

Due to a -privacy concern discovered in the engine, the use of Python inside IE has been disabled.

- -Before any of the supplied demos will work, the engine must be successfully registered. - -

To install a version of the engine, that does work with IE, you can execute the Python program -win32com\axscript\client\pyscript_rexec.py must be run. You can either do this manually, or follow the instructions below.

- -

Register the engine now!

- -

If you have read about the -privacy concern and still wish to register the engine, just follow the process outlined below:

-
    -
  1. Click on the link below -
  2. A dialog will be presented asking if the file should be opened or saved to disk. Select "Open it". -
  3. A Console program will briefly open, while the server is registered. -
- -

Register the engine now - -

Checking the registration

-After the registration is complete, simply hit the Reload button. If the -registration was successful, the page will change to the Python/AvtiveX Demo Page. - - - - diff --git a/com/win32comext/axscript/demos/client/ie/demo_intro.htm b/com/win32comext/axscript/demos/client/ie/demo_intro.htm deleted file mode 100644 index a7519ffa2f..0000000000 --- a/com/win32comext/axscript/demos/client/ie/demo_intro.htm +++ /dev/null @@ -1,37 +0,0 @@ - - - -

- Python ActiveX Scripting Demonstation - -

- -

Congratulations on installing the Python ActiveX Scripting Engine

- -

Be warned that there is a -privacy concern with this engine. Please read this information, including how to disable the feature.

- - -

Object model

-

Except as described below, the object module exposed should be similar to that exposed -by Visual Basic, etc. Due to the nature of ActiveX Scripting, the details for each -host are different, but Python should work "correctly". - -

The object model exposed via Python for MSIE is not as seamless as VB. The biggest limitation is -the concept of a "local" namespace. For example, in VB, you can -code text="Hi there", but in Python, you must code -MyForm.ThisButton.Text="Hi There". See the foo2 sample -for futher details. - -

Known bugs and problems

- - - diff --git a/com/win32comext/axscript/demos/client/ie/demo_menu.htm b/com/win32comext/axscript/demos/client/ie/demo_menu.htm deleted file mode 100644 index e83c3d5b19..0000000000 --- a/com/win32comext/axscript/demos/client/ie/demo_menu.htm +++ /dev/null @@ -1,14 +0,0 @@ - - -

Scripting Demos

-

An Introduction to the -scripting engine. - -

The Calculator Demo is a very -cool sample written by Aaron Watters. - -

Mouse track is another of -Aaron's samples, and shows how fast the Python engine is! - -

The foo2 sample is mainly used -for debugging and testing, but does show some forms in action. diff --git a/com/win32comext/axscript/demos/client/ie/docwrite.htm b/com/win32comext/axscript/demos/client/ie/docwrite.htm deleted file mode 100644 index c95b7902eb..0000000000 --- a/com/win32comext/axscript/demos/client/ie/docwrite.htm +++ /dev/null @@ -1,25 +0,0 @@ - - -A page generated by Python - - - - - - - diff --git a/com/win32comext/axscript/demos/client/ie/foo2.htm b/com/win32comext/axscript/demos/client/ie/foo2.htm deleted file mode 100644 index 7849dfb8db..0000000000 --- a/com/win32comext/axscript/demos/client/ie/foo2.htm +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - -

The caption on the first button is set by the Window Load code. Clicking -that button changes the text in the first edit box. - -

The second button changes its own text when clicked. - -

The fourth button calls a global function, defined in the global 'script' scope, -rather than the 'MyForm' scope. - -

- - - - - - - - - - - -

-

-And here is a second form -

-

- - - - - - - -

- - - - - - - - - diff --git a/com/win32comext/axscript/demos/client/ie/form.htm b/com/win32comext/axscript/demos/client/ie/form.htm deleted file mode 100644 index 97a239f362..0000000000 --- a/com/win32comext/axscript/demos/client/ie/form.htm +++ /dev/null @@ -1,25 +0,0 @@ - - - -
- Name
- Address
- - - - - - - - diff --git a/com/win32comext/axscript/demos/client/ie/marqueeDemo.htm b/com/win32comext/axscript/demos/client/ie/marqueeDemo.htm deleted file mode 100644 index 0716d5ed4d..0000000000 --- a/com/win32comext/axscript/demos/client/ie/marqueeDemo.htm +++ /dev/null @@ -1,59 +0,0 @@ - - - - Internet Workshop - - - - -

-
-

Marquee Demo - -

- - - - - - - - - - -

- - - - - - - - -

  -


-Notes: -

- - - - - diff --git a/com/win32comext/axscript/demos/client/ie/mousetrack.htm b/com/win32comext/axscript/demos/client/ie/mousetrack.htm deleted file mode 100644 index c12aa94942..0000000000 --- a/com/win32comext/axscript/demos/client/ie/mousetrack.htm +++ /dev/null @@ -1,82 +0,0 @@ - - -Python Scripting sample: Mouse tracking - - - - -
- - -
 
-
- -

-A mouse tracking demo. Move the mouse over the image above... - - - -

- - - - - diff --git a/com/win32comext/axscript/demos/client/ie/pycom_blowing.gif b/com/win32comext/axscript/demos/client/ie/pycom_blowing.gif deleted file mode 100644 index 0d65a29289..0000000000 Binary files a/com/win32comext/axscript/demos/client/ie/pycom_blowing.gif and /dev/null differ diff --git a/setup.py b/setup.py index 94af5badce..baa1743c18 100644 --- a/setup.py +++ b/setup.py @@ -2085,7 +2085,6 @@ def convert_optional_data_files(files): "com/win32comext/axscript/test/*.vbs", "com/win32comext/axscript/Demos/*.pys", "com/win32comext/axscript/Demos/*.htm*", - "com/win32comext/axscript/Demos/*.gif", "com/win32comext/axscript/Demos/*.asp", "com/win32comext/mapi/demos/*.py", "com/win32comext/propsys/test/*.py",