Skip to content

Implement 'Custom' Mouse Pointer Style #1

@justingarfield

Description

@justingarfield

Right now this repository only supports White, Black, and Inverted options for Accessibility -> Mouse pointer and touch -> Mouse Pointer Style.

If the need arises, may want to implement Custom option as well. This is a bit more involved though, as when you choose Custom, it not only sets the Registry Keys/Values below, but also generates a separate copy of every Cursor file with the selected color to the user's %LOCALAPPDATA%\Microsoft\Windows\Cursors folder.

Custom = [MousePointerStyle]::new(
    "Windows Aero",                         # Name
    "$appDataLocalCursors\busy_eoa.cur",    # AppStarting
    "$appDataLocalCursors\arrow_eoa.cur",   # Arrow
    "$appDataLocalCursors\cross_eoa.cur",   # Crosshair
    6,                                      # CursorType
    "$appDataLocalCursors\link_eoa.cur",    # Hand
    "$appDataLocalCursors\helpsel_eoa.cur", # Help
    "$appDataLocalCursors\ibeam_eoa.cur",   # IBeam
    "$appDataLocalCursors\unavail_eoa.cur", # No
    "$appDataLocalCursors\pen_eoa.cur",     # NWPen
    2,                                      # SchemeSource
    "$appDataLocalCursors\move_eoa.cur",    # SizeAll
    "$appDataLocalCursors\nesw_eoa.cur",    # SizeNESW
    "$appDataLocalCursors\ns_eoa.cur",      # SizeNS
    "$appDataLocalCursors\nwse_eoa.cur",    # SizeNWSE
    "$appDataLocalCursors\ew_eoa.cur",      # SizeWE
    "$appDataLocalCursors\up_eoa.cur",      # UpArrow
    "$appDataLocalCursors\wait_eoa.cur"     # Wait
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Low PriorityThis is a 'nice to have', but most likely will never be worked on.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions