AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

My new script: Catapult

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
broxenhearted



Joined: 01 Jun 2008
Posts: 11
Location: Eromoko, Wonogiri, Indonesia

PostPosted: Fri Jun 13, 2008 10:47 am    Post subject: My new script: Catapult Reply with quote

Inspirated from list of hidden function in Windows, I've created simple script to easily access hidden Windows functions and Control Panel from tray menu. Here's the script.
Code:
;###########miscelanous start settings##############
Process Priority,,High ;make it run on high priority
SetBatchLines, -1 ; fastest script run
SetWorkingDir %A_ScriptDir%
;##########script start display############
MsgBox, 0, Welcome, Catapult help you launch many windows applications, hidden windows function, Control Panel items, Registry Editor, Task Manager, and even it can shut down and log off from Windows.
TrayTip , Here, Launch Catapult by clicking this icon, 5, 1

;##########tray menu#################
#Persistent
Menu, Tray, NoStandard
;###############submenus##################

;############device section###############
Menu, Device, add, Add Hardware Wizard, hdwwiz
Menu, Device, add, Device Manager, devmgmt
Menu, Device, add, Display Properties, disprop
Menu, Device, add, Driver Verifier Utility, verifier
Menu, Device, add, Game Controllers, joy
Menu, Device, add, Keyboard Properties, keyboard
Menu, Device, add, Mouse Properties, mouse
Menu, Device, add, Printers and Faxes, printers
Menu, Device, add, Removable Storage, ntmsmgr
Menu, Device, add, Removable Storage Operator Requests, ntmsoprq
Menu, Device, add, Scanners and Cameras, scanmera
Menu, Device, add, Sounds and Audio, mmsys
;############apps section###############
Menu, Apps, add, Calculator, calc
Menu, Apps, add, Notepad, notepad
Menu, Apps, add, Microsoft Word, winword
Menu, Apps, add, Microsoft Excel, excel
Menu, Apps, add, Microsoft PowerPoint, powerpnt
Menu, Apps, add, Mozzila Firefox, firefox
Menu, Apps, add, Microsoft Internet Explorer, iexplore
Menu, Apps, add, Wordpad, write
;############games section###############
Menu, Wingames, add, Free Cell Card Game, freecell
Menu, Wingames, add, Hearts Card Game, mshearts
Menu, Wingames, add, Minesweeper Game, winmine
Menu, Wingames, add, Spider Solitare Card Game, spider
;############admin section###############
Menu, admin, add, Administrative Tools, admintools
Menu, admin, add, Add/Remove Programs, appwiz
Menu, admin, add, Certificate Manager, certmgr
Menu, admin, add, Computer Management, compmgmt
Menu, admin, add, Component Services, dcomcnfg
Menu, admin, add, DDE Shares, ddeshare
Menu, admin, add, Event Viewer, eventvwr
Menu, admin, add, File Signature Verification Tool, sigverif
Menu, admin, add, Group Policy Editor (XP Prof), gpedit
Menu, admin, add, Local Security Settings, secpol
Menu, admin, add, Local Users and Groups, lusrmgr
Menu, admin, add, ODBC Data Source Administrator, odbccp32
Menu, admin, add, Resultant Set of Policy (XP Prof), rsop
Menu, admin, add, Services, services
Menu, admin, add, SQL Client Configuration, cliconfg
Menu, admin, add, User Account Management, nusrmgr
Menu, admin, add, Windows Management Infrastructure, wmimgmt
;############maintainance section###############
Menu, Maintain, add, Automatic Updates, wuau
Menu, Maintain, add, Check Disk Utility, chkdsk
Menu, Maintain, add, Disk Cleanup Utility, cleanmgr
Menu, Maintain, add, Disk Defragment, dfrg
Menu, Maintain, add, Disk Management, diskmgmt
Menu, Maintain, add, Disk Partition Manager, diskpart
Menu, Maintain, add, Dr. Watson System Troubleshooting Utility, drwtsn32
Menu, Maintain, add, Indexing Service, ciadv
Menu, Maintain, add, Power Configuration, powercfg
Menu, Maintain, add, Performance Monitor, perfmon
Menu, Maintain, add, Scheduled Tasks, schedtasks
Menu, Maintain, add, Launch Windows Update, wupdmgr
;############properties section###############
Menu, prop, add,  Character Map, charmap
Menu, prop, add,  Date and Time Properties, timedate
Menu, prop, add,  Folders Properties, folders
Menu, prop, add,  Internet Properties, inet
Menu, prop, add,  Regional Settings, intl
Menu, prop, add,  System Properties, sysdm
;############network section###############
Menu, Network, add, IP Configuration, ipconfig
Menu, Network, add, Network Connections, ncpa
Menu, Network, add, Network Setup Wizard, netsetup
Menu, Network, add, Shared Folders, fsmgmt
Menu, Network, add, Remote Desktop, mstsc
Menu, Network, add, Telnet Client, telnet
Menu, Network, add, Windows Messenger, messenger
Menu, Network, add, Outlook Express, outlook
Menu, Network, add, Microsoft Chat, winchat
Menu, Network, add, Phone and Modem Options, telephon
;############security section###############
Menu, securesys, add, Direct X Control Panel (If Installed), directx
Menu, securesys, add, Direct X Diagnostic, dxdiag
Menu, securesys, add, Password Properties, password
Menu, securesys, add, Security Center, wscui
Menu, securesys, add, System Configuration Editor, sysedit
Menu, securesys, add, System Configuration Utility, msconfig
Menu, securesys, add, System File Checker Utility, sfc
Menu, securesys, add, Windows Firewall, firewall
Menu, securesys, add, Windows System Security Tool, syskey
;############utils section###############
Menu, util, add, Accessibility Controls, access
Menu, util, add, Bluetooth Transfer Wizard, fsquirt
Menu, util, add, Iexpress Wizard, iexpress
Menu, util, add, Object Packager, packager
Menu, util, add, On Screen Keyboard, osk
Menu, util, add, Private Character Editor, eudcedit
Menu, util, add, Quicktime (If Installed), QuickTime
Menu, util, add, Utility Manager, utilman
Menu, util, add, Windows Magnifier, magnify
Menu, util, add, Clipboard Viewer, clipbrd
;#############main menus#########
Menu, tray, add, Device, :Device
Menu, tray, add, Applications, :apps
Menu, tray, add, Windows Games, :Wingames
Menu, tray, add, Administrative Tools, :admin
Menu, tray, add, Maintainance Tools, :Maintain
Menu, tray, add, Properties Stuff, :prop
Menu, tray, add, Networking and WWW, :Network
Menu, tray, add, System and Security, :securesys
Menu, tray, add, Utilites, :util


