caramen Posted January 3, 2017 Posted January 3, 2017 (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 January 3, 2017 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 - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
caramen Posted January 3, 2017 Author Posted January 3, 2017 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 expandcollapse popupShellExecute ("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 - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
caramen Posted January 3, 2017 Author Posted January 3, 2017 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 - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
Moderators JLogan3o13 Posted January 3, 2017 Moderators Posted January 3, 2017 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. "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!
zone97 Posted January 3, 2017 Posted January 3, 2017 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 ]
caramen Posted January 4, 2017 Author Posted January 4, 2017 (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 January 4, 2017 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 - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
caramen Posted January 4, 2017 Author Posted January 4, 2017 (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. @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 January 4, 2017 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 - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now