Mouse Actions マウスアクション

Mouse actions are action options used on any visible part of the skin. The action is triggered by specific mouse events.マウスアクションは、スキンの表示部分に使用されるアクションオプションです。アクションは特定のマウスイベントによって引き起こされます。

Usage使用法

  • On any meter. The target area detected by the mouse will be any non-transparent areas of the meter, or any part of the meter which has a non-transparent meter or skin background behind it.どんなメーターでも。マウスによって検出されたターゲット領域は、メーターの不透明な部分、またはその背後に不透明なメーターまたはスキンの背景があるメーターの任意の部分です。
  • In the [Rainmeter] section of the skin. The target area detected by the mouse will be any non-transparent areas of the skin.スキンの[Rainmeter]セクションにあります。マウスによって検出されたターゲット領域は、スキンの不透明な領域です。

Note: Actions defined for a meter will override actions defined in the [Rainmeter] section.注:メーターに定義されたアクションは、[Rainmeter]セクションに定義されたアクションをオーバーライドします。

Mouse Click Optionsマウスクリックオプション

Note: Mouse Click Options may be overridden by holding down CTRL while clicking.注:クリック中にCtrlキーを押したままにすると、マウスクリックオプションが無効になる場合があります。

LeftMouseDownAction

Action to execute when the left mouse button is pressed.マウスの左ボタンが押されたときに実行するアクション

Note: This disables dragging the skin. See LeftMouseUpAction.注意:これはスキンのドラッグを無効にします。LeftMouseUpActionを参照してください。

RightMouseDownAction

Action to execute when the right mouse button is pressed.マウスの右ボタンが押されたときに実行するアクション

Note: This disables the skin context menu.注意:これにより、スキンのコンテキストメニューが無効になります。

MiddleMouseDownAction

Action to execute when the middle mouse button is pressed.マウスの中央ボタンが押されたときに実行されるアクション

LeftMouseUpAction

Action to execute when the left mouse button is released.マウスの左ボタンが離されたときに実行するアクション

Note: This will generally be the desired option for a left mouse click. LeftMouseDownAction should be avoided unless there is a specific need to trap the downward press, as it will disable the ability to drag the skin.注:これは一般的にマウスの左クリックに望ましいオプションです。LeftMouseDownActionは、下方向への押し込みをトラップする必要がある場合を除き、避ける必要があります。スキンをドラッグする機能が無効になるためです。

RightMouseUpAction

Action to execute when the right mouse button is released.マウスの右ボタンが離されたときに実行されるアクション

Note: This disables the skin context menu.注意:これにより、スキンのコンテキストメニューが無効になります。

MiddleMouseUpAction

Action to execute when the middle mouse button is released.マウスの中ボタンが離されたときに実行されるアクション

LeftMouseDoubleClickAction

Action to execute when the left mouse button is double clicked.マウスの左ボタンがダブルクリックされたときに実行するアクション

Note: If LeftMouseDownAction or LeftMouseUpAction is also set, both will be executed.注:LeftMouseDownActionまたはLeftMouseUpActionが設定されている場合は、両方が実行されます。

RightMouseDoubleClickAction

Action to execute when the right mouse button is double clicked.マウスの右ボタンがダブルクリックされたときに実行するアクション

Note: This disables the skin context menu.注意:これにより、スキンのコンテキストメニューが無効になります。

MiddleMouseDoubleClickAction

Action to execute when the middle mouse button is double clicked.マウスの中ボタンがダブルクリックされたときに実行されるアクション

X1MouseDownAction, X2MouseDownAction

Action to execute when a supported extra mouse button is pressed.サポートされている追加のマウスボタンが押されたときに実行するアクション

Note: Some manufacturers and/or software have the ability to change what each extra button can do, therefore these actions may not work for everyone. It is not recommended to distribute skins that rely on these actions.注:製造元やソフトウェアによっては、追加のボタンごとに実行できる機能を変更できるため、これらの操作がすべての人に役立つわけではありません。これらのアクションに依存するスキンを配布することはお勧めできません。

X1MouseUpAction, X2MouseUpAction

Action to execute when a supported extra mouse button is released.サポートされている追加のマウスボタンが離されたときに実行するアクション

