Champak Posted October 24 Share Posted October 24 Is there a way to set the file properties, specifically title and comment? I found one post, but apparently that's only for the older windows. I'm using wind 10. Link to comment Share on other sites More sharing options...
SOLVE-SMART Posted October 24 Share Posted October 24 As far as I know @Champak, not with pure AutoIt and even not by calling DLLs. But of course, I could be wrong. In the past I used https://exiftool.org and AutoIt as wrapper - works pretty fine. Best regards Sven Stay innovative! Spoiler 🌍 Au3Forums 🎲 AutoIt (en) Cheat Sheet 📊 AutoIt limits/defaults 💎 Code Katas: [...] (comming soon) 🎭 Collection of GitHub users with AutoIt projects 🐞 False-Positives 🔮 Me on GitHub 💬 Opinion about new forum sub category 📑 UDF wiki list ✂ VSCode-AutoItSnippets 📑 WebDriver FAQs 👨🏫 WebDriver Tutorial (coming soon) Link to comment Share on other sites More sharing options...
Developers Jos Posted October 24 Developers Share Posted October 24 (edited) So are we talking about the meta info in an jpeg file, in stead of any generic file...( which doesnt really have that) ? ..or an exe pe header info? Edited October 24 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
argumentum Posted October 24 Share Posted October 24 5 hours ago, Champak said: that's only for the older windows. if memory serves in XP. Then there were other file managers that did it's own thing. What Win10 offers is to show it ( whatever it is ) if explorer can read it from the file itself. So the short answer is: no. ( the long answer is use another file manager other than explorer ) Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Champak Posted October 25 Author Share Posted October 25 8 hours ago, Jos said: So are we talking about the meta info in an jpeg file, in stead of any generic file...( which doesnt really have that) ? ..or an exe pe header info? The standard description section....I don't know if that's called meta info. Link to comment Share on other sites More sharing options...
argumentum Posted October 25 Share Posted October 25 (edited) 3 hours ago, Champak said: don't know if that's called already told you in my previous post. <removed the picture> ..you can use FFmpeg to set those in your media. Edited October 25 by argumentum Removed the picture. Save space. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Champak Posted October 25 Author Share Posted October 25 11 hours ago, SOLVE-SMART said: In the past I used https://exiftool.org and AutoIt as wrapper - works pretty fine. Could you give an example of how you used it to write? 1 hour ago, argumentum said: already told you in my previous post. ..you can use FFmpeg to set those in your media. Appreciate that, but that doesn't negate me from replying to a question asked of me. Also, I do know of other explorers/programs that I can use to input that info, but I'm looking for a way to do it within the app that I made as part of a larger function. Thanks. Link to comment Share on other sites More sharing options...
argumentum Posted October 25 Share Posted October 25 (edited) 23 minutes ago, Champak said: Could you give an example of how you used it to write? I use yt-dlp and it does it by itself. But I know that it uses ffmpeg. 23 minutes ago, Champak said: Appreciate that, but that doesn't negate me from replying to a question asked of me. oh, no, it does not. Actually, you should reply to everyone helping. By all means. But you did not mention me, and I feel left out 😿 23 minutes ago, Champak said: Also, I do know of other explorers/programs that I can use to input that info, Yes, there are and the way it works is that they keep ( for what I remember ) a file ( folder.nfo or something ) that keep the notes in, and will show the notes you made in the listview of the file manager. 23 minutes ago, Champak said: I'm looking for a way to do it within the app that I made as part of a larger function. ok. Share it when you're done Edited October 25 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
SOLVE-SMART Posted October 25 Share Posted October 25 2 hours ago, Champak said: 13 hours ago, SOLVE-SMART said: In the past I used https://exiftool.org and AutoIt as wrapper - works pretty fine. Could you give an example of how you used it to write? Hi @Champak 👋 , exiftool is a command-line application which can be call through console/terminal, via batch or AutoIt etc. Here is a simple example to change title and comment like you mentioned in your first post. // Set specific properties to a file (creates a new file). exiftool -title="This is my title" -comment="This is my comment" "C:\Store\my-file.mp4" // Set specific properties to a file (overwrite the original file). exiftool -overwrite_original -title="This is my title" -comment="This is my comment" "C:\Store\my-file.mp4" Adjust the placeholder texts and I hope this will help you 😀 . Best regards Sven argumentum and Champak 2 Stay innovative! Spoiler 🌍 Au3Forums 🎲 AutoIt (en) Cheat Sheet 📊 AutoIt limits/defaults 💎 Code Katas: [...] (comming soon) 🎭 Collection of GitHub users with AutoIt projects 🐞 False-Positives 🔮 Me on GitHub 💬 Opinion about new forum sub category 📑 UDF wiki list ✂ VSCode-AutoItSnippets 📑 WebDriver FAQs 👨🏫 WebDriver Tutorial (coming soon) Link to comment Share on other sites More sharing options...
Champak Posted October 26 Author Share Posted October 26 (edited) On 10/25/2024 at 1:02 AM, argumentum said: oh, no, it does not. Actually, you should reply to everyone helping. By all means. But you did not mention me, and I feel left out 😿 ahh, but you did not ask a question, you made a statement. And my response stated replying to everyone asking a question. So no need to feel left out, you weren't technically overlooked....but now you got your shoutout lol . Thanks to all for the assistance. Edited October 26 by Champak argumentum 1 Link to comment Share on other sites More sharing options...
Champak Posted October 26 Author Share Posted October 26 (edited) Odd thing happening that I'm not understanding. The two types of files I'm working with are jpg and mp4. The comments are not inserted as expected. They are writing to the mp4 but not the jpg. When I manually put them in the property details by right clicking the file and then execute the following: $File0 = $Path&"2019-06-13_191943_V.MP4" ShellExecute($exifPath, ' -a -u -g1 "' & $File0 & '"', "", "OPEN", @SW_SHOW) Under jpg files they are showing up under the tag "XP Comment" and under the the mp4 file they don't show at all....but in windows explorer I can see the comment. Any ideas? 1/ How do I output the shell printout to the console or a text file? I tried a good dozen variations, but nothing is working. 2/ Is there a "tags" tag? When I tried it, it said I had to specify a tag, not just use tag. I'm wondering if it is called something else. Edited October 26 by Champak Link to comment Share on other sites More sharing options...
Developers Jos Posted October 27 Developers Share Posted October 27 9 hours ago, Champak said: and under the the mp4 file they don't show at all ...and why would they? Please read what EXIF stands for and it probably will make sense! SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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