Search found 27 matches
- 03 Jul 2019, 18:13
- Forum: Ask for Help (v1)
- Topic: Help with disabling error messages
- Replies: 5
- Views: 2484
Re: Help with disabling error messages
I haven't read the script you posted, but a Try-Catch pair is the usual way to stop those error messages that reveal part of the script's actual code. The doc is very good on Try and Catch , but if you have any questions/issues after giving them a spin, post back here. Regards, Joe Could I just thr...
- 03 Jul 2019, 15:33
- Forum: Ask for Help (v1)
- Topic: Help with disabling error messages
- Replies: 5
- Views: 2484
Help with disabling error messages
I have a script that comes along with a config.ini. If any of the text in the config gets changed and is wrongly placed by the user it throws an error showing part of the scripts actual code. Is there a way to surprise the error messages to something less revealing? The code below suppresses the err...
- 02 Jun 2019, 15:49
- Forum: Ask for Help (v1)
- Topic: Check expiration date with online Date/Time
- Replies: 3
- Views: 1680
Re: Check expiration date with online Date/Time
figured this out. no need for help thank you
- 02 Jun 2019, 12:25
- Forum: Ask for Help (v1)
- Topic: Check expiration date with online Date/Time
- Replies: 3
- Views: 1680
Re: Check expiration date with online Date/Time
This also allows you to call for the date/time. I'm trying to get the check expiration code to work off of this code below.
Code: Select all
WinHttp := ComObjCreate("WinHttp.WinHttpRequest.5.1")
WinHttp.Open("GET", "http://worldtimeapi.org/api/ip", false)
WinHttp.Send()
MsgBox, % WinHttp.ResponseText
- 01 Jun 2019, 17:25
- Forum: Ask for Help (v1)
- Topic: Check expiration date with online Date/Time
- Replies: 3
- Views: 1680
Check expiration date with online Date/Time
I have this code that checks the computer's time and closes if not within the set date. I'm wondering how to get this code to interact with something that checks an internet locations real time so the user of the script can't just change the computers internal time. Check expiration code CheckExpiry...
- 20 May 2019, 19:20
- Forum: Ask for Help (v1)
- Topic: How to change from BIOS Id check to HDD check
- Replies: 14
- Views: 7430
Re: How to change from BIOS Id check to HDD check
So you want to send information from a client computer via the internet to your computer/server and check it there (instead of checking the information in the script on the client computer itself)? There are certainly different solutions for this which have been discussed before in the forum on dif...
- 20 May 2019, 18:23
- Forum: Ask for Help (v1)
- Topic: How to change from BIOS Id check to HDD check
- Replies: 14
- Views: 7430
Re: How to change from BIOS Id check to HDD check
Perhaps you should dial back your attitude a bit. You seem to expect that we have magic crystal balls... We directed you to the code you need - if you created some code that you want to secure with it, we can assume that you are able to do a minimal transfer. After all, we don't know your script. R...
- 20 May 2019, 17:04
- Forum: Ask for Help (v1)
- Topic: How to change from BIOS Id check to HDD check
- Replies: 14
- Views: 7430
Re: How to change from BIOS Id check to HDD check
... in my own AHK script. I don't believe that. If you implemented the BIOSID check, you shouldn't need any further assistence. BIOS ID check isn't what i'm asking for. Do I need to speak deutsch for you? I'm not getting why its so hard to understand. I have ahk code that gets the persons HDD seria...
- 20 May 2019, 12:07
- Forum: Ask for Help (v1)
- Topic: How to change from BIOS Id check to HDD check
- Replies: 14
- Views: 7430
Re: How to change from BIOS Id check to HDD check
If you already have that code , why don't you use it? As an option: MsgBox, % GetDiskSerialNumber() GetDiskSerialNumber(Disk := 1) { SerialNumber := "" For Drive In ComObjGet("winmgmts:").ExecQuery("SELECT * FROM Win32_DiskDrive") { If (A_Index = Disk) { SerialNumber := Drive.SerialNumber Break } }...
- 19 May 2019, 15:46
- Forum: Ask for Help (v1)
- Topic: How to change from BIOS Id check to HDD check
- Replies: 14
- Views: 7430
Re: How to change from BIOS Id check to HDD check
I already have that code. My question was how do I change the verification within my ahk script from BIOS serial check to HDD serial check?gregster wrote: ↑19 May 2019, 13:42Have you tried the forum search? What about this: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=30132&hilit=hdd+serial ?
- 19 May 2019, 11:14
- Forum: Ask for Help (v1)
- Topic: How to change from BIOS Id check to HDD check
- Replies: 14
- Views: 7430
Re: How to change from BIOS Id check to HDD check
Anyone know how to do this? Sorry
- 18 May 2019, 12:27
- Forum: Ask for Help (v1)
- Topic: How to change from BIOS Id check to HDD check
- Replies: 14
- Views: 7430
How to change from BIOS Id check to HDD check
if (getBIOSSerial() != "CNF1203T38") { ;replace CNF1203T38 with BIOS serial from client MsgBox % Wrong computer, exiting! ExitApp } ;insert script here getBIOSSerial() { ; Get WMI service object. wmi := ComObjGet("winmgmts:") queryEnum := wmi.ExecQuery("Select SerialNumber from Win32_BIOS")._NewEnum...
- 17 May 2019, 12:30
- Forum: Ask for Help (v1)
- Topic: HardWare ID check
- Replies: 0
- Views: 508
HardWare ID check
Is there any way I can have a Hardware id check inside of my ahk script? I want it to check the users HWID when they open it and if its not the ID that I compiled for them then it won't open. I also was wondering if there is a small ahk script that will find and report the HWID components id to the ...
- 15 May 2019, 23:37
- Forum: Gaming Help (v1)
- Topic: Any runescape script ideas ?
- Replies: 10
- Views: 5580
- 14 May 2019, 18:21
- Forum: Ask for Help (v1)
- Topic: How to incorporate .ini files? (Help please)
- Replies: 22
- Views: 6278
Re: How to incorporate .ini files? (Help please)
Make sure SetWorkingDir % A_ScriptDir is present on the top of your script, as I had already suggested you in my first reply. Make sure to save your ini file SPELL_KEYMAP.ini in the script's own directory and also, maybe, make sure to save it as UTF-16 LE (select save as > encodage > Unicode in Not...
- 14 May 2019, 17:41
- Forum: Ask for Help (v1)
- Topic: How to incorporate .ini files? (Help please)
- Replies: 22
- Views: 6278
Re: How to incorporate .ini files? (Help please)
IniRead, SPELLS, SPELL_KEYMAP.ini, SPELL_KEYMAP ; Read all keys from the SPELL_KEYMAP section into a single string SPELL_KEYMAP := [] ; Create the SPELL_KEYMAP array Loop, Parse, SPELLS, "`n" ; Loop through the string one line at a time { Array := StrSplit(A_LoopField, "=") ; Store the current line...
- 14 May 2019, 16:44
- Forum: Ask for Help (v1)
- Topic: How to incorporate .ini files? (Help please)
- Replies: 22
- Views: 6278
Re: How to incorporate .ini files? (Help please)
Thanks for the help but Im wondering how to implement the ini read code that the above was sent to me, would you by any chance be able to help me place that ini read code in ? Have you run it? It should do all the stuff. After running it, you will in all likelihood find an ini file called mySetting...
- 14 May 2019, 02:22
- Forum: Ask for Help (v1)
- Topic: How to incorporate .ini files? (Help please)
- Replies: 22
- Views: 6278
Re: How to incorporate .ini files? (Help please)
#NoEnv #SingleInstance Force SendMode Input SetBatchLines -1 CoordMode, Pixel, Screen INI_FILE := A_ScriptDir "\mySettings.ini" if not (FileExist(INI_FILE)) FileAppend, (LTrim Join`n [area] x1=0 y1=0 x2=-1 y2=-1 [keymap] ra=1 sh=2 fe=3 re=4 ri=5 th=6 ti=7 [hotkey] keyName=1 ), % INI_FILE, UTF-16 In...
- 13 May 2019, 15:59
- Forum: Gaming Help (v1)
- Topic: rs 07 instant gmaul spec pvp
- Replies: 3
- Views: 1525
Re: rs 07 instant gmaul spec pvp
@Sid4G
i'm interested whats your discord?
i'm interested whats your discord?
- 13 May 2019, 12:24
- Forum: Ask for Help (v1)
- Topic: How to incorporate .ini files? (Help please)
- Replies: 22
- Views: 6278