Search found 713 matches

by scriptor2016
05 Dec 2020, 12:54
Forum: Ask For Help
Topic: Creating gui buttons where cursor is at
Replies: 30
Views: 1044

Re: Creating gui buttons where cursor is at

I'll check out the adjustment in a second!

I have a question. Instead of buttons, how could we make them progress bars? I tried the following but it isn't doing anything:

Code: Select all

Gui, Add, Progress, % "x" pos.x " y" pos.y " w" buttonWidth " h" buttonWidth vVariable01 Backgroundcc9933
by scriptor2016
05 Dec 2020, 12:36
Forum: Ask For Help
Topic: Creating gui buttons where cursor is at
Replies: 30
Views: 1044

Re: Creating gui buttons where cursor is at

wow, this is completely awesome. There are so many things this can be used for (create buttons for any task, or maybe use the buttons as colored 'swatches' for graphics programs, etc). Really nice. Love the soundbeep, too (never heard this particular one before!) I'm going to keep adding to this to ...
by scriptor2016
05 Dec 2020, 01:36
Forum: Ask For Help
Topic: Creating gui buttons where cursor is at
Replies: 30
Views: 1044

Re: Creating gui buttons where cursor is at

Even though I've been using AHK for quite a few years now, I'm still just a casual user. I don't use it enough/on a daily basis to become swift at it. Although the winter time proves to be the season that I stay indoors more and practice it a lot more. But that usually goes out the window soon as su...
by scriptor2016
04 Dec 2020, 00:32
Forum: Ask For Help
Topic: Creating gui buttons where cursor is at
Replies: 30
Views: 1044

Re: Creating gui buttons where cursor is at

buttonWidth := 30 CoordMode, Mouse, Client Gui -DPIScale Show: Gui, Show, w200 h200, Test Return GuiEscape: GuiClose: ExitApp #IfWinActive ahk_class AutoHotkeyGUI ahk_exe AutoHotkey.exe ~LButton:: MouseGetPos, xpos, ypos xpos -= buttonWidth / 2, ypos -= buttonWidth / 2 Gui, Add, Button, x%xpos% y%y...
by scriptor2016
22 Nov 2020, 14:53
Forum: Ask For Help
Topic: Send keys to YouTube window which is playing music/video
Replies: 2
Views: 95

Re: Send keys to YouTube window which is playing music/video

ah-ha! awesome! that works just as well :)
by scriptor2016
21 Nov 2020, 22:51
Forum: Ask For Help
Topic: Send keys to YouTube window which is playing music/video
Replies: 2
Views: 95

Send keys to YouTube window which is playing music/video

Hi everyone Just sitting around here tonight, conjuring up some ideas on what sort of code to tackle next. Let's say we have multiple Google Chrome windows (not tabs) open, and a few of them are on Youtube. One of them is playing a video. The rest of them are also on videos, but are not playing righ...
by scriptor2016
08 Nov 2020, 22:52
Forum: Ask For Help
Topic: Add multiple entries to same .ini file category?
Replies: 4
Views: 115

Re: Add multiple entries to same .ini file category?

woohoo, thanks mikeyww. This is working now. I'm trying a few different things here so I might be building on it.. I might be back again looking for more advice on this one. Thanks again :)
by scriptor2016
08 Nov 2020, 21:01
Forum: Ask For Help
Topic: Add multiple entries to same .ini file category?
Replies: 4
Views: 115

Re: Add multiple entries to same .ini file category?

yes it does help, thank-you. Here's what I did to make it happen: increment=1 ;this is the very first line in the entire code execute: (this is the g-label for a button which was assigned earlier in the script) iniwrite, %title%, C:\MyInfiFile.ini, INFO, title iniwrite, %clipboard%, C:\MyInfiFile.in...
by scriptor2016
08 Nov 2020, 14:30
Forum: Ask For Help
Topic: Add multiple entries to same .ini file category?
Replies: 4
Views: 115

Add multiple entries to same .ini file category?

Hi again :) This is kind of a little follow up to yesterday's question where I was trying to fileappend with multiple line breaks. I'm trying a little bit of a different approach here, and going with an .ini file to see how it works out. Here's my sample code: iniwrite, %title%, C:\MyInfiFile.ini, I...
by scriptor2016
08 Nov 2020, 14:03
Forum: Scripts and Functions
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 110
Views: 28918

Re: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)

