benny12

[HELP - VMWARE] Virtual network Editor SCRIPT

7 posts in this topic

#1 ·  Posted (edited)

Hi guys,

i have a problem with my script.

I would open a desktop shortcut that not run with UAC control - [I DID]

- Go to VMnet8 (press 2 times the down arrow or other)
- Change the IP subnet (only second to last 3 digits)
- Click APPLY
- DHCP setting
- Change the last digit of the figure STARTING IP ADDRESS and press OK
- CLOSE the program

ShellExecute(@DesktopDir & "\net.lnk")
Sleep(2000)
WinActivate("Virtual Network Editor")
Sleep(2000)
ControlSend("Virtual Network Editor", "", 30004, "{DOWN}", "{DOWN}"); don't work

 

thanks for the support:sweating:

Cattura.JPG

Edited by benny12

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

please help me:sweating:

 

 

Cattura.JPG

Edited by benny12

Share this post


Link to post
Share on other sites

Try this:

ShellExecute(@DesktopDir & "\net.lnk")
Sleep(2000)
WinActivate("Virtual Network Editor")
Sleep(2000)
ControlSend("Virtual Network Editor", "", 30004, '{DOWN}{DOWN}') ; You accidentally added a comma between the 2 key presses ;)

Tell me if it works, TD :)


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

Try this:

ShellExecute(@DesktopDir & "\net.lnk")
Sleep(2000)
WinActivate("Virtual Network Editor")
Sleep(2000)
ControlSend("Virtual Network Editor", "", 30004, '{DOWN}{DOWN}') ; You accidentally added a comma between the 2 key presses ;)

Tell me if it works, TD :)

thanks for the support

 

unfornatelly, doesnt work

 

maybe i must use the controlviewlist?:blink:

https://www.autoitscript.com/autoit3/docs/functions/ControlListView.htm

Share this post


Link to post
Share on other sites

That might help :), Concentrate on the "Select" command ;)


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

That might help :), Concentrate on the "Select" command ;)

Why must i concentrate on "select"?

ControlListView ( "title", "text", controlID, "command" [, option1 [, option2]] )

maybe it can be like

ControlListView ("Virtual Network Editor", "", 30004, "{DOWN}{DOWN}") ???

Share this post


Link to post
Share on other sites

Nope, it won't work, Please read the documentation carefully :)


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

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