X1MouseDoubleClickAction, X2MouseDoubleClickAction

Action to execute when a supported extra mouse button is double clicked.サポートされている追加のマウスボタンがダブルクリックされたときに実行するアクション

Mouse Hover Optionsマウスホバーオプション

MouseOverAction

Action to execute when the mouse cursor is moved over the meter or skin.マウスカーソルがメーターまたはスキンの上に移動したときに実行されるアクション

MouseLeaveAction

Action to execute when the mouse cursor leaves the meter or skin.マウスカーソルがメーターまたはスキンから離れたときに実行されるアクション

Mouse Wheel Scroll Optionsマウスホイールスクロールオプション

Actions to be taken when the mouse scroll wheel is rotated while the cursor is over a skin or meter containing the option.カーソルがオプションを含むスキンまたはメーターの上にあるときにマウスのスクロールホイールを回転させたときに実行されるアクション

MouseScrollDownAction

Action to execute when the mouse wheel is rotated down.マウスホイールが下に回転したときに実行するアクション

MouseScrollUpAction

Action to execute when the mouse wheel is rotated up.マウスホイールが上に回転したときに実行するアクション

MouseScrollLeftAction

Action to execute when the mouse wheel is tilted or rotated to the left. Not all mice have this capability.マウスホイールが左に傾いたり回転したりしたときに実行されるアクションすべてのマウスにこの機能があるわけではありません。

MouseScrollRightAction

Action to execute when the mouse wheel is tilted or rotated to the right. Not all mice have this capability.マウスホイールが傾いたり右に回転したときに実行するアクションすべてのマウスにこの機能があるわけではありません。

Mouse Cursor Optionsマウスカーソルのオプション

MouseActionCursor Default: 1MouseActionCursor デフォルト: 1

When set to 1 (default) on a meter with a mouse action, a "pointer" cursor will be shown when hovering the mouse over the meter. By default this will be the "hand" cursor, but might be anything defined with MouseActionCursorName below.マウスアクションを使用してメーターで1(デフォルト)に設定すると、メーターの上にマウスを移動すると「ポインタ」カーソルが表示されます。デフォルトではこれは「手」のカーソルになりますが、MouseActionCursorName下記で定義されたものになるかもしれません。

The default for the entire skin can be set to 0 by putting MouseActionCursor=0 in the [Rainmeter] section of the skin. This can then be overridden on a meter-by-meter basis with MouseActionCursor=1.スキン全体のデフォルトは、スキンMouseActionCursor=0[Rainmeter]セクションに置くことで0に設定できます。その後、これをメートル単位で上書きすることができMouseActionCursor=1ます。

Note: If you have a meter with a mouse action, and there is a meter on top of it, you will need to set MouseActionCursor=0 on the foreground meter (even if it does not have a mouse action).注意:マウスアクションの付いたメーターがあり、その上にメーターがある場合はMouseActionCursor=0、前景メーターを設定する必要があります(たとえマウスアクションがない場合でも)。

MouseActionCursorName

If a custom cursor file (i.e. .cur or .ani) is found in @Resources\Cursors in the root config folder of a skin, it will be automatically loaded and available as an alternative for the standard "hand" pointer for meters or skins with a mouse action.カスタムカーソルファイル(.curまたは.ani)がスキンのルート設定フォルダの@Resources \ Cursorsにある場合、それは自動的にロードされ、メーターやスキンの標準の "手"ポインタの代わりとして利用可能になります。マウスアクションで。

The option can be used with MouseActionCursorName=MyCustomCursor.cur in any meter or the [Rainmeter] section. No path is used in the option. In addition, several built-in Windows cursors may be used without needing any file name or extension. Hand, Text, Help, Busy, Cross, PenこのオプションはMouseActionCursorName=MyCustomCursor.cur、任意のメーターまたは[Rainmeter]セクションで使用できます。オプションにパスが使用されていません。さらに、ファイル名や拡張子を必要とせずに、いくつかの組み込みWindowsカーソルを使用できます。Hand, Text, Help, Busy, Cross, Pen

関連記事

スポンサーリンク

{section}関数 テンプレート内で繰り返し

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る