Search found 83 matches

by DaveT1
08 Aug 2020, 04:34
Forum: Ask For Help
Topic: Differential backup of files / folders when they are changed or on schedule
Replies: 6
Views: 1624

Re: Differential backup of files / folders when they are changed or on schedule

I wrote an AHK script to do backups of files (and allowed notes be to added for changes), but it was manually triggered rather than being automatically fired. However it always irked me that the backups were copies of the whole file, rather that just the changes to the file since the last backup. I ...
by DaveT1
07 Aug 2020, 13:19
Forum: Ask For Help
Topic: Paste rich text Topic is solved
Replies: 6
Views: 1468

Re: Paste rich text Topic is solved

Don't know if this helps - there is Clipjump (https://www.autohotkey.com/boards/viewtopic.php?f=6&t=401&hilit=Clipjump). This is an AHK-written tool allowing copy-paste using ctrl+c, ctrl+v, but also allows access to on-the-fly different fomats. I use it all the time and it's great. Sadly not mainta...
by DaveT1
05 Aug 2020, 16:03
Forum: Ask For Help
Topic: How to pass a variable number of integers to a function
Replies: 3
Views: 1365

Re: How to pass a variable number of integers to a function

Many thanks boiler - much appreciated. I'd heard of Variadic functions, but never known what they meant in practice and hence hadn't connected them with this problem - so thanks for the headsup :clap: I guess re-formulating as a variadic function means that my list of integers are passed into the fu...
by DaveT1
05 Aug 2020, 14:39
Forum: Ask For Help
Topic: How to pass a variable number of integers to a function
Replies: 3
Views: 1365

How to pass a variable number of integers to a function

Hi, Have searched for possible solutions to this, but no avail, which makes me think I'm having a mis-think - maybe someone could straighten me out?.... In a function I want to be able to use some some passed integers to do some If comparisons. But the number of integers passed to the function will ...
by DaveT1
24 Jun 2020, 03:43
Forum: AHK Studio
Topic: [HELP NEEDED] F1 in AHK studio to display the AHK Documentation
Replies: 1
Views: 942

Re: [HELP NEEDED] F1 in AHK studio to display the AHK Documentation

I often see this. But this screen fairly quickly disappears to be presented with the AUTOHOTKEY help file. The issue I have is that sometimes the helpfile will display the relevant help page for the autohotkey script syntax highlighted in AHKStudio, and sometimes not!
by DaveT1
01 Jun 2020, 03:22
Forum: AHK Studio
Topic: Script reload not showing changes?
Replies: 4
Views: 1603

Re: Script reload not showing changes?

Not sure if this will help, but right clicking on AHKStudio's Project Explorer pane or Code Explorer pane allows you to 'refresh'. As I say, not sure if this is what's needed.
by DaveT1
06 Apr 2020, 08:15
Forum: AHK Studio
Topic: AHK Studio
Replies: 1139
Views: 424787

Re: AHK Studio

Thanks Maestrith, added ExitApp to the plugin. Much apreaciated as always.
by DaveT1
03 Apr 2020, 13:28
Forum: AHK Studio
Topic: AHK Studio
Replies: 1139
Views: 424787

Re: AHK Studio

Many thanks Maestrith, I'll give that a go and report back. Edit: Err, flippin' eck! This does it straight out of the tin. Very many thanks Maestrith :D I did change the MsgBox to a FileAppend as the msgbox seemed to hang. I'd manually got 454 function and label names out of the code I'm interrogati...
by DaveT1
02 Apr 2020, 11:52
Forum: AHK Studio
Topic: AHK Studio
Replies: 1139
Views: 424787

Re: AHK Studio

Hi,

Is it possible for AHK Studio to export a list of all function and lable names of the currently loaded code?

Many thanks.
by DaveT1
10 Feb 2020, 16:10
Forum: Ask For Help
Topic: checking parameters passed into a function
Replies: 7
Views: 577

Re: checking parameters passed into a function

@boiler thanks so much. Your observations have helped lift the mist of confusion. I'm going to better digest your observations and see what these imply for my coding practices. Thanks again :thumbup: .
by DaveT1
10 Feb 2020, 13:09
Forum: Ask For Help
Topic: checking parameters passed into a function
Replies: 7
Views: 577

Re: checking parameters passed into a function

