Search found 114 matches

by Elermino
16 Dec 2023, 20:26
Forum: Ask for Help (v1)
Topic: Paste multiple lines of a clipboard item separately Topic is solved
Replies: 8
Views: 408

Re: Paste multiple lines of a clipboard item separately Topic is solved

I explain my case to you. I want to insert a list of tags in Facebook Marketplace, and if you copy a list and paste it directly, it is inserted as a single tag (instead of detecting the line breaks and placing them individually), which is why I want to make a script since It makes it repetitive to c...
by Elermino
16 Dec 2023, 19:53
Forum: Ask for Help (v1)
Topic: Paste multiple lines of a clipboard item separately Topic is solved
Replies: 8
Views: 408

Re: Paste multiple lines of a clipboard item separately Topic is solved

Sorry, maybe I didn't make myself understood. I would like everything to happen automatically.
(
line1
line2
line3
)
It is done as if it were a macro
(
line1 {enter}
line2 {enter}
line3
)
by Elermino
16 Dec 2023, 19:44
Forum: Ask for Help (v1)
Topic: Paste multiple lines of a clipboard item separately Topic is solved
Replies: 8
Views: 408

Re: Paste multiple lines of a clipboard item separately Topic is solved

Thanks for your answer. I would like the last item copied from the clipboard to be handled, line1, line2, line3 was an example. Maybe autohotkey v1 code?
Regards :thumbup:
by Elermino
16 Dec 2023, 19:11
Forum: Ask for Help (v1)
Topic: Paste multiple lines of a clipboard item separately Topic is solved
Replies: 8
Views: 408

Paste multiple lines of a clipboard item separately Topic is solved

Hello everyone In this script I tried to do the following: *I copy several lines. Ex: ( line1 line2 line3 ) These lines look like 1 single element on the clipboard, so if I do Ctrl+V, all the text is pasted. What I would like to achieve is to detect line breaks and paste the lines one by one and pre...
by Elermino
22 Sep 2023, 12:25
Forum: Ask for Help (v1)
Topic: Focus a window under the mouse and send a hotkey Topic is solved
Replies: 1
Views: 240

Focus a window under the mouse and send a hotkey Topic is solved

