Fun with variable scopes in PowerShell
So variable scopes. This can be fun, or really, quite maddening. My latest project is bridging PowerShell to AppleScript’s Choose File. Most of it has been easy, but the hard part has been the “of type” parameter, because it’s big. Like my current list uses around 1300 file extensions and file types to generate a list of Type Identifiers that can be use with “of type” because Type Identifiers are…










