Search found 85 matches

by davebrny
09 Oct 2023, 16:17
Forum: Ask for Help (v1)
Topic: Copy video file from phone Topic is solved
Replies: 2
Views: 497

Re: Copy video file from phone Topic is solved

How can I modify this code, so that it only copies the video files from my phone to my laptop? Thanks! have a look at the example here: https://www.autohotkey.com/boards/viewtopic.php?t=110506#p491922 its similar to the code you have but it adds the option of using a * wildcard so you can add somet...
by davebrny
07 Apr 2020, 14:47
Forum: Scripts and Functions (v1)
Topic: Webapp.ahk - Make web-based apps with AutoHotkey
Replies: 51
Views: 23957

Re: Webapp.ahk - Make web-based apps with AutoHotkey

this might be a bit of a #UselessFactOfTheDay, but this works on linux/wine! i just said i'd try it out for shits n giggles and was very surprised it worked considering it uses ComObj (any of the other Com stuff ive tried hasnt worked so far). the only thing i had to change in example.ahk was full p...
by davebrny
13 Jul 2019, 15:38
Forum: Scripts and Functions (v1)
Topic: trim and merge 4k video lossless
Replies: 7
Views: 3482

Re: trim and merge 4k video lossless

The only thing missing is getting the full filepath from an already loaded video file , if anyone has a solution that would be great . you could send F3 which would open up the folder that the file is in, then send ^l and ^c to get the folder path from the address bar. not the cleanest solution but...
by davebrny
05 Jul 2019, 07:45
Forum: Scripts and Functions (v1)
Topic: one-liners to restore built-in variables
Replies: 0
Views: 872

one-liners to restore built-in variables

i made a function a while back to save the state of a built-in variable, change it while youre running something else, then set it back to what it was... but i never really used it much in the end since i share a lot of my scripts and if i used the function then it would mean other people would also...
by davebrny
04 Jul 2019, 04:44
Forum: Scripts and Functions (v1)
Topic: test lab - quick code testing using a single hotkey
Replies: 0
Views: 1598

test lab - quick code testing using a single hotkey

the idea behind test lab is to take some of the friction out of writing scripts by letting you use a single hotkey to quickly test out your changes. normally this process requires 3 hotkeys: 1: ctrl + s to save your changes 2: a hotkey to reload the script 3: another hotkey to run your code these ar...
by davebrny
27 Jun 2019, 17:20
Forum: Other Utilities & Resources
Topic: My experience porting AHK scripts to Linux.
Replies: 42
Views: 48085

Re: My experience porting AHK scripts to Linux.

great post. i been messing around with linux every now and again for the last year but it was only the last week that i sat down and started seeing how much of autohotkey works with wine. im actually quite surprised by how many things work... fileread, iniRead/Write, menu, mouseMove, msgBox, toolTip...
by davebrny
26 Jun 2019, 05:22
Forum: Scripts and Functions (v1)
Topic: txt.replace - interactively replace a character with another
Replies: 8
Views: 2900

Re: txt.replace - interactively replace a character with another

Man! This is awesome. I've been using Notepad++ to paste into, do a Find and Replace, then copying and pasting the content back to where i needed it. This is way faster! ha, ive been just doing it manually for as long as i can remember. all those wasted seconds would probably add up to a lot at thi...
by davebrny
26 Jun 2019, 05:07
Forum: Scripts and Functions (v1)
Topic: txt.wrap - wrap selected text in %symbols%
Replies: 5
Views: 3820

Re: txt.wrap - wrap selected text in %symbols%

i wrote this again from "the ground up", or whatever the current buzzword is this week. it now uses a 2 stage hotkey (credit to guest3456 for that idea!) so there is less setup needed before hand... just press alt + w and then the character you want wrapped if you want different characters on either...
by davebrny
24 Jun 2019, 09:39
Forum: Off-topic Discussion
Topic: hello world automation on Linux/Mac/iOS/Android
Replies: 6
Views: 4014

Re: hello world automation on Linux/Mac/iOS/Android

To reiterate the OP, I'm looking for info on the Linux/Apple/Google equivalents to the Windows API, as I don't use those systems doh. i just saw linux in the title and thought you were talking about wine. ill get my coat Are there any key things not working? Could you explain more how you got it wo...
by davebrny
18 Jun 2019, 16:57
Forum: Off-topic Discussion
Topic: hello world automation on Linux/Mac/iOS/Android
Replies: 6
Views: 4014

