Search found 509 matches

by scriptor2016
25 Aug 2019, 02:40
Forum: Ask For Help
Topic: Hotkey within IF clause?
Replies: 7
Views: 499

Re: Hotkey within IF clause?

gregster - thanks - its working now.

I think I changed something along the lines overnight which caused this to stop working. I've got it going now. I'll revisit this topic if I run into other problems :)
by scriptor2016
24 Aug 2019, 13:50
Forum: Ask For Help
Topic: Hotkey within IF clause?
Replies: 7
Views: 499

Re: Hotkey within IF clause?

believe it or not, it still isn't working it was running perfectly last night and this morning it just stopped . I've closed all other scripts to troubleshoot and no dice - a right click just acts normally when ontop of the untitled notepad window. here it is again, #if (title ~= "Untitled - Notepad...
by scriptor2016
24 Aug 2019, 13:39
Forum: Ask For Help
Topic: Hotkey within IF clause?
Replies: 7
Views: 499

Re: Hotkey within IF clause?

well that's strange. This was working perfectly last night but today it just stopped working. Right clicking acts as normal now, it does not show the messagebox. Is there anything wrong with this code? #if (title = "Untitled - Notepad") ; ~= is a shorthand for RegExMatch RButton:: MsgBox, Right Butt...
by scriptor2016
24 Aug 2019, 03:09
Forum: Ask For Help
Topic: Hotkey within IF clause?
Replies: 7
Views: 499

Re: Hotkey within IF clause?

thanks Odlanir!!! This will be perfect :)
by scriptor2016
24 Aug 2019, 01:58
Forum: Ask For Help
Topic: Hotkey within IF clause?
Replies: 7
Views: 499

Hotkey within IF clause?

Hi, how do I create a new hotkey inside an if clause? For example, this is my code: #Persistent SetTimer, WatchCursor, 100 return WatchCursor: SetTitleMatchMode, 2 MouseGetPos, , , id, control WinGetTitle, title, ahk_id %id% WinGetClass, class, ahk_id %id% if title contains MyWindow { RButton:: Msgb...
by scriptor2016
27 Jul 2019, 13:42
Forum: Ask For Help
Topic: Click On Progress Bar?
Replies: 13
Views: 602

Re: Click On Progress Bar?

sorry, one last thing - how do I get the HEX code as a variable, something like:

Msgbox, the HEX code is %arr[substr(a_guicontrol,8)]%
by scriptor2016
27 Jul 2019, 13:34
Forum: Ask For Help
Topic: Click On Progress Bar?
Replies: 13
Views: 602

Re: Click On Progress Bar?

hey - I can't thank you enough for this :) :)

I'm going to keep adapting to this and I'll post what I have a little later on - hopefully I can figure out something
by scriptor2016
27 Jul 2019, 13:10
Forum: Ask For Help
Topic: Click On Progress Bar?
Replies: 13
Views: 602

Re: Click On Progress Bar?