Another consideration is the source of the data that will become the input parameters... boiler this is a great point - thanks for raising it. In this case though, should you test the data (type and permitted values) at the point they were read / entered? ...presumably are making sure everything is...
by DaveT1
10 Feb 2020, 11:16
Forum: Ask For Help
Topic: checking parameters passed into a function
Replies: 7
Views: 577

Re: checking parameters passed into a function

Thanks MannyKSoSo . I had actually removed comments describing the nature of the function, params, return values, etc., just to make the Q a little more focussed - probably shouldn't have! Totally agree about throwing an error - the msgbox was intended to show 'do something sensible here', but it wa...
by DaveT1
10 Feb 2020, 09:53
Forum: Ask For Help
Topic: checking parameters passed into a function
Replies: 7
Views: 577

checking parameters passed into a function

I'm not sure whether what I'm trying to do makes sense. So I'm reaching out in the hope that those with more understanding can (gently) put me on the right path: At the start of a user-defined function, I feel that what I should do is, for each passed paramter, check its type and that its value is a...
by DaveT1
12 Dec 2019, 08:45
Forum: AHK Studio
Topic: AHK Studio debugger not working properly?
Replies: 1
Views: 2088

Re: AHK Studio debugger not working properly?

In case this helps anyone else, I think I may have an answer to my own Q: It seems that my C drive has some folder attributes that mean that AHK Studio doesn't work properly! I've changed all the security setting for my AHK-Studio-Master folder to 'Allow'. Now I can save settings between sessions an...
by DaveT1
11 Dec 2019, 04:20
Forum: AHK Studio
Topic: AHK Studio debugger not working properly?
Replies: 1
Views: 2088

AHK Studio debugger not working properly?

Hi, Appealing to all AHK Studio users - am I the only one having the following debugging problem?: 1) Set some breakpoints. 2) Then run the debugger via Ctrl+D. 3) Then click 'Click here to show variable browser' to show the same. 4) Then step and run to the next breakpoint using the options at the ...
by DaveT1
10 Dec 2019, 09:42
Forum: AHK Studio
Topic: place where settings stored?
Replies: 4
Views: 4345

Re: place where settings stored?

Hi, Not sure if this is the correct topic to post this in, but...... I've just done a fresh download and install of AHK Studio (v1.005.26), but I still can't get options that I've selected to persist between AHK Studio sessions. In other words any selections I make in the list of Options ([email protected], opt...
by DaveT1
11 Nov 2019, 03:48
Forum: General Discussion
Topic: your personal AutoHotkey style guide
Replies: 103
Views: 29089

Re: your personal AutoHotkey style guide

NOT, AND, OR v. !, &&, || I find '!' more readable (and more elegant) than 'NOT'. '!' and '&&' are shorter than 'NOT' and 'AND', and don't ever require spaces. This can make complicated formulae/expressions far more readable. The symbol versions... Goodness, there are clearly untapped (by me!) dept...
by DaveT1
09 Nov 2019, 04:19
Forum: General Discussion
Topic: your personal AutoHotkey style guide
Replies: 103
Views: 29089

Re: your personal AutoHotkey style guide

I'm loving this thread - learning so much from you all. Style is great and, although I am a live and let live kinda guy, I do feel strongly that consistency and maintainability are over-ridingly important (as others have pointed out). Anyway, that said, I do have a specific question: Why do most her...
by DaveT1
28 Jul 2019, 12:06
Forum: General Discussion
Topic: Pointers to program structure/architecture concepts?
Replies: 0
Views: 579

Pointers to program structure/architecture concepts?

Hi, I've mainly used AHK to write small productivity apps. I have little programming experience, but due to AHK's excellent documentation and the willingness of forum members to contribut so much over the years, I've managed to muddle through. But I now find I'm looking at larger scripts, maybe seve...
by DaveT1
28 Jul 2019, 07:50
Forum: AHK Studio
Topic: AHK Studio
Replies: 1139
Views: 424787

Re: AHK Studio

Hi Maestrith, wondering if you could help with the AHK Studio debugging issue I report above (21-Jun-19)? It's probably me doing it wrong so if you could help clarify that would be tremendous. To get round this at the moment I'm debugging in Scit4AHK, and running AHK Studio in parallel for code chan...

Go to advanced search