Re: hello world automation on Linux/Mac/iOS/Android

i was messing around with ahk in wine a few days ago and im just searching to see what other people have done. have you managed to figure out much since you posted this? a lot more is working than i expected anyway. mouse move, menus, hotkeys, fileselect, run command, passing parameters to a second ...
by davebrny
18 Jun 2019, 08:16
Forum: Scripts and Functions (v1)
Topic: txt.replace - interactively replace a character with another
Replies: 8
Views: 2900

Re: txt.replace - interactively replace a character with another

zhotkey wrote:
18 Jun 2019, 07:35
I get the following Error: Call to nonexistent function: selected := selected_text_r()
maybe you copy-pasted the script and missed the end of the file? there should be 89 lines in the file altogether
by davebrny
18 Jun 2019, 06:30
Forum: Scripts and Functions (v1)
Topic: i.mage - one click image download
Replies: 6
Views: 3511

Re: i.mage - one click image download

glad you like it @godofOOF!

ive added support for internet explorer and also allowed more variables to be used in the folder path (a_desktop, a_myDocuments, a_scriptDir)
by davebrny
17 Jun 2019, 14:25
Forum: Scripts and Functions (v1)
Topic: txt.replace - interactively replace a character with another
Replies: 8
Views: 2900

Re: txt.replace - interactively replace a character with another

youre welcome @burque505. ive mostly been using it on files as well
by davebrny
17 Jun 2019, 10:47
Forum: Scripts and Functions (v1)
Topic: txt.replace - interactively replace a character with another
Replies: 8
Views: 2900

txt.replace - interactively replace a character with another

change selected text from something like " one.two.three " to " one_two_three " or " one two three " usage - select some text - press alt + r - first press the character you want to replace, then the character you want to add in its place - press enter to paste the new text - (press esc at any time ...
by davebrny
15 Jun 2019, 15:18
Forum: Scripts and Functions (v1)
Topic: i.mage - one click image download
Replies: 6
Views: 3511

i.mage - one click image download

hover your cursor over an image and press a hotkey to have it automagically download. the default hotkey is alt + p which saves the image to the pictures folder but other folders can be set in the ini section at the top of the script. ive only added support for the browsers i use but feel free to le...
by davebrny
15 Dec 2017, 22:41
Forum: Off-topic Discussion
Topic: A Call for Sanity - Tasks, Notes, Email & Reminders
Replies: 8
Views: 3414

Re: A Call for Sanity - Tasks, Notes, Email & Reminders

ive been through a ton of note taking apps over the years as well, evernote, wunderlist, any.do, onenote, todoist, workflowy... switching back and forth between them at times but ive never really found anything that was 100% perfect for what i wanted. what ive settled on for the last few years is dy...
by davebrny
10 Dec 2017, 10:02
Forum: Ask for Help (v1)
Topic: Help with this simple task please
Replies: 1
Views: 648

Re: Help with this simple task please

i think if you take out the "down" part it should just repeat as normal

Code: Select all

RAlt::Send {left} 
by davebrny
10 Dec 2017, 00:49
Forum: Other Utilities & Resources
Topic: Blackmagic Fusion
Replies: 1
Views: 1578

Re: Blackmagic Fusion

their "davinci resolve" is the best free/paid video editing software ive ever used. for years i stuck with Adobe premiere because it was supposedly the industry standard but i got fed up with how tedious it was to do even the most basic things like moving clips around or resizing them, or having to ...
by davebrny
09 Dec 2017, 14:42
Forum: Ask for Help (v1)
Topic: how to read the ahk scripts in a large project which editor is preferred
Replies: 4
Views: 1321

Re: how to read the ahk scripts in a large project which editor is preferred

ive only ever used sublime text so i cant say for certain how it compares to scite4ahk but heres a few things that might help if you want to try sublime text: go to "project/add folder to project", then use ctrl + kb to toggle the sidebar so you can see the file tree on the left. you can keep clicki...
by davebrny
07 Dec 2017, 01:26
Forum: Scripts and Functions (v1)
Topic: Display AHK file content within Explorers Preview Pane
Replies: 5
Views: 3744

Re: Display AHK file content within Explorers Preview Pane

i have some reg files i run any time i get a new computer https://gist.github.com/davebrny/d88e0f ... c4f7c73bd2

i never thought of using the regWrite command though. that could save me a few clicks!

Go to advanced search