$RegCursors.SetValue("SizeNS", $cursorPath + $cursorShortName + "VerticalResize.ani") $RegCursors.SetValue("SizeNESW", $cursorPath + $cursorShortName + "DiagonalResize_2.ani") $RegCursors.SetValue("NWPen", $cursorPath + $cursorShortName + "Handwriting.ani") $RegCursors.SetValue("No", $cursorPath + $cursorShortName + "Unavailable.ani") $RegCursors.SetValue("IBeam", $cursorPath + $cursorShortName + "TextSelect.ani") $RegCursors.SetValue("Help", $cursorPath + $cursorShortName + "Help.ani") $RegCursors.SetValue("Hand", $cursorPath + $cursorShortName + "LinkSelect.ani") $RegCursors.SetValue("Crosshair", $cursorPath + $cursorShortName + "PrecisionSelect.ani") $RegCursors.SetValue("Arrow", $cursorPath + $cursorShortName + "Pointer.ani") $RegCursors.SetValue("AppStarting", $cursorPath + $cursorShortName + "WorkingInBG.ani") $RegCursors.SetValue("Scheme Source", 1, 'DWord')
![animated cursor pack animated cursor pack](https://i0.wp.com/sguru.org/wp-content/uploads/2018/01/rainbow_cursors_by_pkuwyc.jpg)
$RegCursors = $RegConnect.OpenSubKey("Control Panel\Cursors", $true) $RegConnect = ::OpenRemoteBaseKey("CurrentUser", "$env:COMPUTERNAME") $fileCheck = Test-Path $cursorPath -PathType Any $cursorPath = "C:\Windows\Cursors\$cursorName\" # Or if the scheme is not installed them it sets the default one. # Sets the new cursors, without having to open 'Mouse properties' to do so. I then have a PowerShell Script to make them the current scheme with this. PersonSelect = "RGBAnimatedPersonSelect.ani" LocationSelect = "RGBAnimatedLocationSelect.ani" HorizontalResize = "RGBAnimatedHorizontalResize.ani"ĭiagonalResize_1 = "RGBAnimatedDiagonalResize_1.ani"ĭiagonalResize_2 = "RGBAnimatedDiagonalResize_2.ani"ĪlternateSelect = "RGBAnimatedAlternateSelect.ani" VerticalResize = "RGBAnimatedVerticalResize.ani" Unavailable = "RGBAnimatedUnavailable.ani" Handwriting = "RGBAnimatedHandwriting.ani"
![animated cursor pack animated cursor pack](https://i2.wp.com/sguru.org/wp-content/uploads/2018/01/mac_os_x_animated_cursor_pack_by_uselessdesires.jpg)
PrecisionSelect = "RGBAnimatedPrecisionSelect.ani" WorkingInBG = "RGBAnimatedWorkingInBG.ani" ani files are in the same folder as the install.inf file. Here is the contents of the install.inf file I have to place the cursors in the correct directory.
#Animated cursor pack how to#
I have wrote two files, the install.inf file and the set-new-scheme.ps1 file below.įrom here I don't know how to incorporate my code to install the cursors for upload to the Microsoft Store.
#Animated cursor pack windows#
In Visual Studio 2019 I've started a new project and chosen Windows Application Packaging Project. I have designed a complete set of animated cursors that I would like to put in the Microsoft Store to allow people to install them directly from there.