﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Extensions%3A2.6%2FPy%2FScripts%2FSystem%2FScriptEvents</id>
	<title>Extensions:2.6/Py/Scripts/System/ScriptEvents - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Extensions%3A2.6%2FPy%2FScripts%2FSystem%2FScriptEvents"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:2.6/Py/Scripts/System/ScriptEvents&amp;action=history"/>
	<updated>2026-06-17T14:52:20Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Extensions:2.6/Py/Scripts/System/ScriptEvents&amp;diff=106409&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:2.6/Py/Scripts/System/ScriptEvents&amp;diff=106409&amp;oldid=prev"/>
		<updated>2018-06-28T19:45:32Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 19:45時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Extensions:2.6/Py/Scripts/System/ScriptEvents&amp;diff=106408&amp;oldid=prev</id>
		<title>wiki&gt;Mindrones: moved Extensions:2.5/Py/Scripts/System/ScriptEvents to Extensions:2.6/Py/Scripts/System/ScriptEvents</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:2.6/Py/Scripts/System/ScriptEvents&amp;diff=106408&amp;oldid=prev"/>
		<updated>2011-12-15T02:29:48Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/Extensions:2.5/Py/Scripts/System/ScriptEvents&quot; class=&quot;mw-redirect&quot; title=&quot;Extensions:2.5/Py/Scripts/System/ScriptEvents&quot;&gt;Extensions:2.5/Py/Scripts/System/ScriptEvents&lt;/a&gt; to &lt;a href=&quot;/Extensions:2.6/Py/Scripts/System/ScriptEvents&quot; title=&quot;Extensions:2.6/Py/Scripts/System/ScriptEvents&quot;&gt;Extensions:2.6/Py/Scripts/System/ScriptEvents&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ScriptInfo&lt;br /&gt;
