Jump to content

Recommended Posts

Posted (edited)

Hello there,

In wpi I use a regtweak which removes the shortcut arrows and the text "shortcut to" from desktopshorcuts.

In my regfile I have:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

"Link"=hex:00,00,00,00

[HKEY_CLASSES_ROOT\lnkfile]

"IsShortcut"=-

The problem is that wpi can't read my gcond.

I tried this but doesn't work, probably because it's a REG_BINARY

I used it several times before with REG_DWORD keys and that's no problem.

gcond[pn]=['RegKeyValue("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\link")==hex:00,00,00,00&quot];

Something is wrong here but I can't figure out what.

Any help is welcome, Thx in advance...

Edited by DJPro

Posted

Ok. I looked at it some more and it appears that the WshShell.RegRead method does not support reading REG_BINARY values. So you may want to bring this up in the Bugs subforum and feature request thread.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...