contextMenu and Mutiselect

  • Thread starter Thread starter jolo
  • Start date Start date
J

jolo

Hi !
I have add an item while right clicking a user in AD
Users and Computers snap-in. (contextMenu)
This works wonderfull on a single user but it does not
work when I select more than one user.
Can anybody help me dealing with that ??

Thanks a lot !

j.
 
There have been no changes in the handling of context menus from Windows
2000 to Windows Server 2003. Multiselect property pages were added though.

Are you using MMC context menu extensions or Display Specifier context menu
extensions? The only difference between a single select context menu and a
multiselect context menu is the data object that gets passed to the
extension. If you are not able to handle the multi-select data object then
that may be why your context menu is not showing up.

--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Jeff.
I am using Display Specifier context menu.
I have noted that while selecting multiple users, right
clicking, and launching the function I wrote, the script
does not even begin to run (there is an output at the
first line of the code). And note that if there is only
one user selected ... the function works great.
And again ... thanks for your quick response.

Amir Jolodenco
Mgmt. Tools Expert
IBM Global Services

-----Original Message-----
There have been no changes in the handling of context menus from Windows
2000 to Windows Server 2003. Multiselect property pages were added though.

Are you using MMC context menu extensions or Display Specifier context menu
extensions? The only difference between a single select context menu and a
multiselect context menu is the data object that gets passed to the
extension. If you are not able to handle the multi- select data object then
that may be why your context menu is not showing up.

--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.



Jerold Schulman said:
 
Can you post the entry you added to the displaySpecifier for me?

--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.



jolo said:
Jeff.
I am using Display Specifier context menu.
I have noted that while selecting multiple users, right
clicking, and launching the function I wrote, the script
does not even begin to run (there is an output at the
first line of the code). And note that if there is only
one user selected ... the function works great.
And again ... thanks for your quick response.

Amir Jolodenco
Mgmt. Tools Expert
IBM Global Services

-----Original Message-----
There have been no changes in the handling of context menus from Windows
2000 to Windows Server 2003. Multiselect property pages were added though.

Are you using MMC context menu extensions or Display Specifier context menu
extensions? The only difference between a single select context menu and a
multiselect context menu is the data object that gets passed to the
extension. If you are not able to handle the multi- select data object then
that may be why your context menu is not showing up.

--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Jeff,
At user-Display -> contextMenu ->
,&Set Password Policy,S:\Scripts\PWDPolicySet.vbs

Thanks ...

jolo.



-----Original Message-----
Can you post the entry you added to the displaySpecifier for me?

--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.



jolo said:
Jeff.
I am using Display Specifier context menu.
I have noted that while selecting multiple users, right
clicking, and launching the function I wrote, the script
does not even begin to run (there is an output at the
first line of the code). And note that if there is only
one user selected ... the function works great.
And again ... thanks for your quick response.

Amir Jolodenco
Mgmt. Tools Expert
IBM Global Services

-----Original Message-----
There have been no changes in the handling of context menus from Windows
2000 to Windows Server 2003. Multiselect property
pages
were added though.
Are you using MMC context menu extensions or Display Specifier context menu
extensions? The only difference between a single
select
context menu and a
multiselect context menu is the data object that gets passed to the
extension. If you are not able to handle the multi- select data object then
that may be why your context menu is not showing up.

--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties,
and
confers no rights.


.
 
This is a known bug. If you are specifying a script extension it will not
be shown when multiple objects are selected. If you use a Display Specifier
extension you can have the verb enabled on multi-select. See
http://msdn.microsoft.com/library/d...ext_menus_for_use_with_display_specifiers.asp
for more information.

--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.



jolo said:
Jeff,
At user-Display -> contextMenu ->
,&Set Password Policy,S:\Scripts\PWDPolicySet.vbs

Thanks ...

jolo.



-----Original Message-----
Can you post the entry you added to the displaySpecifier for me?

--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.



jolo said:
Jeff.
I am using Display Specifier context menu.
I have noted that while selecting multiple users, right
clicking, and launching the function I wrote, the script
does not even begin to run (there is an output at the
first line of the code). And note that if there is only
one user selected ... the function works great.
And again ... thanks for your quick response.

Amir Jolodenco
Mgmt. Tools Expert
IBM Global Services

-----Original Message-----
There have been no changes in the handling of context
menus from Windows
2000 to Windows Server 2003. Multiselect property pages
were added though.

Are you using MMC context menu extensions or Display
Specifier context menu
extensions? The only difference between a single select
context menu and a
multiselect context menu is the data object that gets
passed to the
extension. If you are not able to handle the multi-
select data object then
that may be why your context menu is not showing up.

--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and
confers no rights.



On Wed, 30 Jul 2003 02:06:32 -0700, "jolo"

Hi !
I have add an item while right clicking a user in AD
Users and Computers snap-in. (contextMenu)
This works wonderfull on a single user but it does not
work when I select more than one user.
Can anybody help me dealing with that ??

Thanks a lot !

j.

See tip 4972 in the 'Tips & Tricks' at
http://www.jsiinc.com for the
mult-select
actions allowed.

Windows Server 2003 has additional capability.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com


.


.
 
Jeff
I very appreciate your support !
I'll take a look at that link.
BTW, have you ever heard the name Tal Sarid (MSFT
Israel) ?

And again ... thanks !

jolo.


-----Original Message-----
This is a known bug. If you are specifying a script extension it will not
be shown when multiple objects are selected. If you use a Display Specifier
extension you can have the verb enabled on multi- select. See
http://msdn.microsoft.com/library/default.asp? url=/library/en-
us/netdir/ad/context_menus_for_use_with_display_specifiers
..asp
for more information.

--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.



jolo said:
Jeff,
At user-Display -> contextMenu ->
,&Set Password Policy,S:\Scripts\PWDPolicySet.vbs

Thanks ...

jolo.



-----Original Message-----
Can you post the entry you added to the
displaySpecifier
for me?
--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties,
and
confers no rights.
Jeff.
I am using Display Specifier context menu.
I have noted that while selecting multiple users, right
clicking, and launching the function I wrote, the script
does not even begin to run (there is an output at the
first line of the code). And note that if there is only
one user selected ... the function works great.
And again ... thanks for your quick response.

Amir Jolodenco
Mgmt. Tools Expert
IBM Global Services

-----Original Message-----
There have been no changes in the handling of context
menus from Windows
2000 to Windows Server 2003. Multiselect property pages
were added though.

Are you using MMC context menu extensions or Display
Specifier context menu
extensions? The only difference between a single select
context menu and a
multiselect context menu is the data object that gets
passed to the
extension. If you are not able to handle the multi-
select data object then
that may be why your context menu is not showing up.

--
Jeff Jones [MS]
Active Directory Administration Tools Development
Microsoft Corporation
This posting is provided "AS IS" with no
warranties,
and
confers no rights.



On Wed, 30 Jul 2003 02:06:32 -0700, "jolo"

Hi !
I have add an item while right clicking a user
in
AD
Users and Computers snap-in. (contextMenu)
This works wonderfull on a single user but it
does
not
work when I select more than one user.
Can anybody help me dealing with that ??

Thanks a lot !

j.

See tip 4972 in the 'Tips & Tricks' at
http://www.jsiinc.com for the
mult-select
actions allowed.

Windows Server 2003 has additional capability.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com


.



.


.
 
Back
Top