Good morning everyone! When pressing "Ctrl + WheelUp/Down" with the pointer under Chrome I would like to focus the Chrome window once and then send the ^+tab hotkey as shown in my code: Ctrl & WheelUp:: MouseGetPos,,, WinUMID WinGetClass, class, ahk_id %WinUMID% if (InStr(class,"Chrome_WidgetWin_1"...
by Elermino
13 Sep 2023, 21:41
Forum: Ask for Help (v1)
Topic: WinRar and 7zip command to extract archive in new folder Topic is solved
Replies: 9
Views: 818

Re: WinRar and 7zip command to extract archive in new folder Topic is solved

UnZip or UnRAR ; This script extracts files from ZIP or RAR archives ; More: https://autohotkey.com/board/topic/60706-native-zip-and-unzip-xpvista7-ahk-l/ #Requires AutoHotkey v1.1.33 SetTitleMatchMode RegEx dir := StrReplace(A_Desktop, "Desktop", "Downloads") rar := A_ProgramFiles "\WinRAR\WinRAR....
by Elermino
13 Sep 2023, 19:34
Forum: Ask for Help (v1)
Topic: WinRar and 7zip command to extract archive in new folder Topic is solved
Replies: 9
Views: 818

Re: WinRar and 7zip command to extract archive in new folder Topic is solved

mikeyww wrote:
13 Sep 2023, 18:35
Are you running the script that I posted, or a different one?
It already worked, I was trying with another :facepalm:
Thank you very much, with this I already have my script complete :wave:

Edit: Excuse me, for WinRar (.rar files) What would the extraction command be like?
by Elermino
13 Sep 2023, 18:27
Forum: Ask for Help (v1)
Topic: WinRar and 7zip command to extract archive in new folder Topic is solved
Replies: 9
Views: 818

Re: WinRar and 7zip command to extract archive in new folder Topic is solved

You tested your script? #Requires AutoHotkey v1.1.33 dir := StrReplace(A_Desktop, "Desktop", "Downloads") app := "d:\utils\7zip\x64\7za.exe" #If WinActive("ahk_class CabinetWClass") !F2:: For each, archiveFile in getSelected() { SplitPath archiveFile,,, ext, fnBare destDir := dir "\" fnBare ... #If...
by Elermino
13 Sep 2023, 18:25
Forum: Ask for Help (v1)
Topic: WinRar and 7zip command to extract archive in new folder Topic is solved
Replies: 9
Views: 818

Re: WinRar and 7zip command to extract archive in new folder Topic is solved

You tested your script? #Requires AutoHotkey v1.1.33 dir := StrReplace(A_Desktop, "Desktop", "Downloads") app := "d:\utils\7zip\x64\7za.exe" #If WinActive("ahk_class CabinetWClass") !F2:: For each, archiveFile in getSelected() { SplitPath archiveFile,,, ext, fnBare destDir := dir "\" fnBare ... #If...
by Elermino
12 Sep 2023, 22:05
Forum: Ask for Help (v1)
Topic: WinRar and 7zip command to extract archive in new folder Topic is solved
Replies: 9
Views: 818

Re: WinRar and 7zip command to extract archive in new folder Topic is solved

Since you know the archive's path, you can use :arrow: SplitPath to get its parts. You can then append the filename without extension to the target directory name or stem (followed by "\"), to obtain your new directory path. Thanks for your help once again, maybe like this on line 1 and 13: destDir...
by Elermino
12 Sep 2023, 19:00
Forum: Ask for Help (v1)
Topic: WinRar and 7zip command to extract archive in new folder Topic is solved
Replies: 9
Views: 818

WinRar and 7zip command to extract archive in new folder Topic is solved

Good morning I would like to know if there is a command in WinRar and 7zip that allows me to extract a compressed file into a new folder with the same file name, equivalent to right-clicking and selecting the <<extract in 'filename'/>> option. At the moment I only have the command in which you need ...
by Elermino
10 Sep 2023, 16:26
Forum: Ask for Help (v1)
Topic: Extract compressed file Topic is solved
Replies: 28
Views: 2224

Re: Extract compressed file Topic is solved

Great, it's working :D Apparently there were small extra spaces and that prevented the command from being executed. Working code: destDir := A_ScriptDir ;theseFiles7 := " " ; 7zip theseFiles := " *.* " ; WinRAR ;app7 := "C:\Program Files\7-Zip\7z.exe" app := A_ProgramFiles "\WinRAR\WinRAR.exe" extra...
by Elermino
10 Sep 2023, 12:57
Forum: Ask for Help (v1)
Topic: Extract compressed file Topic is solved
Replies: 28
Views: 2224

Re: Extract compressed file Topic is solved

mikeyww wrote:
10 Sep 2023, 12:44
If you change RunWait to MsgBox, I think you will find that a space is missing in your command line.
I don't see it clearly, where exactly is that space missing? :think:

Image
by Elermino
10 Sep 2023, 12:40
Forum: Ask for Help (v1)
Topic: Extract compressed file Topic is solved
Replies: 28
Views: 2224

Re: Extract compressed file Topic is solved

Below is an update for Zip. Use a registered copy of WinRAR. 7zip is a free alternative if you just want to unpack. #Requires AutoHotkey v1.1.33 destDir := A_ScriptDir "\t\" theseFiles := " " ; 7zip theseFiles := " *.*" ; WinRAR app := "d:\utils\7zip\x64\7za.exe" app := A_ProgramFiles "\WinRAR\WinR...
by Elermino
06 Sep 2023, 22:04
Forum: Ask for Help (v1)
Topic: Extract compressed file Topic is solved
Replies: 28
Views: 2224

Re: Extract compressed file Topic is solved

Below is an update for Zip. Use a registered copy of WinRAR. 7zip is a free alternative if you just want to unpack. #Requires AutoHotkey v1.1.33 destDir := A_ScriptDir "\t\" theseFiles := " " ; 7zip theseFiles := " *.*" ; WinRAR app := "d:\utils\7zip\x64\7za.exe" app := A_ProgramFiles "\WinRAR\WinR...
by Elermino
06 Sep 2023, 19:40
Forum: Ask for Help (v1)
Topic: Extract compressed file Topic is solved
Replies: 28
Views: 2224

Re: Extract compressed file Topic is solved

Yes, I recommend that you post the revised script that you are currently using. Is this: toDestDir := A_ScriptDir theseFiles := "*.*" app := A_ProgramFiles "\WinRAR\WinRAR.exe" extract := "x" _ := " " #If WinActive("ahk_class CabinetWClass") !F2:: For each, fromRARfile in getSelected() If (fromRARf...
by Elermino
06 Sep 2023, 17:02
Forum: Ask for Help (v1)
Topic: Extract compressed file Topic is solved
Replies: 28
Views: 2224

Re: Extract compressed file Topic is solved

mikeyww wrote:
06 Sep 2023, 13:03
You can use SplitPath for any item. Will be the same for all of them.
Thank you very much for your help, I am pleased that this topic is of interest to you. :clap:
The selected .zip file is still not extracted, any recommendation? :think:

Thanks in advance
by Elermino
06 Sep 2023, 08:01
Forum: Ask for Help (v1)
Topic: Extract compressed file Topic is solved
Replies: 28
Views: 2224

Re: Extract compressed file Topic is solved

If you search forum for "ExplorerGetSelection", you should see the function by teadrinker that will do that part. An adapted one: https://www.autohotkey.com/boards/viewtopic.php?p=514288#p514288 #Requires AutoHotkey v1.1.33 dir := A_ScriptDir fromRARfile := dir "\temp2.rar" ... Sorry, how can I get...
by Elermino
05 Sep 2023, 10:54
Forum: Ask for Help (v1)
Topic: Extract compressed file Topic is solved
Replies: 28
Views: 2224

Re: Extract compressed file Topic is solved

WinRAR -> Help -> Help topics -> Command line mode -> Command line syntax You can then use the :arrow: Run command with your command line. Thanks for your reply. How do I get it to detect if a file is selected in the file explorer or the desktop and extract it? Maybe this is the correct syntax for ...

Go to advanced search