If I right click on a file, select 'Properties' item, 'Summary' tab, I can set/get file's comments.
How can I do that via AHK script? (without using MouseClick, ControlClick or Send commands)
Maybe COM?
File's comments Topic is solved
Re: File's comments
ermm. you can open the properties window with run.
Then you can try to send a couple of Control+Tabs to navigate to the right tab.And again, Tab to navigate to the right field.
Code: Select all
Run, properties "D:\RSS.ahk"
Sleep, 1000
Re: File's comments
Erm... the OP said without using Send, etc. commands...
@OP: I'm not sure if this is possible. Certain attributes can be changed, but I'm not sure about comments.
@OP: I'm not sure if this is possible. Certain attributes can be changed, but I'm not sure about comments.
Re: File's comments
Yeah, it's easy to get/set some attributes like +/- Hidden, Modification time, etc., but I can't figure out how to work with file's comments (without MouseClick, ControlClick, Send, Run)
Was searchind MSDN but found nothing...
Was searchind MSDN but found nothing...
Re: File's comments
What kind of file types have this "summary" section? I don't see a summary in my files' properties/Details.
Re: File's comments
I think any file has summary tab... Here's a screenshot; http://imgur.com/sls2fUI
Re: File's comments
What version of Windows are you running? I don't have a summary tab for any file type. Just details (which I'm assuming is the same thing, but all mine look like this:
Spoiler
Re: File's comments Topic is solved
Windows XP, Professional, Version 2002, Service Pack 3
And you? Win 8?
And you? Win 8?
Re: File's comments
potkon wrote:Windows XP
Time to upgrade, mate. Yes, I'm running 8.1. I think even Windows 7 (Vista even) doesn't have the summary tab.
Re: File's comments
[quote="fischgeek"]Time to upgrade, mate.[/quote]
Re: File's comments
@fischgeek: Offtopic, but what do you use to get the shadows and the rounded corners on Windows 8.1? Lack of shadows is one of the things I hate most about Windows 8 and I've searched everywhere for something that could bring them back.
Re: File's comments
@chaz: What do you mean? Are you referring to my screenshot? The software tool I use for screenshots just does that for me. My windows don't actually look like that in 8.1. They have square corners until the software applies the shadow. I personally don't like the rounded corners and shadowing. I turn them off. At any rate, I know you can toggle these options in the Performance options in Windows.
Spoiler
Re: File's comments
Ahh... I see. I don't care about the rounded corners, I just want my shadows back. And yes, the shadow option can be toggled on, but because the shadow is only a single pixel wide and really light, it's completely invisible so might as well not be there. I'm looking for something that allows me to distinguish one window from another, because backlit screens tend to negatively affect my eyes a lot after an hour or two. I don't want full-on high contrast mode though.
Re: File's comments
Here's an article on the topic, aimed at C++ developers.
Access the Summary Information Property Set of a file using Visual C++ - CodeProject
Access the Summary Information Property Set of a file using Visual C++ - CodeProject
Re: File's comments
Thanks for the link Lexikos!
Well, it's too complex for me to translate that code to AHK, but at least now I know it can be done!
Well, it's too complex for me to translate that code to AHK, but at least now I know it can be done!
Re: File's comments
does "Access the Summary Information Property Set of a file using Visual C++ - CodeProject" mean it can be done?
potkon wrote:Thanks for the link Lexikos!
Well, it's too complex for me to translate that code to AHK, but at least now I know it can be done!
Who is online
Users browsing this forum: aitaixy, Anput, dangoscrub, doodles333, joedf, Nerafius and 107 guests