Search found 28 matches

by Bones
01 Nov 2018, 10:27
Forum: SciTE4AutoHotkey
Topic: Cannot delete nonexistent files in File List
Replies: 5
Views: 891

Re: Cannot delete nonexistent files in File List

What if you create a file by the same name in the same path?
Then it will have something to delete
by Bones
01 Nov 2018, 10:24
Forum: SciTE4AutoHotkey
Topic: strange bouncing
Replies: 1
Views: 598

Re: strange bouncing

I had something a bit similar 5 years ago, though not exactly the same. From your video it alternates between a normal view and a black screen. Mine was scrolling rapidly up and down a few lines at a time. This was fincs solution to that problem, and it worked. This is a Scintilla bug, and Neil Hodg...
by Bones
15 Apr 2017, 08:26
Forum: Ask For Help
Topic: Triggering AHK other than by user keystroke
Replies: 6
Views: 747

Re: Triggering AHK other than by user keystroke

Is there some type of inter process communication which the DOS based macro can send and the AHK can receive?
Something like SendMessage? OnMessage?

Other ideas: Write to a file? Could the DOS based macro create an ini file which AHK could read?
by Bones
05 Apr 2017, 13:55
Forum: Ask For Help
Topic: How do I organize an INI file by key with AHK?
Replies: 4
Views: 584

Re: How do I organize an INI file by key with AHK?

What exactly to you want to happen or want to avoid?
Are you trying to make it so every window is at least partially visible, ie no window is completely covered by another window(s)?

