Search found 31 matches

by Cinemaster
07 Apr 2019, 08:11
Forum: Ask For Help
Topic: Run AutoHotkey without installing Topic is solved
Replies: 2
Views: 413

Run AutoHotkey without installing Topic is solved

How can I run AutoHotkey without actually installing it? I want to run AutoHotkey in a tight corporate environment, but I don't have admin privileges, so I can't install it. While I've done searches for this topic, I'm wary of the (old and/or irrelevant) answers and one of the referenced zip files i...
by Cinemaster
08 Jun 2018, 21:13
Forum: Ask For Help
Topic: Change folder columns
Replies: 6
Views: 918

Re: Change folder columns

Thank you both very much. I'll be playing with both of these solutions, and learning stuff in the process:)

Thanks again!
by Cinemaster
08 Jun 2018, 12:26
Forum: Ask For Help
Topic: Change folder columns
Replies: 6
Views: 918

Re: Change folder columns

That's not actually what I was asking. I'm not trying to change the default view for folders, I want to use AutoHotkey to change the view for a particular folder and to auto-size the name column.

(I'm on Win 7)
by Cinemaster
08 Jun 2018, 12:18
Forum: Ask For Help
Topic: Change folder columns
Replies: 6
Views: 918

Change folder columns

I download a lot of courses with videos, and I have to change the Windows Explorer folder settings each time to show the length of the video and auto size the name column. I'm just trying to add the 'length' column and auto-size the name column. I've searched around but couldn't find any relevant li...
by Cinemaster
07 May 2018, 11:36
Forum: Ask For Help
Topic: Track Mouse Enter Events?
Replies: 3
Views: 551

Re: Track Mouse Enter Events?

Okay, great, thank you for helping. I'm trying the +Owner option now, but the syntax is confusing. I have this function I got from another thread: Box(n,wide,high) { Gui %n%:Color, 0,200 ; Black Gui %n%:-Caption +ToolWindow +E0x20 ; No title bar, No taskbar button, Transparent for clicks Gui %n%: Sh...
by Cinemaster
06 May 2018, 18:05
Forum: Ask For Help
Topic: Track Mouse Enter Events?
Replies: 3
Views: 551

Track Mouse Enter Events?

I have a small gui attached to the cursor that I want to appear when a certain application is active, and then disappear when any other window is active. I thought the best way to do this might be to track mouse enter and exit events from the application, but I don't see any way to track those speci...
by Cinemaster
07 Oct 2017, 21:13
Forum: Ask For Help
Topic: Sending text to Win Explorer toolbar
Replies: 5
Views: 904

Re: Sending text to Win Explorer toolbar

Thank you again. This mostly works. There are a few quirks like sometimes it will paste and close the dialog window all at the same time. It's better than I had it, so it's an improvement. If you think of ways to make it more stable, I'm listening...

Thanks again!
by Cinemaster
05 Oct 2017, 16:29
Forum: Ask For Help
Topic: Sending text to Win Explorer toolbar
Replies: 5
Views: 904

Re: Sending text to Win Explorer toolbar

Thank you for this, it's quite useful. I'm sorry I didn't respond earlier, I wasn't notified of your response and I got distracted. Sorry! The code you gave usually works, though sometimes it will open a different existing folder in which to navigate. It will then switch to that other explorer windo...
by Cinemaster
28 Sep 2017, 21:10
Forum: Ask For Help
Topic: Sending text to Win Explorer toolbar
Replies: 5
Views: 904

Sending text to Win Explorer toolbar

I'm trying to write a script which would allow me to paste file paths into Windows Explorer and all similar file dialogs. The idea is that when in Windows Explorer or a dialog I could press the AppsKey (between alt and ctrl to right of spacebar) and a menu would appear with a list of paths. I would ...
by Cinemaster
01 Sep 2017, 15:07
Forum: Ask For Help
Topic: OnMessage from existing window
Replies: 7
Views: 1390

Re: OnMessage from existing window

@Helgef, Thank you very much, this is excellent! I had considered the mouse hook, but the documentation said it worked for mouse clicks/buttons, not moves. But it looks like you didn't even use it, but rather created your own hook through dll calls. I certainly didn't expect it to require as much as...
by Cinemaster
31 Aug 2017, 08:56
Forum: Ask For Help
Topic: OnMessage from existing window
Replies: 7
Views: 1390

Re: OnMessage from existing window

Thank you for the reply. The messages I want to receive are mouse movements. AHK can capture mouse clicks and button up/down, but not movements, even though it can control the mouse. The actual window is the program Camtasia. I want to control mouse behavior within that window to automate some thing...
by Cinemaster
30 Aug 2017, 21:24
Forum: Ask For Help
Topic: OnMessage from existing window
Replies: 7
Views: 1390

OnMessage from existing window

I found this OnMessage function ( https://www.autohotkey.com/docs/commands/OnMessage.htm ) in the documentation, and it gives this example: ; Example: The following is a working script that monitors mouse clicks in a GUI window. ; Related topic: GuiContextMenu Gui, Add, Text,, Click anywhere in this...
by Cinemaster
27 Aug 2017, 14:08
Forum: Ask For Help
Topic: Using mousemove as a hotkey
Replies: 5
Views: 1037

Re: Using mousemove as a hotkey

Hi Obeeb, Thanks for the response. I think I see what you're doing there. When 'fix' is set, you stay in the loop and just adjust the mouse y position continuously. Then, when you hit the hotkey again, you reset 'fix' and both the first and second threads exit. Very clever. It seems like this will e...
by Cinemaster
26 Aug 2017, 19:21
Forum: Ask For Help
Topic: Using mousemove as a hotkey
Replies: 5
Views: 1037

Using mousemove as a hotkey

Is it possible to use mouse movements as a hotkey? I'm trying to fix the y position of the mouse based on the value of a variable, but I don't want to press any modifier or other keys. The idea is simple. I press a hotkey combo which saves the mouse's current y position and sets the FIX variable to ...
by Cinemaster
21 Jul 2017, 15:49
Forum: Ask For Help
Topic: Most sophisticated scripts written in AutoHotkey?
Replies: 3
Views: 975

Most sophisticated scripts written in AutoHotkey?

I know AutoHotkey is really for scripting and controlling things hard to do easily with other languages, but it seems to have some pretty powerful features. I've browsed the Scripts and Functions forum, looking all through it and I've seen some cool stuff. But, I know I haven't seen everything. So, ...
by Cinemaster
16 Jul 2017, 13:00
Forum: Ask For Help
Topic: Using Regex to capture all sets of strings
Replies: 6
Views: 1010

Re: Using Regex to capture all sets of strings

@jeeswg, thank you, I didn't see your post until I had already posted mine, so we crossed in the night:)

Thanks to both you and drugwash, I think these RegEx expressions will do the trick, but I also like the simple approach of a strsplit.

Thanks!
by Cinemaster
15 Jul 2017, 13:07
Forum: Ask For Help
Topic: Using Regex to capture all sets of strings
Replies: 6
Views: 1010

Re: Using Regex to capture all sets of strings

Thanks for that, but it's not quite what I'm after. The RegEx I gave you only grabs the name of the function on the same line as the def. I want an array of all text BETWEEN the strings "#*****" It would be something like: arr[1] = "def av(srch='',length=0): import inspect frame = inspect.stack()[1]...
by Cinemaster
15 Jul 2017, 10:15
Forum: Ask For Help
Topic: Using Regex to capture all sets of strings
Replies: 6
Views: 1010

Using Regex to capture all sets of strings

From reading the AutoHotkey docs, I can only see AutoHotkey RegEx being able to capture one expression at a time, instead of a group of matching expressions, is that correct? My string looks something like this list of partial function definitions (in Python): #******* def av(srch='',length=0): impo...
by Cinemaster
14 Jul 2017, 08:55
Forum: Scripts and Functions
Topic: Windows Explorer Helper
Replies: 6
Views: 1454

Re: Windows Explorer Helper

Well, thank you both for the suggestions. The context menu thing was desired, but not critical. I think at this point I'm not going to attempt it. Messing with the registry is dangerous and I don't know much about it. Additionally, I'm busy and I doubt I'll have much use for it in the future so it's...
by Cinemaster
14 Jul 2017, 08:15
Forum: Scripts and Functions
Topic: Windows Explorer Helper
Replies: 6
Views: 1454

Re: Windows Explorer Helper

@sancarn,
Thanks for the links, however I'm really wanting AutoHotkey code for this. Knowing this doesn't help me enough to automate everything in AutoHotkey, which is my goal.

Do you have links for AutoHotkey code to do these things?

Go to advanced search