this is amazing :) when clicking on a square, how do I get the hex code associated with it. Is there a way to store the A_LoopReadLine information along with the Control, so in other words if we click on square 65, it would say "you have clicked on Control65 and the HEX code is 0063F9" ...(just as a...
by scriptor2016
27 Jul 2019, 13:02
Forum: Ask For Help
Topic: Click On Progress Bar?
Replies: 13
Views: 602

Re: Click On Progress Bar?

whoops!! sorry , I just saw your reply - let me check it out
by scriptor2016
27 Jul 2019, 13:02
Forum: Ask For Help
Topic: Click On Progress Bar?
Replies: 13
Views: 602

Re: Click On Progress Bar?

ok so I've tried to read the text file and have it load the colors into the grid, but as you can see it has gone a little sideways on me lol ;) OnMessage(0x201,"WM_LBUTTONDOWN") cnt := 0 Gui, add, text, y-35 Hidden Loop, Read, C:\hex_list.txt { Gui, add, Progress,% "x010 yp+41 w40 h40 Background%A_L...
by scriptor2016
27 Jul 2019, 12:49
Forum: Ask For Help
Topic: Click On Progress Bar?
Replies: 13
Views: 602

Re: Click On Progress Bar?

wow!!! yes that's exactly the look I'm going for!!!! I'll have to study how you did it though. I need to get the script to read a text file which will have a list of 100 different colors, the file will look like: B25950 B250A5 1300F8 0027F9 0063F9 009FFA 009FFA 00DBF9 00F9DB 00F99F 00F863 01F927 13F...
by scriptor2016
27 Jul 2019, 11:30
Forum: Ask For Help
Topic: Click On Progress Bar?
Replies: 13
Views: 602

Re: Click On Progress Bar?

that works too!! What I'm trying to do: Create only one gui and inside that gui have many rows and columns of controls, arranged in a grid-like fashion. Maybe 10rows x 10columns. Each control will be a colored square and its variable would be 1 thru 100. When clicking on any of the squares in the gr...
by scriptor2016
27 Jul 2019, 03:41
Forum: Ask For Help
Topic: Click On Progress Bar?
Replies: 13
Views: 602

Re: Click On Progress Bar?

ah-ha

thanks Odlanir :)
by scriptor2016
27 Jul 2019, 02:45
Forum: Ask For Help
Topic: Click On Progress Bar?
Replies: 13
Views: 602

Click On Progress Bar?

Hi

Is there any way to left click on a progress bar and have it send a command? It won't accept a Glabel so I'm not sure if it can be done...

Code: Select all

Gui Add, Progress, w300 h20 Backgroundccccff vPrBar1 
Gui Show, w700 h140, My Progress Bar  
return
by scriptor2016
21 Jul 2019, 03:29
Forum: Ask For Help
Topic: Change "Save As" Location ?
Replies: 2
Views: 266

Re: Change "Save As" Location ?

now THAT is cool!!! working perfect... I will play around with this idea!!! thanks for this :) :)
by scriptor2016
21 Jul 2019, 00:40
Forum: Ask For Help
Topic: Change "Save As" Location ?
Replies: 2
Views: 266

Change "Save As" Location ?

Hi I've searched for what I thought might be an easy topic, but so far I haven't found much on it. for example: When you right-click on an image from the internet and select "save as", it brings up the windows "Save As" dialog, and its class is ahk_class #32770 I'm looking for a way to just maybe ju...
by scriptor2016
19 Jul 2019, 23:00
Forum: Ask For Help
Topic: Really simple stuff - Diffrent outcomes of pressing one button second time
Replies: 2
Views: 238

Re: Really simple stuff - Diffrent outcomes of pressing one button second time

Code: Select all

z::			 

count++   	 	 
If (count=1)
{
msgbox, 1
}

If (count=2)
{
msgbox, 2
}

If (count=3)
{
msgbox, 3
}

If (count=4)
{
msgbox, 4
Count=0
}
Return
by scriptor2016
17 Jul 2019, 00:14
Forum: Ask For Help
Topic: Open Folder and Close if already open
Replies: 11
Views: 725

Re: Open Folder and Close if already open

Code: Select all

Window=X3 Attachement

^f10::
IfWinExist, %Window%
Winclose, %Window%
else
run, C:\Users\XXX\Desktop\%Window%
Return
by scriptor2016
30 Jun 2019, 12:01
Forum: Ask For Help
Topic: Draw Circle Like "Magic Formation"
Replies: 4
Views: 424

Re: Draw Circle Like "Magic Formation"

excellent - this also seems to work if you draw a square, as well !
by scriptor2016
29 Jun 2019, 03:37
Forum: Ask For Help
Topic: Draw Circle Like "Magic Formation"
Replies: 4
Views: 424

Re: Draw Circle Like "Magic Formation"

wow, this is incredible lol!!! It's exactly the same thing as Magic Formation :) I will keep playing with this in the morning. I think I can understand the code enough to adjust sensitivity settings. I've been looking for ways to trigger commands using only mouse movements (I use a pen tablet), so f...

Go to advanced search