|name=Script Events&lt;br /&gt;
|tooltip=a versatile modal operator, an event logger, and a popup report to share with other addons.&lt;br /&gt;
|menu=Group: System&lt;br /&gt;
|version=0,1&lt;br /&gt;
|blender=2.58 r#37702&lt;br /&gt;
|author=Littleneo&lt;br /&gt;
|license=GPL&lt;br /&gt;
|link=&lt;br /&gt;
|exe=script_events init file.&lt;br /&gt;
|modules=time&lt;br /&gt;
|data=&lt;br /&gt;
|deps=&lt;br /&gt;
|usage= ops.wm.modal / context.window_manager.modal / ToolShelf : modal config, modal start, modal stop, modal status, modal report&lt;br /&gt;
|download=http://projects.blender.org/tracker/download.php/153/467/28022/17150/script_events_v02.zip&lt;br /&gt;
|bugtracker= http://projects.blender.org/tracker/?func=detail&amp;amp;aid=28022&amp;amp;group_id=153&amp;amp;atid=467&lt;br /&gt;
|warning= Should work on Mac and nux ?}}&lt;br /&gt;
=== Usage, Feature ===&lt;br /&gt;
&lt;br /&gt;
this addon can be used to catch keys or mouse events, to trigger a function during a frame change or an animation render, to run scheduled functions etc.. this is an embedded and more reliable version of the modal templates bundled with blender.&lt;br /&gt;
more reliable because it takes care for you of the tricky part and avoid to have more than one instance to run at a time.&lt;br /&gt;
also, any change to the configuration will apply immediately even if the operator is already running:&lt;br /&gt;
* change the function calls to the hud and the modal function,&lt;br /&gt;
* enable/disable the event timer or the hud,&lt;br /&gt;
* change the timer latency,&lt;br /&gt;
can be done while running.&lt;br /&gt;
&lt;br /&gt;
the addon also provides some log facilities, with timestamp, errorlevel and blender runtime.&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
* Download the script then unzip it into your /scripts/addons folder.&lt;br /&gt;
* Open Blender and go to the addons tab in User Preferences.&lt;br /&gt;
* Select the System category and enable Script Events.&lt;br /&gt;
&lt;br /&gt;
=== Instructions ===&lt;br /&gt;
&lt;br /&gt;
The modal operator can be configured and managed from the user interface and from your code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== from the toolshelf =====&lt;br /&gt;
&lt;br /&gt;
ui has not been attached to the blender ui to remain silent while your script use it. but a popup interface and some common operators are available from the toolshelf :&lt;br /&gt;
&lt;br /&gt;
[[File:Script_events1.png]][[File:Script_events3.png]]&lt;br /&gt;
&lt;br /&gt;
* the first checkbox is used to start or stop the modal,&lt;br /&gt;
* the first text field modal_example is the name of the function that will be executed by the modal,&lt;br /&gt;
* the timer checkbox instructs wether to add an event timer or not. interval is the timer latency,&lt;br /&gt;
* the hud chekbox enable or disable a hud in the viewport. here, default_hud is the name of the hud function (the bgl code),&lt;br /&gt;
* quiet enable or disable the popup report,&lt;br /&gt;
* debug displays various info about the addon life.&lt;br /&gt;
* the last button on the left will restore the modal default values&lt;br /&gt;
* the two other buttons display or hide the console and reports the last events in the console&lt;br /&gt;
&lt;br /&gt;
[[File:Script_events2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== from python =====&lt;br /&gt;
&lt;br /&gt;
bpy.ops.wm.modal_start()&lt;br /&gt;
&lt;br /&gt;
bpy.ops.wm.modal_stop()&lt;br /&gt;
&lt;br /&gt;
bpy.context.window_manager.modal.status = True&lt;br /&gt;
&lt;br /&gt;
bpy.context.window_manager.modal.timer = True&lt;br /&gt;
&lt;br /&gt;
bpy.context.window_manager.modal.timer_refresh = 0.2&lt;br /&gt;
&lt;br /&gt;
bpy.context.window_manager.modal.hud = False&lt;br /&gt;
&lt;br /&gt;
bpy.context.window_manager.modal.func = 'myModalFunc(self,context,spam)'&lt;br /&gt;
&lt;br /&gt;
=== Support ===&lt;br /&gt;
----&lt;br /&gt;
* [http://blenderartists.org/forum/showthread.php?225147-script-events-a-versatile-modal-and-a-logger-for-your-scripts-addons Thread][http://blenderartists.org/forum/showthread.php?225147-script-events-a-versatile-modal-and-a-logger-for-your-scripts-addons] at Blender Artists.&lt;br /&gt;
----&lt;br /&gt;
* Back to [[Extensions:2.5/Py/Scripts]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- This is temporary hide-tab for rest of the text&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
''Editor info:'' Config options available in the script's gui or via the Scripts Config Editor.&lt;br /&gt;
{{ConfigOptions&lt;br /&gt;
|name=Option name&lt;br /&gt;
|type=TYPE&lt;br /&gt;
|default=Default value&lt;br /&gt;
|explanation=Short explanation.&lt;br /&gt;
}}&lt;br /&gt;
{{ConfigOptions&lt;br /&gt;
|name=Option name&lt;br /&gt;
|type=TYPE&lt;br /&gt;
|default=Default value&lt;br /&gt;
|explanation=Short explanation.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
----&lt;br /&gt;
=====Function Calls : =====&lt;br /&gt;
*&lt;br /&gt;
*&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
=====blah:=====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====blah:=====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&lt;br /&gt;
*link 1&lt;br /&gt;
*link 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
''Editor info:''Explain what the script does, where the idea came from, what it is related to, why it is useful, etc.&lt;br /&gt;
&lt;br /&gt;
Use the script's UI tooltip. ''We need to allow multi-line tips (popups) in Blender, the current limit is not enough and we end up with ugly long lines.''&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
=== Instructions ===&lt;br /&gt;
&lt;br /&gt;
''Editor info:'' How to use the script&lt;br /&gt;
&lt;br /&gt;
=== Shortcuts ===&lt;br /&gt;
&lt;br /&gt;
''Editor info:'' List of shortcuts used by the script, if any. Mostly relevant for scripts with guis. We should of course standardize basic ones: ESC to cancel, ESC and q to quit, etc. Follow the rules in [[Meta/Templates]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
''Editor info:'' Usage notes, there is also a section for general notes at the end.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
''Editor info:'' Miscellaneous notes on the script.&lt;br /&gt;
&lt;br /&gt;
== Compatibility ==&lt;br /&gt;
&lt;br /&gt;
''Editor info:'' Relevant for IO scripts, note how complete they are in regards to the file format specification and/or compatiblity with other programs that can read the same format.&lt;br /&gt;
&lt;br /&gt;
== Additional Information ==&lt;br /&gt;
&lt;br /&gt;
''Editor info:'' placeholder for additional information.&lt;br /&gt;
&lt;br /&gt;
=== To-Do list ===&lt;br /&gt;
* the first&lt;br /&gt;
* the ..&lt;br /&gt;
&lt;br /&gt;
=== Credits ===&lt;br /&gt;
Thanks go to:&lt;br /&gt;
* Name (AKA nickname) for what...&lt;br /&gt;
* Name ...&lt;br /&gt;
&lt;br /&gt;
=== History ===&lt;br /&gt;
&lt;br /&gt;
 v1.00 - YYYY.MM.DD by Author_name&lt;br /&gt;
 - add/fix&lt;br /&gt;
 v0.99 - YYYY.MM.DD by Author_name&lt;br /&gt;
 - add/fix&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>wiki&gt;Mindrones</name></author>
		
	</entry>
</feed>