(I'm guessing using the window area is a sort-of kluge workaround)
by Bones
05 Apr 2017, 13:40
Forum: Ask For Help
Topic: [Script Help] How to Automatically click a Button in a Popup?
Replies: 6
Views: 542

Re: [Script Help] How to Automatically click a Button in a Popup?

Something like this is what I was thinking. #NoEnv #SingleInstance force SetWorkingDir %A_ScriptDir% minutes_until_logout_if_inactive := 3 ; just change this number to fit your situation milliseconds_to_sleep := Round(minutes_until_logout_if_inactive * 60000 * .9) While True { If (A_TimeIdle > milli...
by Bones
04 Apr 2017, 15:34
Forum: Ask For Help
Topic: [Script Help] How to Automatically click a Button in a Popup?
Replies: 6
Views: 542

Re: [Script Help] How to Automatically click a Button in a Popup?

Why wait for the annoying window to pop up? I assume there is a period of inactivity which triggers this. If it pops up anyway even when you are actively typing, then ignore this. But you could have a script running in the background which checks every n-1 minutes (where n is the time of inactivity ...
by Bones
30 Mar 2017, 06:50
Forum: Ask For Help
Topic: Profiling hotkeys by usage
Replies: 6
Views: 535

Re: Profiling hotkeys by usage

One way could be to add a line to each hotkey you want to track, the line would be a call to a routine. The routine would read an ini file and increment an integer associated with A_ThisHotkey which could also be the Section name. If that Section does not exist it would be created by using IniWrite ...
by Bones
29 Mar 2017, 09:52
Forum: Forum Issues
Topic: autohotkey.com
Replies: 14
Views: 2930

Re: autohotkey.com

I couldn't see the main page for a few weeks.
There was the image of the page with a message (Cloudfare) splashed at the top.
https://autohotkey.com/boards and http://autohotkey.com/boards also didn't work.
https://autohotkey.com/docs worked
by Bones
13 Mar 2017, 20:45
Forum: Ask For Help
Topic: Rapid method to share between scripts ?
Replies: 11
Views: 1748

Re: Rapid method to share between scripts ?

What about read/write to a RAMdisk?
by Bones
09 Feb 2017, 09:54
Forum: Ask For Help
Topic: Subtract a month from a date?
Replies: 27
Views: 3229

Re: Subtract a month from a date?

Here is a function I use in one of my programs. ;/////// change_the_month(a_date,n) ; by n months keeping the same day of month ; problem with leading zeroes in months { StringLeft a_date,a_date,8 StringLeft my_year,a_date,4 StringRight my_day,a_date,2 my_month := SubStr(a_date, 5 , 2) base_12_numbe...
by Bones
09 Feb 2017, 09:42
Forum: Announcements
Topic: [POLL] Dedicated Subforum for SciTE4AHK and/or PMC
Replies: 90
Views: 23206

Re: [POLL] Dedicated Subforum for SciTE4AHK and/or PMC

Well, I just use Scite4AutoHotkey but I voted for all three.

But I don't know how many layers of nesting the Sub-Forums can have.
ie can you have one called "Tools of the Trade" ^ which then has various separate sub-Forums underneath it, one for each Scripting tool?
by Bones
05 Feb 2017, 13:38
Forum: Ask For Help
Topic: Can't get even simplest loop to work. Topic is solved
Replies: 3
Views: 404

Re: Can't get even simplest loop to work. Topic is solved

Also, just adding the line
Sleep, 1
to Neutrino's original code (after the Send) makes it work.
by Bones
02 Feb 2017, 18:48
Forum: Ask For Help
Topic: is it possible to COMPLETELY ELIMINATE the need to press spacebar while typing english text?
Replies: 8
Views: 837

Re: is it possible to COMPLETELY ELIMINATE the need to press spacebar while typing english text?

A low tech partial solution is to just use autocorrect.txt and add to it the common space mistakes you make. So, make a hotstring which converts "wasn' t" to "wasn't" for each common mistake you make. But that would just work for you, and wouldn't be universal. (I forget how you deal with the space ...
by Bones
02 Feb 2017, 16:05
Forum: Ask For Help
Topic: is it possible to COMPLETELY ELIMINATE the need to press spacebar while typing english text?
Replies: 8
Views: 837

Re: is it possible to COMPLETELY ELIMINATE the need to press spacebar while typing english text?

I suppose you could get a dictionary list of the most often typed words; or parse some of your own writings and amass such a list. Then make a huge list of hotstrings of the form :*b0:word::word{A_Space} ; options to not require an ending character and to not do any backspacing where "word" is every...
by Bones
25 Apr 2016, 14:12
Forum: Ask For Help
Topic: What version AHK should I use for my next project?
Replies: 1
Views: 344

What version AHK should I use for my next project?

Hi, I haven't programmed in about 18 months, but before that I did some sizeable (for me) programming projects in AHK. I'm not an expert programmer but I tend to dig through the documentation and keep trying until I get it. I currently have: * AhkVersion 1.1.14.03 * SciTE4AutoHotkey Version 3.0.04.0...
by Bones
17 Oct 2015, 08:29
Forum: Ask For Help
Topic: recording macros and convert them into VBA script
Replies: 11
Views: 2764

Re: recording macros and convert them into VBA script

I need to create a VBA script to run in a windows 7 environment Does it absolutely have to be VBA? For example, if it is in Excel, on the Developer tab there is a "record macro" button; also Alt-F11 brings up the VBA editor. I'm not familiar with the AHK macro recorder, but as others have said, mos...
by Bones
18 Aug 2015, 15:56
Forum: Ask For Help
Topic: How to make a 3D graph from data
Replies: 1
Views: 743

How to make a 3D graph from data

I would like to be able to plot 3D data (x,y,z) in an AHK GUI. The xyz data would be in a multidimensional array, unless there is a better way to do it. I’m not a guru with objects yet. The result might look something like Fig. 5 here near the bottom of the page . That 3D graph by the way was made w...
by Bones
05 Aug 2015, 11:33
Forum: Ask For Help
Topic: Benchmark AHK vs Excel VBA
Replies: 4
Views: 960

Re: Benchmark AHK vs Excel VBA

Did you use SetBatchLines, -1 in the AHK script? It will significantly change the results if you didn't. I had not. But I just did another AHK test and found an improvement in time by a factor of almost 4 when I added the line: SetBatchLines, -1 So from this very minimal testing, it seemed that VBA...
by Bones
04 Aug 2015, 19:17
Forum: Ask For Help
Topic: Benchmark AHK vs Excel VBA
Replies: 4
Views: 960

Re: Benchmark AHK vs Excel VBA

a VBA script versus an equivalent AHK script manipulating Excel via VBA Thanks, sinkfaze, but that's not the case. I should have been more clear. I just made a loop to update the value of a variable. The AHK version (which was not compiled) had nothing to do with Excel, did not manipulate a spreads...
by Bones
04 Aug 2015, 13:43
Forum: Ask For Help
Topic: Benchmark AHK vs Excel VBA
Replies: 4
Views: 960

Benchmark AHK vs Excel VBA

Has anyone already done any benchmarking to compare calculations done in AHK vs Excel VBA? My plan is to take historical mutual fund data, create trading buy/sell strategies and back test them. I started with Excel VBA because I can get historical data free from yahoo finance and download into Excel...

Go to advanced search