Jump to content

Solution to PIN Shordcut in windows 8 / 10


caramen
 Share

Recommended Posts

            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

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

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")
;~                &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

 

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

hmmmm new method.

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

  • Moderators

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

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

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 ]

 

Link to comment
Share on other sites

@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

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

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

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
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
 Share

  • Recently Browsing   0 members

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