Search found 258 matches
- 23 Jan 2021, 16:18
- Forum: Ask for Help (v1)
- Topic: Add options in explorer context menu when some text is selected
- Replies: 2
- Views: 235
Re: Add options in explorer context menu when some text is selected
Hi, Items can be added to a menu via the registry, but this one isn't straight-forward. There's a thread about it, with a script here : https://stackoverflow.com/questions/39827324/can-i-edit-the-context-menu-of-a-text-field-not-explorer-context-menu Thank you for the reply. I will continue to use ...
- 21 Jan 2021, 17:45
- Forum: Ask for Help (v1)
- Topic: Add options in explorer context menu when some text is selected
- Replies: 2
- Views: 235
Add options in explorer context menu when some text is selected
Hi, how to add an option in this context menu ? https://imgur.com/KkktdBt How to add UPPERCASE and lowercase like in Notepad++ ? and other options https://imgur.com/1K6bHr5 I'm already doing it by pressing hotkeys with an autohotkey script but I would prefer directly from the menu like notepad++ wit...
- 19 Oct 2020, 12:52
- Forum: Ask for Help (v1)
- Topic: Adding date to the name of files and folders
- Replies: 11
- Views: 506
Re: Adding date to the name of files and folders
Yes, this code is working for files, not for folders. The Guy on reddit gave this new one working with both #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new s...
- 19 Oct 2020, 12:02
- Forum: Ask for Help (v1)
- Topic: Adding date to the name of files and folders
- Replies: 11
- Views: 506
Re: Adding date to the name of files and folders
SplitPath, file,, dir, ext, fnBare ; Get the file name and extension FileMove, %file%, % dir "\" fnBare " " modified "." ext ; Rename the file Nothing happens with this code via the '"send to" or in "file context menu" in easy context menu. Someone on reddit gave this working one: #NoEnv ; Recommen...
- 19 Oct 2020, 11:41
- Forum: Ask for Help (v1)
- Topic: Adding date to the name of files and folders
- Replies: 11
- Views: 506
Re: Adding date to the name of files and folders
I compiled the script and put the shortcut in the "send to" folder. It's working with files, the only problem is the file is move on the desktop. It doesn't work with folder.
- 19 Oct 2020, 10:07
- Forum: Ask for Help (v1)
- Topic: Adding date to the name of files and folders
- Replies: 11
- Views: 506
Re: Adding date to the name of files and folders
Code: Select all
FileName=%1%
FileGetTime, ts, %file% ; Get the timestamp for modification time
FormatTime, modified, %ts%, yyyy-MM-dd ; Format the modification time into a date
SplitPath, file,,, ext, fnBare ; Get the file name and extension
FileMove, %file%, % fnBare " " modified "." ext ; Rename the file
- 19 Oct 2020, 10:00
- Forum: Ask for Help (v1)
- Topic: Adding date to the name of files and folders
- Replies: 11
- Views: 506
Re: Adding date to the name of files and folders
Thank you mikeyww
I added the script in the context menu with easy context menu and also try to add the shortcut to the script in the "send to" folder. But Nothing happens when I right-click on a file and click on it.
I added the script in the context menu with easy context menu and also try to add the shortcut to the script in the "send to" folder. But Nothing happens when I right-click on a file and click on it.
- 19 Oct 2020, 09:05
- Forum: Ask for Help (v1)
- Topic: Adding date to the name of files and folders
- Replies: 11
- Views: 506
Adding date to the name of files and folders
Hi, I would like to add the "Date Created" or "Date Modified" to any files or folders. Possibly by right-clicking on it and running a script from the context menu. Can that be done with autohotkey, batch file or VBS ? Any help would be appreciated
example: "test.txt" to "test 2020-10-19.txt"
example: "test.txt" to "test 2020-10-19.txt"
- 16 Oct 2020, 04:06
- Forum: Ask for Help (v1)
- Topic: Automatically copy a filename and launch a web search about the file
- Replies: 19
- Views: 880
Re: Automatically copy a filename and launch a web search about the file
Thank you for the help guys. here the codes that work for me. Google Search (Show File Extensions): FileName=%1% FileName:=RegExReplace(FileName,"&","%26") FileName:=RegExReplace(FileName,"#","%23") SplitPath FileName,Name Run h t t p s://www. google. com/ search?q=%Name% Google Search (Hide File Ex...
- 15 Oct 2020, 11:44
- Forum: Ask for Help (v1)
- Topic: Automatically copy a filename and launch a web search about the file
- Replies: 19
- Views: 880
Re: Automatically copy a filename and launch a web search about the file
Thanks for the help guys. Someone on Reddit found the solution. FileName=%1% SplitPath FileName,Name,Dir,Ext,NameNoExt If InStr(FileExist(FileName),"D") ;Dir? Run https www.google.com /search?q=%Name% Else ;File Run https www.google.com /search?q=%NameNoExt% It's working with 99.9% of the files and ...
- 15 Oct 2020, 10:07
- Forum: Ask for Help (v1)
- Topic: Automatically copy a filename and launch a web search about the file
- Replies: 19
- Views: 880
Re: Automatically copy a filename and launch a web search about the file
Nothing happens with this code
- 15 Oct 2020, 09:52
- Forum: Ask for Help (v1)
- Topic: Automatically copy a filename and launch a web search about the file
- Replies: 19
- Views: 880
Re: Automatically copy a filename and launch a web search about the file
Thank you mikeyww. It fixes the problem I had with the Ampersand. The only problem I have now is the extension of the files is showing. How to remove it ?
- 15 Oct 2020, 09:28
- Forum: Ask for Help (v1)
- Topic: Automatically copy a filename and launch a web search about the file
- Replies: 19
- Views: 880
Re: Automatically copy a filename and launch a web search about the file
Thanks for the help guys. I don't understand why the mp3 file and DDU folder is in the code. I don't want to search only for these particular files. It was only for examples. I want to be able to do it with all my files and folders. Maybe use this: FileName=%1% SplitPath FileName,Name,Dir,Ext,NameNo...
- 15 Oct 2020, 07:41
- Forum: Ask for Help (v1)
- Topic: Automatically copy a filename and launch a web search about the file
- Replies: 19
- Views: 880
Re: Automatically copy a filename and launch a web search about the file
If I use 2 different codes for googling files and folders separately I don't get the problem with the dots in the folders names anymore. For files: Filename=%1% SplitPath FileName,,,,name_no_ext Run https://www.google.com/search?q=%name_no_ext% For folders: Inputpath=%1% SplitPath, Inputpath,FileNam...
- 15 Oct 2020, 03:54
- Forum: Ask for Help (v1)
- Topic: Automatically copy a filename and launch a web search about the file
- Replies: 19
- Views: 880
Re: Automatically copy a filename and launch a web search about the file
Thanks. I want to be able to do it with all types of files. It's working well with the shortcut for the code in the "send to" folder. I can do it with png,mp3,txt,folders etc... The only problem is when there is a dot or ampersand in the name.
- 15 Oct 2020, 02:58
- Forum: Ask for Help (v1)
- Topic: Automatically copy a filename and launch a web search about the file
- Replies: 19
- Views: 880
Re: Automatically copy a filename and launch a web search about the file
"DDU v18.0.3.3" is a folder. "George Thorogood & The Destroyers - Bad To The Bone" is a mp3
- 15 Oct 2020, 02:35
- Forum: Ask for Help (v1)
- Topic: Automatically copy a filename and launch a web search about the file
- Replies: 19
- Views: 880
Re: Automatically copy a filename and launch a web search about the file
Thanks for the reply. Now
for "DDU v18.0.3.3" I get "DDU v18.0.3"
for George Thorogood & The Destroyers - Bad To The Bone, I still get "George Thorogood"
for "DDU v18.0.3.3" I get "DDU v18.0.3"
for George Thorogood & The Destroyers - Bad To The Bone, I still get "George Thorogood"
- 14 Oct 2020, 23:56
- Forum: Ask for Help (v1)
- Topic: Automatically copy a filename and launch a web search about the file
- Replies: 19
- Views: 880
Automatically copy a filename and launch a web search about the file
Hi, I'm using Autohotkey to automatically copy a filename and launch a web search about the file via the "send to" option in the context menu but the code is not perfect. ; ; Take filename.extension as parameter, search internet for filename only. ; Inputpath=%1% ;Msgbox, Inputpath=%Inputpath% Split...