Agreed. I use Dragon Naturally as well and yes, it is a huge program with way too many features I never use. I just wanted a small, portable voice recognition software where I can speak quick commands. Hotvoice is perfect. I also have a couple of other AHK voice recognition scripts which are good as...
by scriptor2016
08 Nov 2020, 04:03
Forum: Ask For Help
Topic: Linebreak not working
Replies: 19
Views: 284

Re: Linebreak not working

TAC109 , thanks!!

This actually works - Notepad now shows the text with the line breaks properly. Strange how that works. Haven't seen that problem before.

Thanks to everyone who took a look at this. It was totally baffling to me, I thought maybe it was a bug or something.
by scriptor2016
07 Nov 2020, 14:10
Forum: Ask For Help
Topic: Linebreak not working
Replies: 19
Views: 284

Re: Linebreak not working

yes sorry, I looked at the page. But it's a little beyond my level of knowledge lol

I pasted the %title% and then was a little lost as to what it was doing :(
by scriptor2016
07 Nov 2020, 14:04
Forum: Ask For Help
Topic: Linebreak not working
Replies: 19
Views: 284

Re: Linebreak not working

Yes, I'm still on Windows7 64-bit. My motherboard is an older one and I don't think it supports Windows 10, so I'm in for a big headache when it comes time to update my system :(
by scriptor2016
07 Nov 2020, 13:50
Forum: Ask For Help
Topic: Linebreak not working
Replies: 19
Views: 284

Re: Linebreak not working

does that mean that
mypicture-Recovered-Recovered.psd @ 30.5% (Color, RGB/8) *

contains invisible characters that Notepad cannot see, resulting in the `n linefeed to fail?
by scriptor2016
07 Nov 2020, 13:39
Forum: Ask For Help
Topic: Linebreak not working
Replies: 19
Views: 284

Re: Linebreak not working

edit - thanks guys!! Looks like it's working now. But here's the issue: I was viewing the output file in Notepad. And it shows everything written on one line. But if I view the output file in Notepad++, it shows it on several lines. Which is very confusing. i tried Notepad with Wordwrap both on and ...
by scriptor2016
07 Nov 2020, 13:35
Forum: Ask For Help
Topic: Linebreak not working
Replies: 19
Views: 284

Re: Linebreak not working

hmmm, I think the problem is indeed with the %title% portion. Here's a little more of what I was doing: wingettitle, title, A out = C:\MyTextFile.txt FileRecycle, %out% fileappend, DOCUMENT NAME:`n%title%`nBRUSHES USED:`n%clipboard%, %out% FileRead, ttext, %out% MsgBox,, Results, %ttext% and this st...
by scriptor2016
07 Nov 2020, 13:24
Forum: Ask For Help
Topic: Linebreak not working
Replies: 19
Views: 284

Re: Linebreak not working

thanks mikeyww

a sample of %title% would be:
mypicture-Recovered-Recovered.psd @ 30.5% (Color, RGB/8) *

and a sample of %clipboard% would be:
Texture - Grain


are these samples somehow throwing it off?
by scriptor2016
07 Nov 2020, 13:03
Forum: Ask For Help
Topic: Linebreak not working
Replies: 19
Views: 284

Linebreak not working

Hi everyone! I'm out of ideas... why is this line of code not working? It should be writing the data on seperate lines (because of the `n linebreak) but it's writing everything on one line. What's wrong here? Thanks.. fileappend, `nDOCUMENT NAME:`n%title%`nBRUSHES USED:`n%clipboard%, C:\MyTextFile.t...
by scriptor2016
07 Nov 2020, 02:28
Forum: Scripts and Functions
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 110
Views: 28918

Re: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)

SUCCESS This might make me look stupid (lol), but somehow I was running the 32-bit version of AHK. That was the only problem here. Soon as I upgraded to the 64-bit, it worked right away. So yes, I can confirm this works on Windows 7, but it must be the 64-bit version of AHK. I've tried a few differe...
by scriptor2016
31 Oct 2020, 17:26
Forum: Ask For Help
Topic: Reverse Sort Listview?
Replies: 5
Views: 126

Re: Reverse Sort Listview?

After searching the forums, a workable approach is indeed to reverse-read the text file in order to have the bottom line appear at the top of the listview: targetFile = C:\MyFile.txt lineCount := Loop, { FileReadLine, nullVar, %targetFile%, %A_Index% if ErrorLevel break lineCount := A_Index } Loop, ...

Go to advanced search