jennico Posted June 2, 2007 Share Posted June 2, 2007 (edited) hi there !the question is the following: my program creates save files using a new file extension (.tlb, but that doesn't matter). i registered the filetype and associated it with my exe and the icon so i can open the save.tlb by double clicking and then proceed according to the cmdline params. no problems with that.but now: is there a way to set the file metadata that is shown on mouse hovering and in the explorer's status bar ? i would be interested in displaying the creation date and the dimensions (~ similar information that is diplayed with image files).i have searched the forum and found the tools (_GetExtProperty.au3 by simucal, _GetFileProperty.au3) that pull out the properties of a file by numbers, but these don't change or set the information.anyone can help ?thanxj. Edited June 2, 2007 by jennico Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96 Link to comment Share on other sites More sharing options...
jennico Posted June 2, 2007 Author Share Posted June 2, 2007 what's the problem ? is my question too complicated or just too stupid ? j. Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 2, 2007 Moderators Share Posted June 2, 2007 None of the File* functions in the help file work for you or do what you want? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
jennico Posted June 2, 2007 Author Share Posted June 2, 2007 (edited) no.there is only filesettime.i think the metadata must be written into the registry or a dll call. i guess the filetype has to be associated with the contents of the metadata/file properties. but i can't find the reg entry.no, this cannot be. cannot be the registry.j. Edited June 2, 2007 by jennico Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96 Link to comment Share on other sites More sharing options...
jennico Posted June 2, 2007 Author Share Posted June 2, 2007 (edited) well, okay i found a first hint: e.g.: HKCR\dllfile: InfoTip - REG_SZ - prop:FileDescription;Company;FileVersion;Create;Size TitleInfo - REG_SZ - prop:FileVersion;FileDescription this could determine the information of the filetype displayed in tooltip and statusbar. but still i don't know how to set the file information. j. next hint: HKCR\SystemFileAssociations\image TitleInfo - REG_SZ - prop:Dimensions;Type;Size but still i don't know how to set the file prop. Edited June 2, 2007 by jennico Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96 Link to comment Share on other sites More sharing options...
jennico Posted June 3, 2007 Author Share Posted June 3, 2007 nobody here who knows anything ? Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96 Link to comment Share on other sites More sharing options...
Tlem Posted June 3, 2007 Share Posted June 3, 2007 Look in Scite Help about AutoIt3Wrapper directive (For exemple : #Compiler_Res_Description=) Best Regards.Thierry Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 4, 2007 Share Posted June 4, 2007 I tried to find enough info for me to do this and hit a brick wall. Made a decent update of Simucal's code as _FileGetExtProp(), but couldn't figure out how to make a working _FileSetExtProp(). Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Tlem Posted June 6, 2007 Share Posted June 6, 2007 Oups .... Sorry, I doesn't understand de question the 1st time I read. I think you must use ResHacker.exe to make modification on the file tag. Look on the ResHacker.hlp and _AutoIt3Wrapper.au3 files. Best Regards.Thierry Link to comment Share on other sites More sharing options...
Confuzzled Posted June 17, 2007 Share Posted June 17, 2007 Is it a data file, or just a renamed exe file? Will it take kindly to modifications to it's resource data (hint, hint)? Link to comment Share on other sites More sharing options...
jennico Posted July 7, 2007 Author Share Posted July 7, 2007 (edited) no, sorry, it is NOT an exe file or similar, it contains just data (similar to a jpg or other graphic files). so reshacker can't do anything with it. any other 'hint, hint' ? j. Edited July 7, 2007 by jennico Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96 Link to comment Share on other sites More sharing options...
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