;##########other menus#################
Menu, tray, add,
Menu, tray, add, Show Desktop, desktop
Menu, tray, add, Task Manager, taskmgr
Menu, tray, add, Registry Editor, regedit
Menu, tray, add, Command Prompt, cmd
Menu, tray, add, Windows Explorer, explorer
Menu, tray, add,
Menu, tray, add, Help, help
Menu, tray, add, Windows XP Tour Wizard, tourstart
Menu, tray, add
Menu, tray, add,Shut down, shutdown
Menu, tray, add, Log off, logoff
Menu, tray, add, Visit my blog, visit
Menu, tray, add, Exit, exit
return
;##############command list################
;##########Accesibility Controls##########
access:
run access.cpl
return
;##########Add Hardware Wizard################
hdwwiz:
run hdwwiz.cpl
return
;############# Add/Remove Programs################
appwiz:
run appwiz.cpl
return
;#############Administrative Tools################
admintools:
run control admintools
return
;############# Automatic Updates################
wuau:
run wuaucpl.cpl
return
;############# Bluetooth Transfer Wizard################
fsquirt:
run fsquirt
return
;############# Calculator################
calc:
run calc
return
;############# Certificate Manager################
certmgr:
run certmgr.msc
return
;############# Character Map################
charmap:
run charmap
return
;############# Check Disk Utility################
chkdsk:
run chkdsk
return
;############# Clipboard Viewer################
clipbrd:
run clipbrd
return
;############# Command Prompt################
cmd:
run cmd
return
;############# Component Services################
dcomcnfg:
run dcomcnfg
return
;############# Computer Management ################
compmgmt:
run compmgmt.msc
return
;############# Date and Time Properties ################
timedate:
run timedate.cpl
return
;############# DDE Shares ################
ddeshare:
run ddeshare
return
;############# Device Manager ################
devmgmt:
run devmgmt.msc
return
;############# Direct X Control Panel (If Installed)* ################
directx:
run directx.cpl
return
;############# Direct X Troubleshooter ################
dxdiag:
run dxdiag
return
;############# Disk Cleanup Utility ################
cleanmgr:
run cleanmgr
return
;############# Disk Defragment ################
dfrg:
run dfrg.msc
return
;############# Disk Management ################
diskmgmt:
run diskmgmt.msc
return
;############# Disk Partition Manager ################
diskpart:
run diskpart
return
;############# Display Properties ################
disprop:
run desk.cpl
return
;############# Dr. Watson System Troubleshooting Utility ################
drwtsn32:
run drwtsn32
return
;############# Driver Verifier Utility ################
verifier:
run verifier
return
;############# Event Viewer ################
eventvwr:
run eventvwr.msc
return
;############# File Signature Verification Tool ################
sigverif:
run sigverif
return
;############# Findfast ################
findfast:
run findfast.cpl
return
;############# Folders Properties ################
folders:
run control folders
return
;############# Fonts ################
fonts:
run fonts
return
;############# Free Cell Card Game ################
freecell:
run freecell
return
;############# Game Controllers ################:
joy:
run joy.cpl
return
;############# Group Policy Editor (XP Prof) ################
gpedit:
run gpedit.msc
return
;############# Hearts Card Game ################
mshearts:
run mshearts
return
;############# Iexpress Wizard ################
iexpress:
run iexpress
return
;############# Indexing Service ################
ciadv:
run ciadv.msc
return
;############# Internet Properties ################
inet:
run inetcpl.cpl
return
;############# IP Configuration ################
ipconfig:
run ipconfig
return
;############# Keyboard Properties ################
keyboard:
run control keyboard
return
;############# Local Security Settings ################
secpol:
run secpol.msc
return
;############# Local Users and Groups ################
lusrmgr:
run lusrmgr.msc
return
;############# Logs You Out Of Windows ################
logoff:
MsgBox, 4, Logoff, Really want to Logoff?
IfMsgBox No
    return
