anyone could help this out? Its about powershell use. Im using inside after effects scripting language: extendscript.
Pinning works, but cant solve unpinning; Tried this and many other ways, before posting.
// Pin folder to quick access (working)
system.callSystem("cmd.exe /c powershell.exe -c \"$qa = New-Object -ComObject shell.application; $qa.NameSpace('C:\\TEST').Self.InvokeVerb(\'pintohome\')\"");
// Unpin folder from quick access (not working):
system.callSystem("cmd.exe /c powershell.exe -c \"($qa.Namespace(\"shell:::{679F85CB-0220-4080-B29B-5540CC05AAB6}\").Items() | Where-Object { $_.Path -EQ 'C:\\TEST' }).InvokeVerb('unpinfromhome')\"");
Tried to follow this post instructions.