Search found 19 matches

by foguetes
04 Dec 2019, 07:01
Forum: Ask for Help (v1)
Topic: Character replace in clipboard
Replies: 1
Views: 978

Character replace in clipboard

I'm trying to create a script that replaces a \ with a / when I press windows+shift+c. This has worked only a few times, so it's very inconsistent. I really don't know why. I'm using it to convert windows filepaths to mac file paths, so if I have: \\desktop\Users\Me\Desktop\mpv-shot0001.jpg When I p...
by foguetes
23 Oct 2019, 07:31
Forum: Ask for Help (v1)
Topic: Uploading every file in a folder
Replies: 1
Views: 591

Uploading every file in a folder

I'm trying to create a script that uploads all the files within one folder to Azure Video Indexer: https www.videoindexer.ai / Broken Link for safety I have written this script that promps a window where I can choose a folder. Then the webpage is opened in chrome and the upload button is pressed. Fi...
by foguetes
14 Oct 2019, 06:15
Forum: Ask for Help (v1)
Topic: Uploading multiple files
Replies: 0
Views: 439

Uploading multiple files

I'm using microsoft's video indexer ( https www.videoindexer.ai / Broken Link for safety ) to auto tag video files. My problem is that the upload page only allows the selection of 1 files. I'd like to be able to upload multiple selected files. I couldn't really find any information on how to do some...
by foguetes
10 Oct 2019, 05:00
Forum: Ask for Help (v1)
Topic: Auto press enter on popup
Replies: 1
Views: 1281

Auto press enter on popup

I'm trying to create a script that automatically presses the enter key when a window pops up. This is the window: FEbCg9D.png It has the following properties: TrA139s.png This is my attempt: #Persistent SetTitleMatchMode, 2 #If WinActive("ahk_class #32770") Send, {Enter} return Am I going in the rig...
by foguetes
05 Sep 2019, 02:04
Forum: Ask for Help (v1)
Topic: Disable Office Key
Replies: 2
Views: 1009

Disable Office Key

The WIndows 10 May 2019 update added a shortcut for Office 365 launcher. The launcher opens up when I press Winkey + T This shortcut was previously assigned to the Trello app. I was able to disable the launcher app by going into the WindowsApps folder and changing the OfficeHub folder name. However,...
by foguetes
08 Aug 2019, 04:27
Forum: Ask for Help (v1)
Topic: turn screensaver on
Replies: 2
Views: 581

turn screensaver on

I made a Autohotkey script to turn the screensaver on when I press Ctrl+Esc.
It suddenly stopped working.

Code: Select all

; turn off screen

#Persistent

^$Esc::
Run, %windir%\system32\scrnsave.scr /s
return
What's wrong with it?
by foguetes
30 Jul 2019, 05:19
Forum: Ask for Help (v1)
Topic: Open file or folder path
Replies: 3
Views: 7724

Re: Open file or folder path

The problem was actually being caused by the fact that double clicking the text in Chrome to select the entire line would copy a line break to the clipboard. I also noticed that using the open command on folders has the same behavior as using the explore command. So I added a Regex to remove line br...
by foguetes
29 Jul 2019, 09:32
Forum: Ask for Help (v1)
Topic: Open file or folder path
Replies: 3
Views: 7724

Open file or folder path

I'm trying to create a keyboard shortcut to open a selected folder or file path. I'm using Windows key + F1 to open a folder and Windows key + F2: ; open path in explorer #F1:: SendInput, ^c ; copy current selection to clipboard ClipWait, 30 Run, explore %clipboard% return ; open file path in explor...
by foguetes
18 Jul 2019, 09:21
Forum: Ask for Help (v1)
Topic: Autohotkey not working on Youtube
Replies: 1
Views: 445

Autohotkey not working on Youtube

I'm having trouble making Autohotkey work on youtube tabs in Google Chrome. I'm currently using a script to skip tracks on Artlist.io using the side scroll. ; Artlist.io SetTitleMatchMode, 2 #IfWinActive, artlist: WheelRight::Right WheelLeft::Left #IfWinActive return I tried doing the same for youtu...
by foguetes
18 Jul 2019, 09:08
Forum: Ask for Help (v1)
Topic: Cycle Keys
Replies: 10
Views: 3883

Re: Cycle Keys

