Search found 66 matches

by Spark
28 Nov 2019, 21:04
Forum: Ask For Help
Topic: Services Start, Stop, Restart Help
Replies: 2
Views: 177

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: 177

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: 455

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: 246

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: 246

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: 246

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: 606

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: 606

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: 606

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: 606

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: 366

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
by Spark
24 Sep 2018, 02:21
Forum: Ask For Help
Topic: Progress bar help Topic is solved
Replies: 5
Views: 583

Re: Progress bar help Topic is solved

Try this also: `:: Progress, b2 w200,,, for each, fn in ["alpha", "beta", "charlie", "delta", "jack"] { Progress, % (A_Index - 1) * 20 %fn%() } Progress, 100 Progress, Off return alpha(){ ToolTip, one, 5, 5, 2 Sleep, 1000 ToolTip, two, 5, 5, 2 Sleep, 1000 } beta(){ ToolTip, three, 5, 5, 2 Sleep, 10...
by Spark
24 Sep 2018, 01:32
Forum: Ask For Help
Topic: Progress bar help Topic is solved
Replies: 5
Views: 583

Re: Progress bar help Topic is solved

problem solved arr := {1:"alpha", 2:"beta", 3:"charlie", 4:"delta", 5:"echo"} `:: Progress, b2 w200,,, Loop, 5 { Progress, % (A_Index - 1) * 20 arr[A_Index]() } Progress, 100 Progress, Off return alpha(){ ToolTip, one, 5, 5, 2 Sleep, 1000 ToolTip, two, 5, 5, 2 Sleep, 1000 } beta(){ ToolTip, three, 5...
by Spark
24 Sep 2018, 00:48
Forum: Ask For Help
Topic: Progress bar help Topic is solved
Replies: 5
Views: 583

Re: Progress bar help Topic is solved

@wolf_II
your code works perfectly, thanks :bravo:
another question (if you don't mind)
what if the function name is different?
for example :

Code: Select all

alpha()
beta()
charlie()
delta()
how to make it work ?

thanks
by Spark
23 Sep 2018, 22:25
Forum: Ask For Help
Topic: Progress bar help Topic is solved
Replies: 5
Views: 583

Progress bar help Topic is solved

is there a better way to make progress bar in my case? `:: Progress, b2 w200,,, Progress, 0 func1() Progress, 20 func2() Progress, 40 func3() Progress, 60 func4() Progress, 80 func5() Progress, 100 Progress, Off return func1(){ ToolTip, one, 5, 5, 2 Sleep, 1000 ToolTip, two, 5, 5, 2 Sleep, 1000 } fu...
by Spark
21 Sep 2018, 23:13
Forum: Ask For Help
Topic: Send a combination at a specified time every day
Replies: 1
Views: 280

Re: Send a combination at a specified time every day

Hello, Try target_time = 0945 ; 09:45 am ; Get target time in a format we can: ; - compare (with "<"), and ; - use to calculate "time delta" (with EnvSub.) target = %A_YYYY%%A_MM%%A_DD%%target_time%00 ; < comparison should be safe as long as both are in the *exact* same format. if (target < A_Now) {...
by Spark
02 Aug 2018, 22:30
Forum: Ask For Help
Topic: WMP COM Help Topic is solved
Replies: 2
Views: 507

Re: WMP COM Help Topic is solved

You have to point to the correct object. Change this Mbut1: wmp := ComObjCreate("WMPlayer.OCX") FileSelectFile, file, 2,, Select WMP Compatable File: wmp.url := file ; points to the OCX object wmp return to this Mbut1: FileSelectFile, file, 2,, Select WMP Compatable File: WMP1.url := file ; points ...
by Spark
01 Aug 2018, 21:09
Forum: Ask For Help
Topic: WMP COM Help Topic is solved
Replies: 2
Views: 507

WMP COM Help Topic is solved

hello all, i hope i can explain better, but i have problem with english how to embed specific song in specific WMP? and how to set a certain volume in a particular WMP? i try to read this but still not enough here's my code so far : Gui, 1:Add, Button, x100 y1 w80 h40 gVolBut1Up vMusic1Up, BG Vol Up...
by Spark
16 Jul 2018, 00:40
Forum: Ask For Help
Topic: AHK Write Memory (Pointer)
Replies: 7
Views: 1048

Re: AHK Write Memory (Pointer)

hello,
try delete "%"

Code: Select all

EOClient1.WriteString(0x006DD100, EO1_ClientIP, "UTF-8", 0x0C, 0x300, 0x0C, 0x1C, 0x0)

Go to advanced search