Jump to content

[Solved] Windows 10 Snip & Sketch shortcut not working.

Molten
Go to solution Solved by Molten,

I figured it out! Create a shortcut as described here: https://stackoverflow.com/questions/35125286/how-to-start-windows-store-apps-in-autohotkey and then incorporate that shortcut into the following code:

+#s::
IfWinExist Snip & Sketch
{
    WinActivate
    WinWait,  Snip & Sketch,,2
    Send ^n
}
else
{
    Run "F:\Snip & Sketch.lnk"
    sleep, 500
    send, ^n
}
return

Hi,

I've just installed the new windows 10 october update and ive noticed that when I use the snip & sketch tool by launching it through the windows menu it works fine but if i use the new shortcut win shift s it allows me to take a sreenshot but it doesnt allow me to edit or save said screenshot. I've tried to edit a old snipping tool ahk script to fix this however it has the same issue.

Here is the old version:
#s::
IfWinExist Snipping Tool
{
    WinActivate
    WinWait,  Snipping Tool,,2
    Send ^n
}
else
{
    Run "c:\windows\system32\SnippingTool.exe"
    WinWait,  Snipping Tool,,2
    ControlClick, x40 y40, Snipping Tool
}
return

and the new:

#s::

IfWinExist Snip & Sketch
{
    WinActivate
    WinWait,  Snip & Sketch,,2
    Send ^n
}
else
{
    Run explorer.exe ms-screenclip:
    WinWait,  Snip & Sketch,,2
    ControlClick, x40 y40, Snip & Sketch
}
return

 

Thanks for any help :)

Link to comment
Share on other sites

Link to post
Share on other sites

I just figured out that using it from the shortcut automatically copies it to the clipboard, however i'd like to be able to edit the images from using the shortcut. I suspect if I can find the location of the exe then I will easily be able to modify the ahk script to do what I want but I've had no luck in that department unfortunatly.

Link to comment
Share on other sites

Link to post
Share on other sites

I found the exe but I can't launch it :/ "C:\Program Files\WindowsApps\Microsoft.ScreenSketch_10.1807.2286.0_x64__8wekyb3d8bbwe\ScreenSketch.exe"

Link to comment
Share on other sites

Link to post
Share on other sites

I figured it out! Create a shortcut as described here: https://stackoverflow.com/questions/35125286/how-to-start-windows-store-apps-in-autohotkey and then incorporate that shortcut into the following code:

+#s::
IfWinExist Snip & Sketch
{
    WinActivate
    WinWait,  Snip & Sketch,,2
    Send ^n
}
else
{
    Run "F:\Snip & Sketch.lnk"
    sleep, 500
    send, ^n
}
return

Link to comment
Share on other sites

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

×