Search found 74 matches

by Spark
28 Jun 2020, 21:50
Forum: Ask For Help
Topic: If/else/loop troubles
Replies: 1
Views: 525

Re: If/else/loop troubles

maybe something like this? #s:: xl := ComObjActive("Excel.Application") loop, 10 { cellvalue :=xl.activecell.value if (cellvalue = 2) xl.ActiveCell.Offset(1,0).Select ; Move Down else { xl.activecell.value := 2 ; Change number "2" xl.ActiveCell.Offset(1,0).Select ; Move Down } } msgbox, end of loop ...
by Spark
26 Mar 2020, 23:31
Forum: Ask For Help
Topic: Reload script
Replies: 1
Views: 144

Re: Reload script

Hello,
try

Code: Select all

SetTimer Start, 100

Up::
    Send, {q}
    sleep 700
    send, {q}
    Toggle := !Toggle
return

Start:
    If (!Toggle)
        Return
    sleep 1950
    send, {q}
return
HTH
by Spark
26 Mar 2020, 23:08
Forum: Ask For Help
Topic: is there more professional way to write this Topic is solved
Replies: 8
Views: 548

Re: is there more professional way to write this Topic is solved

@Spark's script should work just fine but remember that the larger the spreadsheet and the more COM calls, the slower this gets. Up to a couple of hundred rows like in your spreadsheet should be fine, but if it gets much larger, this type of script might be too slow. Instead of all those COM calls,...
by Spark
25 Mar 2020, 22:29
Forum: Ask For Help
Topic: is there more professional way to write this Topic is solved
Replies: 8
Views: 548

Re: is there more professional way to write this Topic is solved

Hello, You can use COM EXCEL try #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDi...
by Spark
10 Feb 2020, 23:35
Forum: Ask For Help
Topic: [Selenium] Change URL debug mode Topic is solved
Replies: 1
Views: 232

Re: [Selenium] Change URL debug mode Topic is solved

Found it #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consisten...
by Spark
10 Feb 2020, 11:57
Forum: Ask For Help
Topic: [Selenium] Change URL debug mode Topic is solved
Replies: 1
Views: 232

[Selenium] Change URL debug mode Topic is solved

Hello, can someone help me how to change URL with Selenium ? already read This but still no luck any help will be appreciated this is my example code so far URL = https://www.autohotkey.com ; First URL run % "chrome.exe --start-maximized -incognito --remote-debugging-port=9222" ( winExist("ahk_class...
by Spark
27 Dec 2019, 10:25
Forum: Ask For Help
Topic: Add Multiple Data in Single ListView Topic is solved
Replies: 3
Views: 396

Re: Add Multiple Data in Single ListView Topic is solved

@just me and @Odlanir

Thank you very much, all your code works very well :clap: :bravo: :dance: :superhappy:
by Spark
27 Dec 2019, 02:29
Forum: Ask For Help
Topic: Add Multiple Data in Single ListView Topic is solved
Replies: 3
Views: 396

Add Multiple Data in Single ListView Topic is solved

hello all and good day, I want to add multiple data in 1 list view but not working properly(Data1 on the left, Data2 on the right in 1 Row), any help will be appreciated. here's my code so far Gui Add, ListView, x5 y5 w1000 h500, Data1|Data2 Loop,%A_Desktop%\*.* ; example LV_Add("",, A_LoopFileName)...
by Spark
28 Nov 2019, 21:04
Forum: Ask For Help
Topic: Services Start, Stop, Restart Help
Replies: 2
Views: 421

Re: Services Start, Stop, Restart Help

Did you Include Service.ahk in your posted script? Yes, I entered the lib under my code #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its s...
by Spark
28 Nov 2019, 12:10
Forum: Ask For Help
Topic: Services Start, Stop, Restart Help
Replies: 2
Views: 421

Services Start, Stop, Restart Help

