Sign in to follow this  
Followers 0
mlloz

asterisk

15 posts in this topic

whats wrong with this code?

$title = 'Device Manager'
Run(@SystemDir & '\mmc.exe ' &  @SystemDir & '\devmgmt.msc', @SystemDir)
ProcessWait('mmc.exe')
WinActivate($title)
WinWaitActive($title)
WinMove($title, '', 50, 20, @DesktopWidth - 100, @DesktopHeight - 100)
Sleep(2000)
Send('!vw{TAB}*{TAB}{HOME}')

its working but the asterisk doesnt, why?

Share this post


Link to post
Share on other sites



still not working..

Share this post


Link to post
Share on other sites

what version are you running, that worked for me just fine ( I tested it )

Share this post


Link to post
Share on other sites

v3.2.4.9

Share this post


Link to post
Share on other sites

lol

the send command doesn't work at all..

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

LOL, You should not have said "its working but the asterisk doesnt, why?" then

What is this script supposed to do?

EDIT: Where do you want to send the text?

Edited by danwilli

Share this post


Link to post
Share on other sites

$title = 'Device Manager'

at 'Device Manager' window, to expand the devices list..

Share this post


Link to post
Share on other sites

what is the "w" for? after you goto the View menu via Alt-v

Share this post


Link to post
Share on other sites

w: show hidden devices..

the problem just in asterisk everything else is working good..

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

$title = 'Device Manager'
Run(@SystemDir & '\mmc.exe ' &  @SystemDir & '\devmgmt.msc', @SystemDir)
ProcessWait('mmc.exe')
WinActivate($title)
WinWaitActive($title)
WinMove($title, '', 50, 20, @DesktopWidth - 100, @DesktopHeight - 100)
Sleep(2000)
Send('!vw{tab}')
For $times = 1 to 20
    Send("{Down}")
Next
For $times = 1 to 20
    Send("{Right}{Up}")
Next

Works

EDIT: What is the "*" for then

Edited by danwilli

Share this post


Link to post
Share on other sites

well, it takes time to complete..

really why it doesn't work with '*'

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

Got it :whistle:

$title = 'Device Manager'
Run(@SystemDir & '\mmc.exe ' &  @SystemDir & '\devmgmt.msc', @SystemDir)
ProcessWait('mmc.exe')
WinActivate($title)
WinWaitActive($title)
WinMove($title, '', 50, 20, @DesktopWidth - 100, @DesktopHeight - 100)
Sleep(2000)
Send('!vw{tab}{NUMPADMULT}') ; "*" will not work because the key you are looking for is "multiply"

EDIT: * = shift 8

Edited by danwilli

Share this post


Link to post
Share on other sites

yes, its working now, thanks alot :whistle:

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