else
shutdown, 0
return
;############# Microsoft Chat ################
winchat:
run winchat
return
;############# Minesweeper Game ################
winmine:
run winmine
return
;############# Mouse Properties ################
mouse:
run control mouse
return
;############# Network Connections ################
ncpa:
run ncpa.cpl
return
;############# Network Setup Wizard ################
netsetup:
run netsetup.cpl
return
;############# Notepad ################
notepad:
run notepad
return
;############# Object Packager ################
packager:
run packager
return
;############# ODBC Data Source Administrator ################
odbccp32:
run odbccp32.cpl
return
;############# On Screen Keyboard ################
osk:
run osk
return
;############# Password Properties ################
password:
run password.cpl
return
;############# Performance Monitor ################
perfmon:
run perfmon.msc
return
;############# Power Configuration ################
telephon:
run telephon.cpl
return
;############# Power Configuration ################
powercfg:
run powercfg.cpl
return
;############# Printers and Faxes ################
printers:
run control printers
return
;############# Private Character Editor ################
eudcedit:
run eudcedit
return
;############# Quicktime (If Installed) ################
QuickTime:
run QuickTime.cpl
return
;############# Regional Settings ################
intl:
run intl.cpl
return
;############# Registry Editor ################
regedit:
run regedit
return
;############# Remote Desktop ################
mstsc:
run mstsc
return
;############# Removable Storage ################
ntmsmgr:
run ntmsmgr.msc
return
;############# Removable Storage Operator Requests ################
ntmsoprq:
run ntmsoprq.msc
return
;############# Resultant Set of Policy (XP Prof) ################
rsop:
run rsop.msc
return
;############# Scanners and Cameras ################
scanmera:
run sticpl.cpl
return
;############# Scheduled Tasks ################
schedtasks:
run control schedtasks
return
;############# Security Center ################
wscui:
run wscui.cpl
return
;############# Services ################
services:
run services.msc
return
;############# Shared Folders ################
fsmgmt:
run fsmgmt.msc
return
;############# Shuts Down Windows ################
shutdown:
MsgBox, 4, Shutdown, Really want to shutdown?
IfMsgBox No
    return
else
shutdown, 9
return
;############# Sounds and Audio ################
mmsys:
run mmsys.cpl
return
;############# Spider Solitare Card Game ################
spider:
run spider
return
;############# SQL Client Configuration ################
cliconfg:
run cliconfg
return
;############# System Configuration Editor ################
sysedit:
run sysedit
return
;############# System Configuration Utility ################
msconfig:
run msconfig
return
;############# System File Checker Utility ################
sfc:
run sfc
return
;############# System Properties ################
sysdm:
run sysdm.cpl
return
;############# Task Manage ################
taskmgr:
run taskmgr
return
;############# Telnet Client ################
telnet:
run telnet
return
;############# User Account Management ################
nusrmgr:
run nusrmgr.cpl
return
;############# Utility Manager ################
utilman:
run utilman
return
;############# Windows Firewall ################
firewall:
run firewall.cpl
return
;############# Windows Magnifier ################
magnify:
run magnify
return
;############# Windows Management Infrastructure ################
wmimgmt:
run wmimgmt.msc
return
;############# Windows System Security Tool ################
syskey:
run syskey
return
;############# Windows Update Launches ################
wupdmgr:
run wupdmgr
return
;############# Windows XP Tour Wizard ################
tourstart:
run tourstart
return
;############# Wordpad ################
write:
run write
return
;############# Microsoft Word################
winword:
run winword
return
;############# Microsoft Excel################
excel:
run excel
return
;############# Microsoft PowerPoint################
powerpnt:
run powerpnt
return
;############# Mozilla Firefox################
firefox:
run firefox
return
;############# Microsoft Internet Explore################
iexplore:
run iexplore
return
;############# Windows Explorer################
explorer:
run explorer
return
;############# Windows Messenger################
messenger:
run msmsgs
return
;############# Outlook Express################
outlook:
run msimn
return
;############# Show Desktop################
desktop:
run %A_WinDir%\System32\Show Desktop
return
;############# Help################
help:
Run %A_WorkingDir%\readme.txt
return
;############# Visit################
visit:
IfWinExist, Firefox
{
WinActivate
send, !FT
Run,http://www.tinybigbang.wordpress.com
}
else
{
Run,http://www.tinybigbang.wordpress.com
}
Return
;############exit####################
exit:
MsgBox, 4, Close Application, Really want to exit?
IfMsgBox No
    return
