This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' Visio objects attached to more than one layer will stay visible as long as any layer they are a member of is visible. | |
' This was undesireable behavior for the drawing I was creating and this is the solution I came up with. Suggestions and | |
' improvements are welcome as I rarely touch VBA code and prior to last week had only ever used Visio for about 5 minutes :) | |
' The ToggleLayer sub will toggle the visibility of a named layer in Visio. After updating the layer visibility it | |
' then calls the UpdateShapes sub to iterate through all objects and show/hide them by setting | |
' Geometry1.NoShow and Misc.HideText values based on the layer visibility. | |
Option Explicit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Youtube HD | |
// @author adisib | |
// @namespace namespace_adisib | |
// @description Select a youtube resolution and resize the player. | |
// @version 2024.01.17 | |
// @match https://*.youtube.com/* | |
// @noframes | |
// @grant GM.getValue | |
// @grant GM.setValue |