Active Scripting

Active Scripting (ActiveX Scripting) — технология, используемая в Windows для реализации компонентных систем, использующих встраиваемые языки сценариев. Базируется на COM (Component Object Model), точнее, на Microsoft OLE Automation, и позволяет расширять лингвистические возможности установкой дополнительных COM-модулей — пользователи приложений, использующих Active Scripting, получают возможность писать макросы и сценарии на любом из языков программирования, для которого в системе установлен движок[1].

Использование и история

Технология появилась вместе с выходом Microsoft Internet Explorer 3.0 (в августе 1996 года) и продуктов Internet Information Services 3.0 (в декабре 1996 года).

Обычно приложения Active Scripting, включая серверные сценарии Active Server Pages (ASP), сценарии Internet Explorer и Windows Script Host (WSH) используются для автоматизации повседневных задач, к примеру — для сценариев входа в систему (login scripts), операций с системным реестром и тому подобным.

Каждое приложение, поддерживающее Active Scripting, предоставляет коду сценария независимую от языка программирования объектную модель[1].

Типичные движки для Active Scripting[2]:

Active Scripting стал менее популярным из-за появления PowerShell и .NET[2], но некоторое время продолжал использоваться в ситуациях, где PowerShell и .NET не был доступен (Windows Server 2008). Новые версии JScript и других инструментов Active Scripting производителем не планируются[3].

Примечания

Литература

  • John Kelbley, Mike Sterling, Allen Stewart. Windows Server 2008 Hyper-V: Insiders Guide to Microsoft's Hypervisor. — John Wiley & Sons, 2011. — P. 9–. — ISBN 978-1-118-05978-4.
  • Cliff Wootton. Developing Quality Metadata: Building Innovative Tools and Workflow Solutions. — CRC Press, 2009. — P. 290–. — ISBN 978-1-136-03354-4.
  • Mark Hammond, Andy Robinson. Active Scripting // Python Programming On Win32: Help for Windows Programmers. — "O'Reilly Media, Inc.", 2000. — 652 p. — ISBN 978-1-56592-621-9.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.