Sign in to follow this  
Followers 0
arcker

Another Admin Tool for Active Directory

16 posts in this topic

#1 ·  Posted (edited)

Edited by arcker

-- Arck System _ Soon -- Ideas make everything

"La critique est facile, l'art est difficile"

Projects :

[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list]

Share this post


Link to post
Share on other sites



updated


-- Arck System _ Soon -- Ideas make everything

"La critique est facile, l'art est difficile"

Projects :

[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list]

Share this post


Link to post
Share on other sites

Nice work!


[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

Share this post


Link to post
Share on other sites

Hi everyone !

edit : 02/16/2006

<snip>

and now, here is the code :

<snip>
func _log($actionjournal,$descriptionjournal,$dureetraitement = "non défini")
    GUICtrlCreateListViewItem($compteurjournal & "|" & $objgroup.cn & "|" & $actionjournal & "|" & &#0
Errr... I think some code got lost in the edit????

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

hello arker,

pretty interesting :o

I'have already wrote a WSH script witch do some AD management, using wshdialog.dll in order to get dialog boxes

So I will not rewrite it in autoit language .

Edited by sksbir

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

oh really ?

ok but i try to integrate as mush as possible some functionalities

so, if you have any ideas....

++

Edited by arcker

-- Arck System _ Soon -- Ideas make everything

"La critique est facile, l'art est difficile"

Projects :

[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list]

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Sorry , but the script is for a realy dedicated usage : i mean, it uses the fact that for example, the printers definitions are stored is AD security groups...

The behaviour of the script is:

- fist locate the user in AD : give some letters, and script will perform a AD search on displayname and samaccount name.

The multiple results are stored in a combo box : you have to choose the user you want.

Once the user is choosed, the memberof list is showed in option box (so you can select the groups you want )

- select the action ( group cloning, adding group , reset password, move user,etc...)

- if action is group cloning, you must select the destination user

- if action is adding group, you must select the group to ad

- if action is move user, you must select the destination OU.

etc...

Only once it's ok, the "execute" button will appear.

Edited by sksbir

Share this post


Link to post
Share on other sites

@sksbir and @arcker

If you want to discuss about vbs script can you do it at least in english or privately by PM.

I was thinking this scripts and scraps forum is around AutoIt script.

Thanks for people that don't understand french :o

Share this post


Link to post
Share on other sites

Thanks for people that don't understand french ;)

There are a lot of people who don't understand the French :geek::o

[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

Share this post


Link to post
Share on other sites

@sksbir and @arcker

If you want to discuss about vbs script can you do it at least in english or privately by PM.

I was thinking this scripts and scraps forum is around AutoIt script.

Thanks for people that don't understand french :geek:

you are right. this is now not a problem at all. :o

--> two preceding reply edited.

Share this post


Link to post
Share on other sites

you are right. this is now not a problem at all. :o

--> two preceding reply edited.

Thanks very much

"Merci beaucoup" for those which are learning french. :geek:

Share this post


Link to post
Share on other sites

I cant understand it.. Please convert it to English..

Share this post


Link to post
Share on other sites

I cant understand it.. Please convert it to English..

"Merci Beaucoup" = "Thank you very much"

Share this post


Link to post
Share on other sites

"Merci Beaucoup" = "Thank you very much"

:o

[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

Share this post


Link to post
Share on other sites

h

Share this post


Link to post
Share on other sites

Doubleclick in Listview:

Global Const $WM_NOTIFY = 0x004E
Global Const $NM_FIRST = 0
Global Const $NM_CLICK = ($NM_FIRST - 2)
Global Const $NM_DBLCLK = ($NM_FIRST - 3)

GUIRegisterMsg($WM_NOTIFY, "WM_Notify_Events")

Func WM_Notify_Events($hWndGUI, $MsgID, $wParam, $lParam)
    #forceref $hWndGUI, $MsgID, $wParam
    Local $tagNMHDR, $event
    
    $tagNMHDR = DllStructCreate("int;int;int", $lParam)
    If @error Then Return
    $event = DllStructGetData($tagNMHDR, 3)
    
    Select
        Case $wParam = $ListView1
            Select
                Case $event = $NM_CLICK
                    ListViewClick()
                Case $event = $NM_DBLCLK
                    ListViewDoubleClick()
            EndSelect
    EndSelect
    
    $tagNMHDR = 0
EndFunc

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0