смена темы курсора мыши
Цитата: Валерий от 07.08.2024, 15:27Здравствуйте!
Напишите, пожалуйста, программу для смены темы курсора мыши. Хочется что-бы работала прямо из командной строки и что-бы с ей помощью можно было установить новую тему (набор курсоров) так и переключать уже установленные.
Здравствуйте!
Напишите, пожалуйста, программу для смены темы курсора мыши. Хочется что-бы работала прямо из командной строки и что-бы с ей помощью можно было установить новую тему (набор курсоров) так и переключать уже установленные.
Цитата: ЯR от 08.08.2024, 10:22Валерий, добрый день.
Немного оффтопа (совсем чуть-чуть):
Если желание сменить пак курсоров связана со сменой темы оформления в системе, то могу предложить внести некоторые правки в файл *.theme. При смене темы будет меняться и курсор.
При каждой теме оформления, присутствует файл настроек с расширением .theme. Его можно открыть любым текстовым редактором.
В этом файле есть блок [Control Panel\Cursors], в нём и расписаны пути к курсорам, которые должны подхватиться темой при смене.
Скопируйте ваш пак в директориюC:\Windows\Cursors(желательно, в отдельную папку) и пропишите все пути курсоров, соответственно их отображению.
Мои настройки в одной из кастомных тем.
Валерий, добрый день.
Немного оффтопа (совсем чуть-чуть):
Если желание сменить пак курсоров связана со сменой темы оформления в системе, то могу предложить внести некоторые правки в файл *.theme. При смене темы будет меняться и курсор.
При каждой теме оформления, присутствует файл настроек с расширением .theme. Его можно открыть любым текстовым редактором.
В этом файле есть блок [Control Panel\Cursors], в нём и расписаны пути к курсорам, которые должны подхватиться темой при смене.
Скопируйте ваш пак в директорию СкопированоC:\Windows\Cursors (желательно, в отдельную папку) и пропишите все пути курсоров, соответственно их отображению.
Мои настройки в одной из кастомных тем.
Цитата: Валерий от 08.08.2024, 14:14Цитата: ЯR от 08.08.2024, 10:22Валерий, добрый день.
Немного оффтопа (совсем чуть-чуть):
Если желание сменить пак курсоров связана со сменой темы оформления в системе, то могу предложить внести некоторые правки в файл *.theme. При смене темы будет меняться и курсор.
При каждой теме оформления, присутствует файл настроек с расширением .theme. Его можно открыть любым текстовым редактором.
В этом файле есть блок [Control Panel\Cursors], в нём и расписаны пути к курсорам, которые должны подхватиться темой при смене.
Скопируйте ваш пак в директориюC:\Windows\Cursors(желательно, в отдельную папку) и пропишите все пути курсоров, соответственно их отображению.
Мои настройки в одной из кастомных тем.Доброго дня! Очень любопытное решение. Но ведь, насколько я знаю, тему нельзя поменять если Windows не активирован?
Цитата: ЯR от 08.08.2024, 10:22Валерий, добрый день.
Немного оффтопа (совсем чуть-чуть):
Если желание сменить пак курсоров связана со сменой темы оформления в системе, то могу предложить внести некоторые правки в файл *.theme. При смене темы будет меняться и курсор.
При каждой теме оформления, присутствует файл настроек с расширением .theme. Его можно открыть любым текстовым редактором.
В этом файле есть блок [Control Panel\Cursors], в нём и расписаны пути к курсорам, которые должны подхватиться темой при смене.
Скопируйте ваш пак в директориюСкопированоC:\Windows\Cursors(желательно, в отдельную папку) и пропишите все пути курсоров, соответственно их отображению.
Мои настройки в одной из кастомных тем.
Доброго дня! Очень любопытное решение. Но ведь, насколько я знаю, тему нельзя поменять если Windows не активирован?
Цитата: Mikhail от 08.08.2024, 15:32Привет.
Можно такой код попробовать, я на примере белых от Хачатура сделал, работает, но выбрать нужно вручную потом, либо перезагрузка.
Батник лежит рядом с курсорами.
[spoiler title="Примерный код"]@echo off chcp 65001 >nul set "CUR_DIR=Cursors\Inspired by Adobe by XpucT (Light by Midnight)" set "SCHEME_NAME=Inspired by Adobe by XpucT (Light by Midnight)" set "pointer=01 XpucT (Light by Midnight) - normal.cur" set "help=02 XpucT (Light by Midnight) - help.cur" set "work=03 XpucT (Light by Midnight) - working.ani" set "busy=04 XpucT (Light by Midnight) - busy.ani" set "cross=05 XpucT (Light by Midnight) - precision.cur" set "text=06 XpucT (Light by Midnight) - text.cur" set "hand=07 XpucT (Light by Midnight) - handwriting.cur" set "unavailiable=08 XpucT (Light by Midnight) - unavailable.cur" set "vert=09 XpucT (Light by Midnight) - vertical.ani" set "horz=10 XpucT (Light by Midnight) - horizontal.ani" set "dgn1=11 XpucT (Light by Midnight) - diagonal1.ani" set "dgn2=12 XpucT (Light by Midnight) - diagonal2.ani" set "move=13 XpucT (Light by Midnight) - move.cur" set "alternate=14 XpucT (Light by Midnight) - alternate.cur" set "link=15 XpucT (Light by Midnight) - link.cur" set "pin=16 XpucT (Light by Midnight) - pin.cur" set "person=17 XpucT (Light by Midnight) - person.cur" powershell -Command "if (-Not (Test-Path \"%SystemRoot%\%CUR_DIR%\")) { New-Item -Path \"%SystemRoot%\%CUR_DIR%\" -ItemType Directory }" copy "%~dp0%pointer%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%help%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%work%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%busy%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%cross%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%text%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%hand%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%unavailiable%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%vert%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%horz%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%dgn1%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%dgn2%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%move%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%alternate%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%link%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%pin%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%person%" "%SystemRoot%\%CUR_DIR%\" reg add "HKCU\Control Panel\Cursors\Schemes" /v "%SCHEME_NAME%" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%,%SystemRoot%\%CUR_DIR%\%help%,%SystemRoot%\%CUR_DIR%\%work%,%SystemRoot%\%CUR_DIR%\%busy%,%SystemRoot%\%CUR_DIR%\%cross%,%SystemRoot%\%CUR_DIR%\%text%,%SystemRoot%\%CUR_DIR%\%hand%,%SystemRoot%\%CUR_DIR%\%unavailiable%,%SystemRoot%\%CUR_DIR%\%vert%,%SystemRoot%\%CUR_DIR%\%horz%,%SystemRoot%\%CUR_DIR%\%dgn1%,%SystemRoot%\%CUR_DIR%\%dgn2%,%SystemRoot%\%CUR_DIR%\%move%,%SystemRoot%\%CUR_DIR%\%alternate%,%SystemRoot%\%CUR_DIR%\%link%,%SystemRoot%\%CUR_DIR%\%pin%,%SystemRoot%\%CUR_DIR%\%person%" /f reg add "HKCU\Control Panel\Cursors" /v "Arrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%" /f reg add "HKCU\Control Panel\Cursors" /v "Help" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%help%" /f reg add "HKCU\Control Panel\Cursors" /v "AppStarting" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%work%" /f reg add "HKCU\Control Panel\Cursors" /v "Wait" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%busy%" /f reg add "HKCU\Control Panel\Cursors" /v "Crosshair" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%cross%" /f reg add "HKCU\Control Panel\Cursors" /v "IBeam" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%text%" /f reg add "HKCU\Control Panel\Cursors" /v "NWPen" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%hand%" /f reg add "HKCU\Control Panel\Cursors" /v "No" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%unavailiable%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNS" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%vert%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeWE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%horz%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNWSE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn1%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNESW" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn2%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeAll" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%move%" /f reg add "HKCU\Control Panel\Cursors" /v "UpArrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%alternate%" /f reg add "HKCU\Control Panel\Cursors" /v "Hand" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%link%" /f reg add "HKCU\Control Panel\Cursors" /v "Pin" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pin%" /f reg add "HKCU\Control Panel\Cursors" /v "Person" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%person%" /f echo Курсоры "%SCHEME_NAME%" установлены. pause[/spoiler]
Привет.
Можно такой код попробовать, я на примере белых от Хачатура сделал, работает, но выбрать нужно вручную потом, либо перезагрузка.
Батник лежит рядом с курсорами.
@echo off
chcp 65001 >nul
set "CUR_DIR=Cursors\Inspired by Adobe by XpucT (Light by Midnight)"
set "SCHEME_NAME=Inspired by Adobe by XpucT (Light by Midnight)"
set "pointer=01 XpucT (Light by Midnight) - normal.cur"
set "help=02 XpucT (Light by Midnight) - help.cur"
set "work=03 XpucT (Light by Midnight) - working.ani"
set "busy=04 XpucT (Light by Midnight) - busy.ani"
set "cross=05 XpucT (Light by Midnight) - precision.cur"
set "text=06 XpucT (Light by Midnight) - text.cur"
set "hand=07 XpucT (Light by Midnight) - handwriting.cur"
set "unavailiable=08 XpucT (Light by Midnight) - unavailable.cur"
set "vert=09 XpucT (Light by Midnight) - vertical.ani"
set "horz=10 XpucT (Light by Midnight) - horizontal.ani"
set "dgn1=11 XpucT (Light by Midnight) - diagonal1.ani"
set "dgn2=12 XpucT (Light by Midnight) - diagonal2.ani"
set "move=13 XpucT (Light by Midnight) - move.cur"
set "alternate=14 XpucT (Light by Midnight) - alternate.cur"
set "link=15 XpucT (Light by Midnight) - link.cur"
set "pin=16 XpucT (Light by Midnight) - pin.cur"
set "person=17 XpucT (Light by Midnight) - person.cur"
powershell -Command "if (-Not (Test-Path \"%SystemRoot%\%CUR_DIR%\")) { New-Item -Path \"%SystemRoot%\%CUR_DIR%\" -ItemType Directory }"
copy "%~dp0%pointer%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%help%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%work%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%busy%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%cross%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%text%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%hand%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%unavailiable%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%vert%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%horz%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%dgn1%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%dgn2%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%move%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%alternate%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%link%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%pin%" "%SystemRoot%\%CUR_DIR%\"
copy "%~dp0%person%" "%SystemRoot%\%CUR_DIR%\"
reg add "HKCU\Control Panel\Cursors\Schemes" /v "%SCHEME_NAME%" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%,%SystemRoot%\%CUR_DIR%\%help%,%SystemRoot%\%CUR_DIR%\%work%,%SystemRoot%\%CUR_DIR%\%busy%,%SystemRoot%\%CUR_DIR%\%cross%,%SystemRoot%\%CUR_DIR%\%text%,%SystemRoot%\%CUR_DIR%\%hand%,%SystemRoot%\%CUR_DIR%\%unavailiable%,%SystemRoot%\%CUR_DIR%\%vert%,%SystemRoot%\%CUR_DIR%\%horz%,%SystemRoot%\%CUR_DIR%\%dgn1%,%SystemRoot%\%CUR_DIR%\%dgn2%,%SystemRoot%\%CUR_DIR%\%move%,%SystemRoot%\%CUR_DIR%\%alternate%,%SystemRoot%\%CUR_DIR%\%link%,%SystemRoot%\%CUR_DIR%\%pin%,%SystemRoot%\%CUR_DIR%\%person%" /f
reg add "HKCU\Control Panel\Cursors" /v "Arrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%" /f
reg add "HKCU\Control Panel\Cursors" /v "Help" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%help%" /f
reg add "HKCU\Control Panel\Cursors" /v "AppStarting" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%work%" /f
reg add "HKCU\Control Panel\Cursors" /v "Wait" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%busy%" /f
reg add "HKCU\Control Panel\Cursors" /v "Crosshair" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%cross%" /f
reg add "HKCU\Control Panel\Cursors" /v "IBeam" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%text%" /f
reg add "HKCU\Control Panel\Cursors" /v "NWPen" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%hand%" /f
reg add "HKCU\Control Panel\Cursors" /v "No" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%unavailiable%" /f
reg add "HKCU\Control Panel\Cursors" /v "SizeNS" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%vert%" /f
reg add "HKCU\Control Panel\Cursors" /v "SizeWE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%horz%" /f
reg add "HKCU\Control Panel\Cursors" /v "SizeNWSE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn1%" /f
reg add "HKCU\Control Panel\Cursors" /v "SizeNESW" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn2%" /f
reg add "HKCU\Control Panel\Cursors" /v "SizeAll" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%move%" /f
reg add "HKCU\Control Panel\Cursors" /v "UpArrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%alternate%" /f
reg add "HKCU\Control Panel\Cursors" /v "Hand" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%link%" /f
reg add "HKCU\Control Panel\Cursors" /v "Pin" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pin%" /f
reg add "HKCU\Control Panel\Cursors" /v "Person" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%person%" /f
echo Курсоры "%SCHEME_NAME%" установлены.
pause
Цитата: Валерий от 09.08.2024, 06:57Цитата: Mikhail от 08.08.2024, 15:32Привет.
Можно такой код попробовать, я на примере белых от Хачатура сделал, работает, но выбрать нужно вручную потом, либо перезагрузка.
Батник лежит рядом с курсорами.
[spoiler title="Примерный код"]@echo offchcp 65001 >nulset "CUR_DIR=Cursors\Inspired by Adobe by XpucT (Light by Midnight)"set "SCHEME_NAME=Inspired by Adobe by XpucT (Light by Midnight)"set "pointer=01 XpucT (Light by Midnight) - normal.cur"set "help=02 XpucT (Light by Midnight) - help.cur"set "work=03 XpucT (Light by Midnight) - working.ani"set "busy=04 XpucT (Light by Midnight) - busy.ani"set "cross=05 XpucT (Light by Midnight) - precision.cur"set "text=06 XpucT (Light by Midnight) - text.cur"set "hand=07 XpucT (Light by Midnight) - handwriting.cur"set "unavailiable=08 XpucT (Light by Midnight) - unavailable.cur"set "vert=09 XpucT (Light by Midnight) - vertical.ani"set "horz=10 XpucT (Light by Midnight) - horizontal.ani"set "dgn1=11 XpucT (Light by Midnight) - diagonal1.ani"set "dgn2=12 XpucT (Light by Midnight) - diagonal2.ani"set "move=13 XpucT (Light by Midnight) - move.cur"set "alternate=14 XpucT (Light by Midnight) - alternate.cur"set "link=15 XpucT (Light by Midnight) - link.cur"set "pin=16 XpucT (Light by Midnight) - pin.cur"set "person=17 XpucT (Light by Midnight) - person.cur"powershell -Command "if (-Not (Test-Path \"%SystemRoot%\%CUR_DIR%\")) { New-Item -Path \"%SystemRoot%\%CUR_DIR%\" -ItemType Directory }"copy "%~dp0%pointer%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%help%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%work%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%busy%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%cross%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%text%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%hand%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%unavailiable%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%vert%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%horz%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%dgn1%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%dgn2%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%move%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%alternate%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%link%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%pin%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%person%" "%SystemRoot%\%CUR_DIR%\"reg add "HKCU\Control Panel\Cursors\Schemes" /v "%SCHEME_NAME%" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%,%SystemRoot%\%CUR_DIR%\%help%,%SystemRoot%\%CUR_DIR%\%work%,%SystemRoot%\%CUR_DIR%\%busy%,%SystemRoot%\%CUR_DIR%\%cross%,%SystemRoot%\%CUR_DIR%\%text%,%SystemRoot%\%CUR_DIR%\%hand%,%SystemRoot%\%CUR_DIR%\%unavailiable%,%SystemRoot%\%CUR_DIR%\%vert%,%SystemRoot%\%CUR_DIR%\%horz%,%SystemRoot%\%CUR_DIR%\%dgn1%,%SystemRoot%\%CUR_DIR%\%dgn2%,%SystemRoot%\%CUR_DIR%\%move%,%SystemRoot%\%CUR_DIR%\%alternate%,%SystemRoot%\%CUR_DIR%\%link%,%SystemRoot%\%CUR_DIR%\%pin%,%SystemRoot%\%CUR_DIR%\%person%" /freg add "HKCU\Control Panel\Cursors" /v "Arrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%" /freg add "HKCU\Control Panel\Cursors" /v "Help" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%help%" /freg add "HKCU\Control Panel\Cursors" /v "AppStarting" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%work%" /freg add "HKCU\Control Panel\Cursors" /v "Wait" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%busy%" /freg add "HKCU\Control Panel\Cursors" /v "Crosshair" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%cross%" /freg add "HKCU\Control Panel\Cursors" /v "IBeam" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%text%" /freg add "HKCU\Control Panel\Cursors" /v "NWPen" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%hand%" /freg add "HKCU\Control Panel\Cursors" /v "No" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%unavailiable%" /freg add "HKCU\Control Panel\Cursors" /v "SizeNS" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%vert%" /freg add "HKCU\Control Panel\Cursors" /v "SizeWE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%horz%" /freg add "HKCU\Control Panel\Cursors" /v "SizeNWSE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn1%" /freg add "HKCU\Control Panel\Cursors" /v "SizeNESW" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn2%" /freg add "HKCU\Control Panel\Cursors" /v "SizeAll" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%move%" /freg add "HKCU\Control Panel\Cursors" /v "UpArrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%alternate%" /freg add "HKCU\Control Panel\Cursors" /v "Hand" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%link%" /freg add "HKCU\Control Panel\Cursors" /v "Pin" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pin%" /freg add "HKCU\Control Panel\Cursors" /v "Person" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%person%" /fecho Курсоры "%SCHEME_NAME%" установлены.pause@echo off chcp 65001 >nul set "CUR_DIR=Cursors\Inspired by Adobe by XpucT (Light by Midnight)" set "SCHEME_NAME=Inspired by Adobe by XpucT (Light by Midnight)" set "pointer=01 XpucT (Light by Midnight) - normal.cur" set "help=02 XpucT (Light by Midnight) - help.cur" set "work=03 XpucT (Light by Midnight) - working.ani" set "busy=04 XpucT (Light by Midnight) - busy.ani" set "cross=05 XpucT (Light by Midnight) - precision.cur" set "text=06 XpucT (Light by Midnight) - text.cur" set "hand=07 XpucT (Light by Midnight) - handwriting.cur" set "unavailiable=08 XpucT (Light by Midnight) - unavailable.cur" set "vert=09 XpucT (Light by Midnight) - vertical.ani" set "horz=10 XpucT (Light by Midnight) - horizontal.ani" set "dgn1=11 XpucT (Light by Midnight) - diagonal1.ani" set "dgn2=12 XpucT (Light by Midnight) - diagonal2.ani" set "move=13 XpucT (Light by Midnight) - move.cur" set "alternate=14 XpucT (Light by Midnight) - alternate.cur" set "link=15 XpucT (Light by Midnight) - link.cur" set "pin=16 XpucT (Light by Midnight) - pin.cur" set "person=17 XpucT (Light by Midnight) - person.cur" powershell -Command "if (-Not (Test-Path \"%SystemRoot%\%CUR_DIR%\")) { New-Item -Path \"%SystemRoot%\%CUR_DIR%\" -ItemType Directory }" copy "%~dp0%pointer%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%help%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%work%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%busy%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%cross%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%text%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%hand%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%unavailiable%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%vert%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%horz%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%dgn1%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%dgn2%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%move%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%alternate%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%link%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%pin%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%person%" "%SystemRoot%\%CUR_DIR%\" reg add "HKCU\Control Panel\Cursors\Schemes" /v "%SCHEME_NAME%" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%,%SystemRoot%\%CUR_DIR%\%help%,%SystemRoot%\%CUR_DIR%\%work%,%SystemRoot%\%CUR_DIR%\%busy%,%SystemRoot%\%CUR_DIR%\%cross%,%SystemRoot%\%CUR_DIR%\%text%,%SystemRoot%\%CUR_DIR%\%hand%,%SystemRoot%\%CUR_DIR%\%unavailiable%,%SystemRoot%\%CUR_DIR%\%vert%,%SystemRoot%\%CUR_DIR%\%horz%,%SystemRoot%\%CUR_DIR%\%dgn1%,%SystemRoot%\%CUR_DIR%\%dgn2%,%SystemRoot%\%CUR_DIR%\%move%,%SystemRoot%\%CUR_DIR%\%alternate%,%SystemRoot%\%CUR_DIR%\%link%,%SystemRoot%\%CUR_DIR%\%pin%,%SystemRoot%\%CUR_DIR%\%person%" /f reg add "HKCU\Control Panel\Cursors" /v "Arrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%" /f reg add "HKCU\Control Panel\Cursors" /v "Help" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%help%" /f reg add "HKCU\Control Panel\Cursors" /v "AppStarting" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%work%" /f reg add "HKCU\Control Panel\Cursors" /v "Wait" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%busy%" /f reg add "HKCU\Control Panel\Cursors" /v "Crosshair" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%cross%" /f reg add "HKCU\Control Panel\Cursors" /v "IBeam" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%text%" /f reg add "HKCU\Control Panel\Cursors" /v "NWPen" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%hand%" /f reg add "HKCU\Control Panel\Cursors" /v "No" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%unavailiable%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNS" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%vert%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeWE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%horz%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNWSE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn1%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNESW" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn2%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeAll" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%move%" /f reg add "HKCU\Control Panel\Cursors" /v "UpArrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%alternate%" /f reg add "HKCU\Control Panel\Cursors" /v "Hand" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%link%" /f reg add "HKCU\Control Panel\Cursors" /v "Pin" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pin%" /f reg add "HKCU\Control Panel\Cursors" /v "Person" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%person%" /f echo Курсоры "%SCHEME_NAME%" установлены. pause@echo off chcp 65001 >nul set "CUR_DIR=Cursors\Inspired by Adobe by XpucT (Light by Midnight)" set "SCHEME_NAME=Inspired by Adobe by XpucT (Light by Midnight)" set "pointer=01 XpucT (Light by Midnight) - normal.cur" set "help=02 XpucT (Light by Midnight) - help.cur" set "work=03 XpucT (Light by Midnight) - working.ani" set "busy=04 XpucT (Light by Midnight) - busy.ani" set "cross=05 XpucT (Light by Midnight) - precision.cur" set "text=06 XpucT (Light by Midnight) - text.cur" set "hand=07 XpucT (Light by Midnight) - handwriting.cur" set "unavailiable=08 XpucT (Light by Midnight) - unavailable.cur" set "vert=09 XpucT (Light by Midnight) - vertical.ani" set "horz=10 XpucT (Light by Midnight) - horizontal.ani" set "dgn1=11 XpucT (Light by Midnight) - diagonal1.ani" set "dgn2=12 XpucT (Light by Midnight) - diagonal2.ani" set "move=13 XpucT (Light by Midnight) - move.cur" set "alternate=14 XpucT (Light by Midnight) - alternate.cur" set "link=15 XpucT (Light by Midnight) - link.cur" set "pin=16 XpucT (Light by Midnight) - pin.cur" set "person=17 XpucT (Light by Midnight) - person.cur" powershell -Command "if (-Not (Test-Path \"%SystemRoot%\%CUR_DIR%\")) { New-Item -Path \"%SystemRoot%\%CUR_DIR%\" -ItemType Directory }" copy "%~dp0%pointer%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%help%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%work%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%busy%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%cross%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%text%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%hand%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%unavailiable%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%vert%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%horz%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%dgn1%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%dgn2%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%move%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%alternate%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%link%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%pin%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%person%" "%SystemRoot%\%CUR_DIR%\" reg add "HKCU\Control Panel\Cursors\Schemes" /v "%SCHEME_NAME%" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%,%SystemRoot%\%CUR_DIR%\%help%,%SystemRoot%\%CUR_DIR%\%work%,%SystemRoot%\%CUR_DIR%\%busy%,%SystemRoot%\%CUR_DIR%\%cross%,%SystemRoot%\%CUR_DIR%\%text%,%SystemRoot%\%CUR_DIR%\%hand%,%SystemRoot%\%CUR_DIR%\%unavailiable%,%SystemRoot%\%CUR_DIR%\%vert%,%SystemRoot%\%CUR_DIR%\%horz%,%SystemRoot%\%CUR_DIR%\%dgn1%,%SystemRoot%\%CUR_DIR%\%dgn2%,%SystemRoot%\%CUR_DIR%\%move%,%SystemRoot%\%CUR_DIR%\%alternate%,%SystemRoot%\%CUR_DIR%\%link%,%SystemRoot%\%CUR_DIR%\%pin%,%SystemRoot%\%CUR_DIR%\%person%" /f reg add "HKCU\Control Panel\Cursors" /v "Arrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%" /f reg add "HKCU\Control Panel\Cursors" /v "Help" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%help%" /f reg add "HKCU\Control Panel\Cursors" /v "AppStarting" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%work%" /f reg add "HKCU\Control Panel\Cursors" /v "Wait" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%busy%" /f reg add "HKCU\Control Panel\Cursors" /v "Crosshair" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%cross%" /f reg add "HKCU\Control Panel\Cursors" /v "IBeam" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%text%" /f reg add "HKCU\Control Panel\Cursors" /v "NWPen" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%hand%" /f reg add "HKCU\Control Panel\Cursors" /v "No" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%unavailiable%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNS" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%vert%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeWE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%horz%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNWSE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn1%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNESW" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn2%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeAll" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%move%" /f reg add "HKCU\Control Panel\Cursors" /v "UpArrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%alternate%" /f reg add "HKCU\Control Panel\Cursors" /v "Hand" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%link%" /f reg add "HKCU\Control Panel\Cursors" /v "Pin" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pin%" /f reg add "HKCU\Control Panel\Cursors" /v "Person" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%person%" /f echo Курсоры "%SCHEME_NAME%" установлены. pause[/spoiler]
Ура! Работает!
Цитата: Mikhail от 08.08.2024, 15:32Привет.
Можно такой код попробовать, я на примере белых от Хачатура сделал, работает, но выбрать нужно вручную потом, либо перезагрузка.
Батник лежит рядом с курсорами.
Примерный код@echo offchcp 65001 >nulset "CUR_DIR=Cursors\Inspired by Adobe by XpucT (Light by Midnight)"set "SCHEME_NAME=Inspired by Adobe by XpucT (Light by Midnight)"set "pointer=01 XpucT (Light by Midnight) - normal.cur"set "help=02 XpucT (Light by Midnight) - help.cur"set "work=03 XpucT (Light by Midnight) - working.ani"set "busy=04 XpucT (Light by Midnight) - busy.ani"set "cross=05 XpucT (Light by Midnight) - precision.cur"set "text=06 XpucT (Light by Midnight) - text.cur"set "hand=07 XpucT (Light by Midnight) - handwriting.cur"set "unavailiable=08 XpucT (Light by Midnight) - unavailable.cur"set "vert=09 XpucT (Light by Midnight) - vertical.ani"set "horz=10 XpucT (Light by Midnight) - horizontal.ani"set "dgn1=11 XpucT (Light by Midnight) - diagonal1.ani"set "dgn2=12 XpucT (Light by Midnight) - diagonal2.ani"set "move=13 XpucT (Light by Midnight) - move.cur"set "alternate=14 XpucT (Light by Midnight) - alternate.cur"set "link=15 XpucT (Light by Midnight) - link.cur"set "pin=16 XpucT (Light by Midnight) - pin.cur"set "person=17 XpucT (Light by Midnight) - person.cur"powershell -Command "if (-Not (Test-Path \"%SystemRoot%\%CUR_DIR%\")) { New-Item -Path \"%SystemRoot%\%CUR_DIR%\" -ItemType Directory }"copy "%~dp0%pointer%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%help%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%work%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%busy%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%cross%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%text%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%hand%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%unavailiable%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%vert%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%horz%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%dgn1%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%dgn2%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%move%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%alternate%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%link%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%pin%" "%SystemRoot%\%CUR_DIR%\"copy "%~dp0%person%" "%SystemRoot%\%CUR_DIR%\"reg add "HKCU\Control Panel\Cursors\Schemes" /v "%SCHEME_NAME%" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%,%SystemRoot%\%CUR_DIR%\%help%,%SystemRoot%\%CUR_DIR%\%work%,%SystemRoot%\%CUR_DIR%\%busy%,%SystemRoot%\%CUR_DIR%\%cross%,%SystemRoot%\%CUR_DIR%\%text%,%SystemRoot%\%CUR_DIR%\%hand%,%SystemRoot%\%CUR_DIR%\%unavailiable%,%SystemRoot%\%CUR_DIR%\%vert%,%SystemRoot%\%CUR_DIR%\%horz%,%SystemRoot%\%CUR_DIR%\%dgn1%,%SystemRoot%\%CUR_DIR%\%dgn2%,%SystemRoot%\%CUR_DIR%\%move%,%SystemRoot%\%CUR_DIR%\%alternate%,%SystemRoot%\%CUR_DIR%\%link%,%SystemRoot%\%CUR_DIR%\%pin%,%SystemRoot%\%CUR_DIR%\%person%" /freg add "HKCU\Control Panel\Cursors" /v "Arrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%" /freg add "HKCU\Control Panel\Cursors" /v "Help" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%help%" /freg add "HKCU\Control Panel\Cursors" /v "AppStarting" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%work%" /freg add "HKCU\Control Panel\Cursors" /v "Wait" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%busy%" /freg add "HKCU\Control Panel\Cursors" /v "Crosshair" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%cross%" /freg add "HKCU\Control Panel\Cursors" /v "IBeam" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%text%" /freg add "HKCU\Control Panel\Cursors" /v "NWPen" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%hand%" /freg add "HKCU\Control Panel\Cursors" /v "No" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%unavailiable%" /freg add "HKCU\Control Panel\Cursors" /v "SizeNS" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%vert%" /freg add "HKCU\Control Panel\Cursors" /v "SizeWE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%horz%" /freg add "HKCU\Control Panel\Cursors" /v "SizeNWSE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn1%" /freg add "HKCU\Control Panel\Cursors" /v "SizeNESW" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn2%" /freg add "HKCU\Control Panel\Cursors" /v "SizeAll" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%move%" /freg add "HKCU\Control Panel\Cursors" /v "UpArrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%alternate%" /freg add "HKCU\Control Panel\Cursors" /v "Hand" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%link%" /freg add "HKCU\Control Panel\Cursors" /v "Pin" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pin%" /freg add "HKCU\Control Panel\Cursors" /v "Person" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%person%" /fecho Курсоры "%SCHEME_NAME%" установлены.pause@echo off chcp 65001 >nul set "CUR_DIR=Cursors\Inspired by Adobe by XpucT (Light by Midnight)" set "SCHEME_NAME=Inspired by Adobe by XpucT (Light by Midnight)" set "pointer=01 XpucT (Light by Midnight) - normal.cur" set "help=02 XpucT (Light by Midnight) - help.cur" set "work=03 XpucT (Light by Midnight) - working.ani" set "busy=04 XpucT (Light by Midnight) - busy.ani" set "cross=05 XpucT (Light by Midnight) - precision.cur" set "text=06 XpucT (Light by Midnight) - text.cur" set "hand=07 XpucT (Light by Midnight) - handwriting.cur" set "unavailiable=08 XpucT (Light by Midnight) - unavailable.cur" set "vert=09 XpucT (Light by Midnight) - vertical.ani" set "horz=10 XpucT (Light by Midnight) - horizontal.ani" set "dgn1=11 XpucT (Light by Midnight) - diagonal1.ani" set "dgn2=12 XpucT (Light by Midnight) - diagonal2.ani" set "move=13 XpucT (Light by Midnight) - move.cur" set "alternate=14 XpucT (Light by Midnight) - alternate.cur" set "link=15 XpucT (Light by Midnight) - link.cur" set "pin=16 XpucT (Light by Midnight) - pin.cur" set "person=17 XpucT (Light by Midnight) - person.cur" powershell -Command "if (-Not (Test-Path \"%SystemRoot%\%CUR_DIR%\")) { New-Item -Path \"%SystemRoot%\%CUR_DIR%\" -ItemType Directory }" copy "%~dp0%pointer%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%help%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%work%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%busy%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%cross%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%text%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%hand%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%unavailiable%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%vert%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%horz%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%dgn1%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%dgn2%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%move%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%alternate%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%link%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%pin%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%person%" "%SystemRoot%\%CUR_DIR%\" reg add "HKCU\Control Panel\Cursors\Schemes" /v "%SCHEME_NAME%" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%,%SystemRoot%\%CUR_DIR%\%help%,%SystemRoot%\%CUR_DIR%\%work%,%SystemRoot%\%CUR_DIR%\%busy%,%SystemRoot%\%CUR_DIR%\%cross%,%SystemRoot%\%CUR_DIR%\%text%,%SystemRoot%\%CUR_DIR%\%hand%,%SystemRoot%\%CUR_DIR%\%unavailiable%,%SystemRoot%\%CUR_DIR%\%vert%,%SystemRoot%\%CUR_DIR%\%horz%,%SystemRoot%\%CUR_DIR%\%dgn1%,%SystemRoot%\%CUR_DIR%\%dgn2%,%SystemRoot%\%CUR_DIR%\%move%,%SystemRoot%\%CUR_DIR%\%alternate%,%SystemRoot%\%CUR_DIR%\%link%,%SystemRoot%\%CUR_DIR%\%pin%,%SystemRoot%\%CUR_DIR%\%person%" /f reg add "HKCU\Control Panel\Cursors" /v "Arrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%" /f reg add "HKCU\Control Panel\Cursors" /v "Help" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%help%" /f reg add "HKCU\Control Panel\Cursors" /v "AppStarting" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%work%" /f reg add "HKCU\Control Panel\Cursors" /v "Wait" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%busy%" /f reg add "HKCU\Control Panel\Cursors" /v "Crosshair" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%cross%" /f reg add "HKCU\Control Panel\Cursors" /v "IBeam" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%text%" /f reg add "HKCU\Control Panel\Cursors" /v "NWPen" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%hand%" /f reg add "HKCU\Control Panel\Cursors" /v "No" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%unavailiable%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNS" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%vert%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeWE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%horz%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNWSE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn1%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNESW" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn2%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeAll" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%move%" /f reg add "HKCU\Control Panel\Cursors" /v "UpArrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%alternate%" /f reg add "HKCU\Control Panel\Cursors" /v "Hand" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%link%" /f reg add "HKCU\Control Panel\Cursors" /v "Pin" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pin%" /f reg add "HKCU\Control Panel\Cursors" /v "Person" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%person%" /f echo Курсоры "%SCHEME_NAME%" установлены. pause@echo off chcp 65001 >nul set "CUR_DIR=Cursors\Inspired by Adobe by XpucT (Light by Midnight)" set "SCHEME_NAME=Inspired by Adobe by XpucT (Light by Midnight)" set "pointer=01 XpucT (Light by Midnight) - normal.cur" set "help=02 XpucT (Light by Midnight) - help.cur" set "work=03 XpucT (Light by Midnight) - working.ani" set "busy=04 XpucT (Light by Midnight) - busy.ani" set "cross=05 XpucT (Light by Midnight) - precision.cur" set "text=06 XpucT (Light by Midnight) - text.cur" set "hand=07 XpucT (Light by Midnight) - handwriting.cur" set "unavailiable=08 XpucT (Light by Midnight) - unavailable.cur" set "vert=09 XpucT (Light by Midnight) - vertical.ani" set "horz=10 XpucT (Light by Midnight) - horizontal.ani" set "dgn1=11 XpucT (Light by Midnight) - diagonal1.ani" set "dgn2=12 XpucT (Light by Midnight) - diagonal2.ani" set "move=13 XpucT (Light by Midnight) - move.cur" set "alternate=14 XpucT (Light by Midnight) - alternate.cur" set "link=15 XpucT (Light by Midnight) - link.cur" set "pin=16 XpucT (Light by Midnight) - pin.cur" set "person=17 XpucT (Light by Midnight) - person.cur" powershell -Command "if (-Not (Test-Path \"%SystemRoot%\%CUR_DIR%\")) { New-Item -Path \"%SystemRoot%\%CUR_DIR%\" -ItemType Directory }" copy "%~dp0%pointer%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%help%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%work%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%busy%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%cross%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%text%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%hand%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%unavailiable%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%vert%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%horz%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%dgn1%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%dgn2%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%move%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%alternate%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%link%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%pin%" "%SystemRoot%\%CUR_DIR%\" copy "%~dp0%person%" "%SystemRoot%\%CUR_DIR%\" reg add "HKCU\Control Panel\Cursors\Schemes" /v "%SCHEME_NAME%" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%,%SystemRoot%\%CUR_DIR%\%help%,%SystemRoot%\%CUR_DIR%\%work%,%SystemRoot%\%CUR_DIR%\%busy%,%SystemRoot%\%CUR_DIR%\%cross%,%SystemRoot%\%CUR_DIR%\%text%,%SystemRoot%\%CUR_DIR%\%hand%,%SystemRoot%\%CUR_DIR%\%unavailiable%,%SystemRoot%\%CUR_DIR%\%vert%,%SystemRoot%\%CUR_DIR%\%horz%,%SystemRoot%\%CUR_DIR%\%dgn1%,%SystemRoot%\%CUR_DIR%\%dgn2%,%SystemRoot%\%CUR_DIR%\%move%,%SystemRoot%\%CUR_DIR%\%alternate%,%SystemRoot%\%CUR_DIR%\%link%,%SystemRoot%\%CUR_DIR%\%pin%,%SystemRoot%\%CUR_DIR%\%person%" /f reg add "HKCU\Control Panel\Cursors" /v "Arrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pointer%" /f reg add "HKCU\Control Panel\Cursors" /v "Help" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%help%" /f reg add "HKCU\Control Panel\Cursors" /v "AppStarting" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%work%" /f reg add "HKCU\Control Panel\Cursors" /v "Wait" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%busy%" /f reg add "HKCU\Control Panel\Cursors" /v "Crosshair" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%cross%" /f reg add "HKCU\Control Panel\Cursors" /v "IBeam" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%text%" /f reg add "HKCU\Control Panel\Cursors" /v "NWPen" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%hand%" /f reg add "HKCU\Control Panel\Cursors" /v "No" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%unavailiable%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNS" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%vert%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeWE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%horz%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNWSE" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn1%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeNESW" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%dgn2%" /f reg add "HKCU\Control Panel\Cursors" /v "SizeAll" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%move%" /f reg add "HKCU\Control Panel\Cursors" /v "UpArrow" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%alternate%" /f reg add "HKCU\Control Panel\Cursors" /v "Hand" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%link%" /f reg add "HKCU\Control Panel\Cursors" /v "Pin" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%pin%" /f reg add "HKCU\Control Panel\Cursors" /v "Person" /t REG_SZ /d "%SystemRoot%\%CUR_DIR%\%person%" /f echo Курсоры "%SCHEME_NAME%" установлены. pause
Ура! Работает!