Search found 59 matches

by Spark
26 Feb 2018, 17:45
Forum: Ask For Help
Topic: Detect if 3 Times a row Topic is solved
Replies: 8
Views: 569

Re: Detect if 3 Times a row Topic is solved

thank you so much :clap:
by Spark
26 Feb 2018, 07:29
Forum: Ask For Help
Topic: Detect if 3 Times a row Topic is solved
Replies: 8
Views: 569

Re: Detect if 3 Times a row Topic is solved

@garry and @BoBo Thanks for the response, maybe this (?) ;-------- https://autohotkey.com/boards/viewtopic.php?f=5&t=44788 --- #persistent i1=0 i2=0 i3=0 ;`:: Loop, { Random, Output, 1, 9 if Output between 1 and 3 { i1++ x1=Side-A e1 .= output . "`n" msgbox, 262208,%x1% ,var=%output% `, %x1%,1 if i1...
by Spark
25 Feb 2018, 23:22
Forum: Ask For Help
Topic: Detect if 3 Times a row Topic is solved
Replies: 8
Views: 569

Re: Detect if 3 Times a row Topic is solved

Like this ? `:: Loop, { Random, Output, 1, 9 if Output between 1 and 3 { Side = A } else if Output between 4 and 6 { Side = B } else { Side = C ToolTip, Value = %Output%`n Side = %Side%, 50, 50, 2 Msgbox, Done Sleep, 1000 Continue ; in this case restart } } return ^r::Reload ^x::ExitApp sorry for m...
by Spark
25 Feb 2018, 21:09
Forum: Ask For Help
Topic: Detect if 3 Times a row Topic is solved
Replies: 8
Views: 569

Detect if 3 Times a row Topic is solved

Hello all, I just want to make a simple script where if "Side" 3 times in a row it will come out msgbox and back to the loop again but i'm still confused how to make it.. thanks in advance `:: Loop, { Random, Output, 1, 9 if Output between 1 and 3 Side = A else if Output between 4 and 6 Side = B els...
by Spark
21 Feb 2018, 02:11
Forum: Gaming
Topic: Help with sound (simple noob script)
Replies: 1
Views: 235

Re: Help with sound (simple noob script)

