Sign in to follow this  
Followers 0
caramen

Solution to PIN Shordcut in windows 8 / 10

7 posts in this topic

#1 ·  Posted (edited)

            Hello guys i ask a lot of things in help forum

But i never seen someone found a solution to pin executable to the task bar for WIN 8/8.1/10

Script working without admin rigths ON USER session ONLY

(May depend of your computer speed you gonna have to dd some sleep between lines)

 

Here is an exemple for WORD 2013 you can do that with all programs.

 

ShellExecute ("C:\Program Files (x86)\Microsoft Office\Office15\") ;Dossier office
                  WinWait("Office15")
                  WinActive("Office15")
                  WinMove("Office15" , "" ,0,0)
                  Send ("WINWORD.exe")
                  Send ("{LALT}")
                  Send ("J")
                  Send ("A")
                  Send ("B")

 

Have fun bye.

 

Edited by caramen

Share this post


Link to post
Share on other sites



#2 ·  Posted

This is what i use for a computer in SSD HDD 16 GO RAM x64 (Soi it s very fst computer but i only got good success with that deley

ShellExecute ("C:\Program Files (x86)\Microsoft Office\Office15\") ;Dossier office
                  WinWait("Office15")
                  WinActive("Office15")
                  WinMove("Office15" , "" ,0,0)
                  Sleep (1000)
;~                &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
                  Send ("WINWORD.exe")
                  Sleep (1500)
                  Send ("{LALT}")
                  Sleep (500)
                  Send ("J")
                  Sleep (500)
                  Send ("A")
                  Sleep (500)
                  Send ("B")
                  Sleep (1000)
;~                &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
                  Send ("EXCEL.exe")
                  Sleep (1500)
                  Send ("{LALT}")
                  Sleep (500)
                  Send ("J")
                  Sleep (500)
                  Send ("A")
                  Sleep (500)
                  Send ("B")
;~                &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
                  Send ("OUTLOOK.exe")
                  Sleep (1500)
                  Send ("{LALT}")
                  Sleep (500)
                  Send ("J")
                  Sleep (500)
                  Send ("A")
                  Sleep (500)
                  Send ("B")
;~                &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
                  Send ("POWERPNT.EXE")
                  Sleep (1500)
                  Send ("{LALT}")
                  Sleep (500)
                  Send ("J")
                  Sleep (500)
                  Send ("A")
                  Sleep (500)
                  Send ("B")
;~                &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

 

Share this post


Link to post
Share on other sites

#3 ·  Posted

hmmmm new method.

Share this post


Link to post
Share on other sites

#4 ·  Posted

Any code with that many unfocused Sends is just begging for issues. All you need is the window losing focus for a half-second to create some real havoc. :x


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#5 ·  Posted

18 hours ago, caramen said:

            Hello guys i ask a lot of things in help forum

But i never seen someone found a solution to pin executable to the task bar for WIN 8/8.1/10

Script working without admin rigths ON USER session ONLY

(May depend of your computer speed you gonna have to dd some sleep between lines)

 

Here is an exemple for WORD 2013 you can do that with all programs.

 

ShellExecute ("C:\Program Files (x86)\Microsoft Office\Office15\") ;Dossier office
                  WinWait("Office15")
                  WinActive("Office15")
                  WinMove("Office15" , "" ,0,0)
                  Send ("WINWORD.exe")
                  Send ("{LALT}")
                  Send ("J")
                  Send ("A")
                  Send ("B")

 

Have fun bye.

 

I know you said without admin rights, but someone made this awesome bit of program that does so much, maybe it would help?

 


 

Spoiler

WinSizer 2.1 (01/04/2017) - Download - [ Windows Layout Manager ]
Folder+Program (12/23/2016) - Download - [ USB Shortcut Creator ]

 

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

@zone97 No it s not related with that topic. 

Uac and shordcut pin is not the same  thing. 

Shordcut pin CAN be locked by a gpo but i guess it s a rare case.

Edited by caramen

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

17 hours ago, JLogan3o13 said:

Any code with that many unfocused Sends is just begging for issues. All you need is the window losing focus for a half-second to create some real havoc. :x

@JLogan3o13 ah yeah i agree but it s not made for computers users on purpose since they CAN add shordcuts mnually

 

anyway the new méthode is not tested but if it work there is nothing else better than that

Edited by caramen

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