I was having a problem where this script didn't cycle through all the keys when NumLock was active (which is always). So I made it turn NumLock off and on again using SetNumLockState. num := 0 return ^!+F1:: SetNumLockState, Off num++ if (num > 16) num := 0 DoSend(num) SetNumLockState, On return ^!F...
by foguetes
23 May 2019, 04:10
Forum: Ask for Help (v1)
Topic: Base64 decode and create file from clipboard Topic is solved
Replies: 10
Views: 3401

Re: Base64 decode and create file from clipboard Topic is solved

gregster wrote:
08 May 2019, 13:49
freespacing wrote:
08 May 2019, 06:09
That's why I'm curious about use cases. Now I have a hammer, I'm looking for a nail. ;)
Website APIs often return files like images or sound files in this format, iirc. Then, you will have to decode them...
This is why I need this script.

Thanks!
by foguetes
08 May 2019, 03:50
Forum: Ask for Help (v1)
Topic: Base64 decode and create file from clipboard Topic is solved
Replies: 10
Views: 3401

Re: Base64 decode and create file from clipboard Topic is solved

Thanks for the help. The script works great, but I would also need to save several files and add an increment to the file name. Let's say I would start with TTS_01 and each new file would increase by one digit. I tried using the different FileOpen flags but none of them does what I need. Do you know...
by foguetes
07 May 2019, 05:28
Forum: Ask for Help (v1)
Topic: Base64 decode and create file from clipboard Topic is solved
Replies: 10
Views: 3401

Base64 decode and create file from clipboard Topic is solved

Hi, I need a script that decodes base64 strings from the clipboard and saves them as .wav files. The strings look like this: UklGRpSeAABXQVZFZm10IBAAAAABAAEAwF0AAIC7AAACABAAZGF0YXCeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
by foguetes
02 May 2019, 03:57
Forum: Ask for Help (v1)
Topic: Cycle Keys
Replies: 10
Views: 3883

Re: Cycle Keys

Sorry to bother you about this, but it's still not working. I don't seem to understand how it's working. Every time I make a change the script keeps behaving the same way. So, as a reminder, the sequence of keys should be: ^(Numpad 0-9) and then ^+(Numpad 1-7) !+F1 Is the shortcut for increments ^!F...
by foguetes
25 Apr 2019, 07:38
Forum: Ask for Help (v1)
Topic: Cycle Keys
Replies: 10
Views: 3883

Re: Cycle Keys

Hallo, try: key = 0 Return ^!+F1:: IF key++ > 16 key = 0 key2 := Mod(key,10)+(key>9) Send, ^{Numpad%key2%} Return ^!F1:: IF key-- < 0 key = 16 key2 := Mod(key,10)+(key>9) Send, ^{Numpad%key2%} Return Actually I was wrong. Maybe I didn't pay enough attention. The script cycles through the first 10 k...
by foguetes
17 Apr 2019, 02:38
Forum: Ask for Help (v1)
Topic: Cycle Keys
Replies: 10
Views: 3883

Re: Cycle Keys

@Rohwedder's script works perfectly. There's a lot I still need to learn about autohotkey.
by foguetes
16 Apr 2019, 08:30
Forum: Ask for Help (v1)
Topic: Cycle Keys
Replies: 10
Views: 3883

Cycle Keys

Hi I am working on a script that will cycle through a list of key combos. Right now if I press Ctrl+Alt+Shift+F1 it cycles through the combos forwards. The combos are Ctrl + (numpad1-9) and the Ctrl + Shit + (numpad1-7) and then it goes back to zero which is Ctrl + numpad0. My question is: how can I...
by foguetes
20 Oct 2018, 03:52
Forum: Ask for Help (v1)
Topic: Change Windows network path to Mac on the clipboard
Replies: 2
Views: 647

Re: Change Windows network path to Mac on the clipboard

#SingleInstance, Force #NoEnv +F19:: Clipboard := "C:\Users\wcamp0\Downloads\New AutoHotkey Script.ahk" RegExMatch(Clipboard, ":(.*)", Path) Clipboard := StrReplace(Path1, "\", "/") ;MsgBox, % Clipboard return I tried this but it behaves the same way as my script. It only removed the quotation marks.
by foguetes
19 Oct 2018, 05:18
Forum: Ask for Help (v1)
Topic: Change Windows network path to Mac on the clipboard
Replies: 2
Views: 647

Change Windows network path to Mac on the clipboard

I want to create a script that converts a Windows path into a Mac path when I press Shift+F19 from the clipboard. I would Shift+Right Click a file > Choose "Copy as Path" from the context menu > Press Shift+F19 to convert to a Mac path. So I would replace this: "Z:\ Users \ Resources \ da.lproj" Wit...

Go to advanced search