Jump to content

Recommended Posts

Posted

Hello!

I made a small script for this task:

focus to chrome,  in chrome open dev panel (f12), and here i want to send ctrl+shifht+p which should drop me a command line. from keyboard it works, but from script does not. can anybody help me what may be the problem?

i tried these:

func go()
    WinActivate($hnd)
    send("{F12}")
    sleep(300)
;~  WinActivate($hnd)
    send("{LCTRL}{LSHIFT}p")
;~  send("{CTRLDOWN}{SHIFTDOWN}P")
;~  send ("^+p")
    sleep(100)
;~  Send("{CTRLUP}{SHIFTUP}")
    sleep(200)
EndFunc

but noone version worked. the "^+p" drops me a printer window.. similar than {ctrl}p
how can i send the ctrl shift p ? 
thank you!

the main task is that i must make screenshot about some webpages and i was looking for easy and well handled versions but i did not find so i thought i make one which sends to chrome the "capture full size screenshot"

Posted

very thank you but actually i have very very limited freetime :S and this needed immediatley. i have no time to trying.. later i willbut this weekend is when i needed very!

so i cant send hotkey for chrome?

or can you make a very small script for making a simple screenshot of the entire page? i woud place it to a hotkey function.. 

Posted
2 hours ago, vkrisz81 said:

I made a small script for this task:

And then you should also show the whole script, so that we can reproduce it without additional code

App: Au3toCmd              UDF: _SingleScript()                             

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...