Programmatically disable all IE7 add-ons EXCEPT one - internet-explorer-7

Is there a way to do the following
1) disable all add-ons for an IE session (like the -extoff option)
2) then enable 1 (or some) add-ons only
I want to do this from a .cmd file
Other close but not quite options welcomed.
Thanks!

You can enable / disable controls by twiddling some bits in the registry:
Go find this/these keys:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{CLSID}
...where {CLSID} is the id of the control you want to change. It will have the following DWORD value in each key:
Flags
If the key exists and the least significant bit is set then the extension is disabled.
So, write a script to go do that using the REG command.

Related

How to use Find in Files dialog in IntelliJ?

I am using IntelliJ 2020.2.3 Ultimate Edition and want to search for any occurrence of some string and it works well as long as I do not use the file mask. Not using the mask I get several hits in any kind of files but when I select a file mask, let's say .yml, I get NO hits although it was found previously in *.yml files when I do not use the file mask.
How can I achieve to get hits using the file mask?
I just checked this with my 2020.2.3 Community Edition and it is working when the filter is set as "*.yaml" as well as without any filters. (Sorry, I do not have an Ultimate Edition installed with me).
*.yaml
No filters
I works as excpeted in IntelliJ IDEA Community and Ultimate Edition.
I guess, that your mask is set to *.yaml and the expected hit is in a *.yml file or vice versa.
Try to use a comma separated list of file mask to search in both file types:
Furthermore, make sure the filter is deaktivated and set to Anywhere:

How to set DisableHWAcceleration key if HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\ does not exist?

I checked few articles in internet and they all seems to assume that one can navigate to
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\
with Registry Editor.
I don't have in my Win7 Enterprise machine Avalon.Graphics at all in Registry Editor. So how do I set DisableHWAcceleration = 1?
If the registry key does not exist, then create it. I don't believe the Avalon.Graphics key is expected to exist by default. It hasn't existed any time I needed to set a WPF-related registry override, but they always got picked up after I added the key manually.
I don't know why so many articles are unclear on that point.

What does the number beside the icon represent?

What does the number mean in read and why does it increment from 1 to 2? It looks similar to firebugs error count, but there are no errors here.
The badge will show different information depending on your settings.
To see the current behavior (and change it):
Go to Tampermonkey settings
Make sure Config Mode is set to Beginner or Advanced as you will not be able to change the setting when in Novice mode
Find Icon Badge Info on the settings screen and set it to your liking.
In Novice mode this is showing the number of "running script instanced". E.g. if you're on a page where you have a script running and that page also has an iframe with the script running the badge will say 2.

Issue with configuring conTEXT to compile for Unrealscript

I have been going through Rachel Cordone's Unreal Development Kit Game Programming with UnrealScript Beginner's Guide book and having an issue using the conTEXT text editor.
As per instructed through the book I have followed all the steps to configure it but it won't compile once I press F9 - considering the last step to configure is to set the Enivronment Options/Execute Keys section. Here are the steps the book lays out (just that certain tab):
7) Now we are going to set up the conText to compile code. On the Execute Keys tab, click on Add, then type .uc into the Extensions field that comes up.
8) Once that's done four keys, F9 through F12, will show up in the User Exec Keys window. Let's click on F9 to make it convenient. Once clicked the option on the right become available.
9) For the Execute line, click on the button to the right of the field and navigate to out UDK installation's Binaries\Win64 folder, and select UDK.exe. For Start In, copy the Execute line but leave out UDK.exe.
10) In the Parameters field, type "make" without the quote marks. This tells UDK.exe that we want to compile code instead of opening the game.
11) Change Save to All Files Before Execution.
12) Check Capture Console Output and Scroll Console to the Last Line...
Then all I have to do is press F9 and it will compile - but it doesn't! It gives me:
No user command associated with extension '.uc'
Use 'Environment Options/Execute Keys' dialog to assign commands.
It seems it is not registering the changes no matter what I do (yes I clicked apply before saying okay but even still nothing). Any ideas?
The instructions may be out of date. You'll need to select your ".uc" entry, hit "Edit", and change it to just "uc".
Also, if you use UDK.com instead of UDK.exe the console output will go directly into Context instead of going to a separate popup.

how to determine which profiles are assigned to a record type

I have 90 profiles,and a bunch of record types. Business wants to know who has access to a current record type (picklists..)
the only way i know how to do this, is to go profile by profile and check the Record Type Settings and see if it's listed.
is there a way to just generate a list or something? either through the point and click or apex?
EDIT:
I tried doing a search on the .profiles but eclipse doesn't support multi-line searches. Though it does support regexes i can't get my regular expression right, OR eclipse doesn't like me. Given my poor programming skills (and how I yell at my computer) it might be the latter. This is the string I want to search on.
<recordType>Event.RTEvent</recordType>
<visible>false</visible>
For something like this, I find that Notepad++ is a huge help. It supports multi-line searches if you enable the extended search mode (a simple radio button at the bottom of the Find menu), allowing you to grab line breaks (\r, \n, etc.). Pretty simple to do this across all of your profiles as well by navigating to the profiles folder of the Eclipse project in Windows Explorer, selecting all files, then right-click and select "Edit with Notepad++". Once they're all open, hit ctrl-F, enable the extended search mode, and search for something like this:
Event.RTEvent</recordType>\n <visible>false
Note that you may need to adjust the number of spaces after the \n depending on how far the data is indented. Click "Find All in All Opened Documents", and it'll give you a list of all occurrences of that string in your profiles files.

Resources