Hello all, I'm using win10 64bit, and I try to use Service.ahk to run, stop, and restart Windows Mobile-2003-based device connectivity from here but not working, can someone help me? here is my code so far MsgBox % Service_List("Active") ;Try this one but nothing happen if Service_State("Windows Mob...
by Spark
20 Oct 2019, 11:19
Forum: Ask For Help
Topic: FileCopy not working Topic is solved
Replies: 11
Views: 930

Re: FileCopy not working Topic is solved

Try Without "

Code: Select all

FileDelete, C:\test.txt
by Spark
20 Oct 2019, 11:04
Forum: Ask For Help
Topic: Kalamity classMemory Help Topic is solved
Replies: 4
Views: 596

Re: Kalamity classMemory Help Topic is solved

RHCP wrote:
20 Oct 2019, 10:28
You need to use the 64 bit version of AHK, as the game itself is 64 bit.
work like a charm, Thank You @RHCP :dance:
by Spark
20 Oct 2019, 04:28
Forum: Ask For Help
Topic: Kalamity classMemory Help Topic is solved
Replies: 4
Views: 596

Re: Kalamity classMemory Help Topic is solved

RHCP wrote:
20 Oct 2019, 02:58
Are you using the 64 bit version of AHK?
@RHCP
no, i'm still using AHK v1.1.31 (unicode 32-bit)
by Spark
20 Oct 2019, 02:12
Forum: Ask For Help
Topic: Kalamity classMemory Help Topic is solved
Replies: 4
Views: 596

Kalamity classMemory Help Topic is solved

Hello all, i'm trying to use Kalamity classMemory , The address value from CE is ok (value = 904173984), but not with AHK classMemory (value = 0). can someone help me? here's my code #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to ...
by Spark
18 Apr 2019, 11:36
Forum: Ask For Help
Topic: SQLite Multiple Blob Topic is solved
Replies: 7
Views: 1012

Re: SQLite Multiple Blob Topic is solved

Hello Spark, our code looks ok, just some remarks: Loop, % objRecordSet.ColumnCount { strReport1 := objRow[1] ; RowID strReport2 := objRow[2] ;Title Size := objRow[3].Size ; Blob Size Addr := objRow[3].GetAddress("Blob") } repeats the same actions on the same 3 columns ColumnCount times. You can sa...
by Spark
17 Apr 2019, 08:37
Forum: Ask For Help
Topic: SQLite Multiple Blob Topic is solved
Replies: 7
Views: 1012

Re: SQLite Multiple Blob Topic is solved

Dear Just Me, Hi, you only provided some code trying to read BLOBs, but no information about the structure of your database sorry about that, I'm not good at explaining Title I think it's a text field containing the (file) name of the picture. Picture I think that's the BLOB field containing the raw...
by Spark
16 Apr 2019, 10:06
Forum: Ask For Help
Topic: SQLite Multiple Blob Topic is solved
Replies: 7
Views: 1012

Re: SQLite Multiple Blob Topic is solved

Dear Just me, thanks for your reply, I usually use "ini file" to save the image path and then call it with "iniread", but when I have many paths to load, it becomes very slow to load, so I want to try using SQLite as my database, I can read and write data on the SQLite base from your example, but I ...
by Spark
16 Apr 2019, 00:02
Forum: Ask For Help
Topic: SQLite Multiple Blob Topic is solved
Replies: 7
Views: 1012

SQLite Multiple Blob Topic is solved

recently I learned about SQLite using the JustMe Class and read tutorial from Joe Glines , it's better than using "IniFile", slow but surel I can write and read in the database, but I am stuck with "blob" type, can anyone help me give an example to write (input) and read (view display) multiple "blo...
by Spark
24 Sep 2018, 23:27
Forum: Ask For Help
Topic: Macro to make a key do a specific action on 1 window breaks holding that key for others
Replies: 2
Views: 577

Re: Macro to make a key do a specific action on 1 window breaks holding that key for others

Hello,
try :

Code: Select all

#IfWinActive, ahk_exe Discord.exe
$XButton1::
Send {Click}
Sleep, 75
Send ^v
return
#IfWinActive
HTH

Go to advanced search