else
MsgBox, 0, Ads, Visit tinybigbang.wordpress.com for updates and other usefull aplications.
ExitApp
;############end here####################

You can also download ahk source from http://www.autohotkey.net/~broxenhearted/catapult/Catapult%201.0.ahk.


I asking help for one bug I found here. When I try to access sticpl.cpl wich refers to Scanners and Cameras, it says "file not found"Question Question Question . Can anybody tell me how to solve the problem?
Sorry if my English bad.
_________________
Look for The Master, Follow The Master, Walk with The Master, See Through The Master, Become The Master.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Elesar



Joined: 28 Jun 2007
Posts: 622
Location: Somewhere around 35 12N 101 49W

PostPosted: Sat Jun 14, 2008 12:37 am    Post subject: Re: My new script: Catapult Reply with quote

Nice utility, I should have fun with this Very Happy

By the way...

broxenhearted wrote:
Sorry if my English bad.


Your English is better than most American posters on 90% of the forums that I go to.
Back to top
View user's profile Send private message
Tertius



Joined: 05 Jun 2008
Posts: 61

PostPosted: Sat Jun 14, 2008 8:44 am    Post subject: Reply with quote

Useful idea.


Quote:
I asking help for one bug I found here. When I try to access sticpl.cpl wich refers to Scanners and Cameras, it says "file not found" . Can anybody tell me how to solve the problem?


The following will work:

Code:
Run, control sticpl.cpl



- Tertius
Back to top
View user's profile Send private message
broxenhearted



Joined: 01 Jun 2008
Posts: 11
Location: Eromoko, Wonogiri, Indonesia

PostPosted: Sun Jun 15, 2008 12:37 pm    Post subject: Thanks Reply with quote

Thanks. That's work...
_________________
Look for The Master, Follow The Master, Walk with The Master, See Through The Master, Become The Master.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
purloinedheart



Joined: 04 Apr 2008
Posts: 537
Location: Canada

PostPosted: Sun Jun 15, 2008 10:28 pm    Post subject: Reply with quote

Very nice script, I like it a lot Very Happy
Back to top
View user's profile Send private message
broxenhearted



Joined: 01 Jun 2008
Posts: 11
Location: Eromoko, Wonogiri, Indonesia

PostPosted: Tue Jun 17, 2008 9:20 am    Post subject: Thanks Reply with quote

Thanks...
By the way, is anybody have list of other hidden functions in Windows? Please reply or pm me...
_________________
Look for The Master, Follow The Master, Walk with The Master, See Through The Master, Become The Master.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
amitk



Joined: 13 Mar 2008
Posts: 7

PostPosted: Sat Dec 27, 2008 7:58 am    Post subject: Reply with quote

this is handy! thanks.
Back to top
View user's profile Send private message
garry



Joined: 19 Apr 2005
Posts: 2214
Location: switzerland

PostPosted: Sat Dec 27, 2008 10:17 am    Post subject: Reply with quote

Quote:
By the way, is anybody have list of other hidden functions in Windows? Please reply or pm me...

tried to collect commands XP / DOS , I used listview, your script with tray is handy, thanks, I like it
http://www.autohotkey.com/forum/topic21974.html
lately greetings to christmas , just to listen to , rasa sayange - teresa teng (taiwan)
http://www.youtube.com/watch?v=cOOwEKFqhko
Back to top
View user's profile Send private message
bluserver



Joined: 07 Aug 2010
Posts: 33
Location: Philippines

PostPosted: Sun Aug 29, 2010 2:10 am    Post subject: Reply with quote

This is a useful script to be used as tool.

Thanks..
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group