| Author |
Message |
Topic: Infotip: Size of all files in Recycle bin |
Ayush
Replies: 1
Views: 794
|
Forum: Scripts & Functions Posted: Fri Feb 16, 2007 11:52 pm Subject: Infotip: Size of all files in Recycle bin |
I created some icons for Recycle Bin. You can use your script to change the icon according to size..
here is the link to icon-library(9 icons,all 48x48) :
http://www.divshare.com/download/133833-49 ... |
Topic: ShutdownWindows |
Ayush
Replies: 25
Views: 2275
|
Forum: Scripts & Functions Posted: Fri Feb 16, 2007 11:36 pm Subject: ShutdownWindows |
That was already posted:
http://www.autohotkey.com/forum/topic16566.html
oh.. i didn;t knew that
BTW, you should avoid calling this function via rundll32,
http://blogs.msdn.com/oldnewthing/a ... |
Topic: ShutdownWindows |
Ayush
Replies: 25
Views: 2275
|
Forum: Scripts & Functions Posted: Fri Feb 16, 2007 10:41 pm Subject: ShutdownWindows |
ok,, this is pure ahk and it is reliable :
ControlSend,,!{F4},ahk_class Progman
but it will only work when explorer is running... |
Topic: ShutdownWindows |
Ayush
Replies: 25
Views: 2275
|
Forum: Scripts & Functions Posted: Fri Feb 16, 2007 7:11 pm Subject: Re: ShutdownWindows |
That is what i am saying : there is a simple function (in a dll) to bring the Shutdown Dialog (not shutdown window)..
Do you mean InitiateSystemShutdown(Ex), which is the same as
shutdown.exe /i
... |
Topic: ShutdownWindows |
Ayush
Replies: 25
Views: 2275
|
Forum: Scripts & Functions Posted: Fri Feb 16, 2007 5:03 pm Subject: Re: ShutdownWindows |
That's the main point, not to shutdown Windows, which can be done indeed with a simple command.
That is what i am saying : there is a simple function (in a dll) to bring the Shutdown Dialog (not s ... |
Topic: ShutdownWindows |
Ayush
Replies: 25
Views: 2275
|
Forum: Scripts & Functions Posted: Fri Feb 16, 2007 4:45 pm Subject: ShutdownWindows |
Because the point is precisely to get rid of the dependency on VBS to do Com operations!
OK.. but there is a simple function to bring the Shutdown Dialog because yestrday i was looking at the MSDN ... |
Topic: ShutdownWindows |
Ayush
Replies: 25
Views: 2275
|
Forum: Scripts & Functions Posted: Fri Feb 16, 2007 12:40 pm Subject: ShutdownWindows |
why not create a script in temp folder and execute it with wscript :
fpath = %A_Temp%\ShutdownDialog.vbs
FileDelete, %fpath%
FileAppend,CreateObject("Shell.Application").Shutdow ... |
Topic: i found the values-wParam for sort files/folders in explorer |
Ayush
Replies: 3
Views: 246
|
Forum: Ask for Help Posted: Thu Feb 15, 2007 12:15 pm Subject: i found the values-wParam for sort files/folders in explorer |
If you found them, perhaps somebody is interested in the Values?
here they are :
;`::PostMessage, 0x111, 30209,,,A ;- Show in groups
;1::PostMessage, 0x111, 30210,,,A ;- Name
;2::PostMessage ... |
Topic: i found the values-wParam for sort files/folders in explorer |
Ayush
Replies: 3
Views: 246
|
Forum: Ask for Help Posted: Thu Feb 15, 2007 6:33 am Subject: i found the values-wParam for sort files/folders in explorer |
| Nevermind. I found the values to use with PostMessage and WM_COMMAND |
Topic: i found the values-wParam for sort files/folders in explorer |
Ayush
Replies: 3
Views: 246
|
Forum: Ask for Help Posted: Wed Feb 14, 2007 10:44 pm Subject: i found the values-wParam for sort files/folders in explorer |
| How can i sort the files in explorer. I know i can send Shift+10 > I > N etc. but i dont want to send keys... is there a way to sort files/folders using Post Message. I searched the forum and fo ... |
Topic: Some help on DllCall. |
Ayush
Replies: 3
Views: 304
|
Forum: Ask for Help Posted: Tue Feb 13, 2007 7:42 pm Subject: Some help on DllCall. |
Out of curiosity, what your CreateDirectory functions offer that is not available in FileCreateDir?
When trying to call an API function, a good idea is to search it on the forum, there is a chance ... |
Topic: Some help on DllCall. |
Ayush
Replies: 3
Views: 304
|
Forum: Ask for Help Posted: Tue Feb 13, 2007 5:25 pm Subject: Some help on DllCall. |
Is there a tutorial on DllCall types ?
I need help on these :
1) How to call ShCreateDirectory ? What is LPCWSTR ? How can i pass that to function ?
2) GetWindowText. This doesn't work :
Dll ... |
Topic: Create a new folder shortcut |
Ayush
Replies: 6
Views: 609
|
Forum: Ask for Help Posted: Tue Feb 13, 2007 12:57 pm Subject: Create a new folder shortcut |
| Why don't you at least try the out to see how it works. The syntax means that those shortcuts are confined within Explorer windows. With Windows+n, you get a new folder, and Ctrl+n gives a new folder ... |
Topic: Create a new folder shortcut |
Ayush
Replies: 6
Views: 609
|
Forum: Ask for Help Posted: Mon Feb 12, 2007 10:38 pm Subject: Create a new folder shortcut |
Thanks again Philo but isn't there a simple way like there is in vbs/js. With VBs, you can create "Shell.Application" object that have a Windows Collection that contains Ie and Explorer ... |
Topic: Printer Options - Rundll32 [CMD] |
Ayush
Replies: 17
Views: 5417
|
Forum: Utilities & Resources Posted: Mon Feb 12, 2007 10:14 pm Subject: Printer Options - Rundll32 [CMD] |
Yes:
WOW. Thanks... btw, what is the difference between classes,interface,macros,function etc.. |
| |