Hi.. try this : x:: Suspend, permit if (State = 0) ; Checks the current state of variable "State". And if it is False (zero)... { SoundPlay *48 ; Plays a system sound... State++ ; And changes the value of variable "State" to True (one) } Else ; Otherwise... { State := 0 ; Sets the value of State var...
by Spark
07 Feb 2018, 21:53
Forum: Gaming
Topic: 1 key, multiple functions, base on number of times pressed.
Replies: 2
Views: 280

Re: 1 key, multiple functions, base on number of times pressed.

hi,
i'm not sure what do you want,

try this

Code: Select all

list=a,b,c,d,e ; the list of keys and combos. comma separated.
stringsplit, list, list,`,
Counter = 0

o::                                ; press o to cycle through
  Counter := (Counter=list0) ? (1) : (Counter+1)
  send % list%counter%
return
by Spark
25 Jan 2018, 23:33
Forum: Ask For Help
Topic: If condition with several ORs
Replies: 4
Views: 410

Re: If condition with several ORs

Hi Scr1pter: Please try ^F12:: XL := ComObjActive("Excel.Application") value1 := XL.ActiveCell.Offset(0,0).text ; copy value from current active cell value2 := XL.ActiveCell.Offset(0,1).text ; copy value from current active cell + 1 row cell value3 := XL.ActiveCell.Offset(0,2).text value4 := XL.Acti...
by Spark
22 Jan 2018, 20:50
Forum: Gaming
Topic: Ctrl macro spam help ;c
Replies: 4
Views: 332

Re: Ctrl macro spam help ;c

by Spark
21 Jan 2018, 21:56
Forum: Ask For Help
Topic: ahk read .txt or .doc file from google drive Topic is solved
Replies: 9
Views: 1079

Re: ahk read .txt or .doc file from google drive Topic is solved

@theimmersion : BaseGoogleDriveLink=https://drive.google.com/uc?export=download&confirm=no_antivirus&id= VersionLink=%BaseGoogleDriveLink%*The ID of the .txt file* ReleaseDate=%BaseGoogleDriveLink%*Some other .txt file* BaseDropBoxLink=https://www.dropbox.com/s/XXXXXXXXXXX/AppVer.txt?dl=1 StringRepl...
by Spark
18 Jan 2018, 22:08
Forum: Ask For Help
Topic: ahk read .txt or .doc file from google drive Topic is solved
Replies: 9
Views: 1079

Re: ahk read .txt or .doc file from google drive Topic is solved

@teadrinker
works like a charm, Thanks.. :bravo:
maybe I need a lot to learn about RegEx
by Spark
21 Aug 2017, 01:35
Forum: Pulovers Macro Creator
Topic: Pulover's Macro Creator v5.0.5 - The Complete Automation Tool
Replies: 988
Views: 551645

Re: Pulover's Macro Creator v5.0.5 - The Complete Automation Tool

PMC just too great, can't make automation without it can i request new feature about pixelgetcolor?? everytime when i use pixelgetcolor i always write the color manually (except X and Y coordinate), can you make it automatic when i search for X and Y coordinate? ;) Sorry i do not understand the que...
by Spark
20 Aug 2017, 22:59
Forum: Pulovers Macro Creator
Topic: Pulover's Macro Creator v5.0.5 - The Complete Automation Tool
Replies: 988
Views: 551645

Re: Pulover's Macro Creator v5.0.5 - The Complete Automation Tool

PMC just too great, can't make automation without it
can i request new feature about pixelgetcolor??
everytime when i use pixelgetcolor i always write the color manually (except X and Y coordinate), can you make it automatic when i search for X and Y coordinate? ;)
by Spark
14 Jun 2017, 20:36
Forum: Ask For Help
Topic: XL COM Get variable from another function Topic is solved
Replies: 8
Views: 922

Re: XL COM Get variable from another function Topic is solved

.Select and .Selection only work if the window is active. [Edit] Here's a good link to read: https://stackoverflow.com/questions/10714251/how-to-avoid-using-select-in-excel-vba-macros [/Edit] Ahhh ... I understand now .. that's why it always get error Maybe activate the workbook before using .Selec...
by Spark
09 Jun 2017, 14:40
Forum: Ask For Help
Topic: XL COM Get variable from another function Topic is solved
Replies: 8
Views: 922

Re: XL COM Get variable from another function Topic is solved

kon wrote:Based on your question I added an example to the collection of examples that accompanies the MS Office COM Basics tutorial. (I linked to both the tutorial and examples above.)

You can find it here: Copy_from_one_sheet_to_another.ahk
Thank you very much :superhappy:
by Spark
08 Jun 2017, 21:08
Forum: Ask For Help
Topic: XL COM Get variable from another function Topic is solved
Replies: 8
Views: 922

Re: XL COM Get variable from another function Topic is solved

@Bobo and @kon, thanks for your fast response @bobo, Thank you for the link you gave me, I will read it more deeply @kon your code works perfectly, thankyou soo much :thumbup: I have 2 excell files where I have to retrieve some variable data from "Excell1 file" and synchronize with "Excell2 file", s...
by Spark
08 Jun 2017, 08:09
Forum: Ask For Help
Topic: XL COM Get variable from another function Topic is solved
Replies: 8
Views: 922

XL COM Get variable from another function Topic is solved

Hello good day, I have some problem with my code, can I get variable value from another function?? in my case function "data2()" cannot get variable value from "D31days(XLOne,a16,OT16)" and one more thing, can I create a loop for COM Excell? thanks here's my code so far #NoEnv ; Recommended for perf...
by Spark
13 Feb 2017, 01:57
Forum: Scripts and Functions
Topic: Radial menu scripts
Replies: 133
Views: 47854

Re: Radial menu scripts - updates 2016-12-27

parkone, multiplex55, Joefango : thanks for kind words. Spark :If you want to run RM initially suspended, the simplest thing is to put RMApp_Suspend(1) function in the auto-execute section of Radial menu.ahk. If you want to toggle RM suspension via hotkey, use this: F12:: Suspend, Permit ; mark the...
by Spark
04 Jan 2017, 03:07
Forum: Scripts and Functions
Topic: Radial menu scripts
Replies: 133
Views: 47854

Re: Radial menu scripts - updates 2016-12-27

hi guys, i'm quite new in AHK.. first when i look this Radial menu its so awesome and i decided to use it frequently. i want to make Radian menu on first run suspend and tray icon change to suspend (RM tray icon suspended.ico), it is possible?? because it's not my own PC and i want to make it suspen...

Go to advanced search