Search found 49 matches
- 01 Nov 2018, 07:07
- Forum: Forum Issues
- Topic: Getting spammed by AutoHotkey
- Replies: 36
- Views: 11520
Re: Getting spammed by AutoHotkey
Same issue for me... Just chiming in. I've got around the same amount of emails. Just stopped in to see if this was only me or others as well and I've found my answer.
- 22 Aug 2018, 09:58
- Forum: Scripts and Functions (v1)
- Topic: Run() and quote() functions
- Replies: 0
- Views: 951
Run() and quote() functions
Just a couple of quick functions I thought some might find useful. I have libraries full of functions and classes I have written and will post soon, but for now here's a couple of small funcs that can make your scripts a little easier to work with. Run() is a wrapper function for the built-in AHK 'R...
- 14 Apr 2018, 18:43
- Forum: Scripts and Functions (v1)
- Topic: NPS Hosts Manager
- Replies: 0
- Views: 862
NPS Hosts Manager
I know there are other hosts file managers out there, and you probably all have your own methods, but recently some of my family members needed a tool to help manage theirs and since they are not trusting of other peoples software/scripts and come to me for advice I figured I'd build something of my...
- 05 Apr 2018, 15:30
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 461955
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Much appreciated!!! I've been expanding (learning) my AutoHotkey skills more in browser com objects lately and testing and looking through scripts and functions like this help me understand how things work a lot better than plain documentation usually does.
- 04 Apr 2018, 09:35
- Forum: Scripts and Functions (v1)
- Topic: MsgBox Class
- Replies: 8
- Views: 2964
Re: MsgBox Class
Glad I could help.Haxt0r Baxtor wrote:timing was amazing on this i'm working on a project and this is perfect big time saver
- 03 Apr 2018, 10:24
- Forum: Scripts and Functions (v1)
- Topic: MsgBox Class
- Replies: 8
- Views: 2964
Re: MsgBox Class
Obj.Display() is now editable (reflected above): MsgBox.Display( "New Title" ; New title , "New Text" ; New text , WinExist("A") ; New owner , MsgBox.Styles["MB_YESNO] + MsgBox.Styles["MB_ICONQUESTION"]) ; New styles
- 03 Apr 2018, 09:46
- Forum: Scripts and Functions (v1)
- Topic: MsgBox Class
- Replies: 8
- Views: 2964
Re: MsgBox Class
2 edits to the script above in the main class MsgBox (changes reflected in the OP): _styles:=0 to _styles:="" and Ok to OK __New(_title,_msg:="",_hwnd:=0,_styles:= "" ,delim:="|"){ this.Owner:=_hwnd this.Title:=_title?_title:A_ScriptName this.Message:=_msg If (_styles!="" And !IsNum(_styles)){ SetFo...
- 03 Apr 2018, 09:10
- Forum: Scripts and Functions (v1)
- Topic: MsgBox Class
- Replies: 8
- Views: 2964
Re: MsgBox Class
Thank you for this,it looks useful. I use MagicBox by alguimist ... You're welcome, I hadn't seen that before, but looks fill-featured, I'll have to check it out. I try to build my own stuff first before I use other's that's why I wrote this, but like I said; it's always good to have more choices :...
- 02 Apr 2018, 20:24
- Forum: Scripts and Functions (v1)
- Topic: MsgBox Class
- Replies: 8
- Views: 2964
MsgBox Class
Hello all, I've seen and created some MsgBox functions for a little more control, but thought I would write a class with more functionality. If you have something better, great, but I think some might find this useful and more options are always better I say. Below you will find an example script an...
- 23 Nov 2017, 08:08
- Forum: Scripts and Functions (v1)
- Topic: Convert A_TickCount
- Replies: 24
- Views: 8952
Re: Convert A_TickCount
Here's an example script: E.g. for days: you count the number of days (24-hour blocks). E.g. for hours: you remove the days (any blocks of 24 hours), and count the number of hours. E.g. for minutes: you remove the hours (any blocks of 60 minutes), and count the number of minutes. E.g. for seconds: ...
- 22 Nov 2017, 20:12
- Forum: Scripts and Functions (v1)
- Topic: Convert A_TickCount
- Replies: 24
- Views: 8952
Re: Convert A_TickCount
I have been using this ever since you posted it. Computer has been running 6 days 16 hours 8 minutes currently :). In my script the hour function is the same as the version suggested by iPhilip (hello :wave: ), but you do not need to assign count. Cheers, and thanks again. The count is so that you ...
- 22 Nov 2017, 17:39
- Forum: Scripts and Functions (v1)
- Topic: Convert A_TickCount
- Replies: 24
- Views: 8952
Re: Convert A_TickCount
Hi Lateralus138, The tohours() function contains an error. It should be... ... Cheers! Thank you very much, I have been very busy as I am at the moment, but I plan to look at this and try to understand what you're showing me in a few days and I'll get the changes up soon; wish I had more time... :c...
- 21 Nov 2017, 11:14
- Forum: Scripts and Functions (v1)
- Topic: Convert A_TickCount
- Replies: 24
- Views: 8952
Re: Convert A_TickCount
I'm fairly certain I changed all errors in the original post and the above code should reflect those changes. I actually came back here for reference the other day and I am using this on a new machine and it works just fine. I use this to log when my kids start their computers lol. the first code in...
- 02 Dec 2016, 19:19
- Forum: Scripts and Functions (v1)
- Topic: Convert A_TickCount
- Replies: 24
- Views: 8952
Re: Convert A_TickCount
You're welcome Helgef!!! Major change in the toHours() class for toDisplay() and toFile(): When it's been running for more than 24 hours it has to be mod()ed to reflect the day change (23:59 - 0:00) instead of keeping the hours going (24,25,26, etc...). Change this part: toHours(count:=False){ Retur...
- 30 Nov 2016, 10:35
- Forum: Scripts and Functions (v1)
- Topic: Convert A_TickCount
- Replies: 24
- Views: 8952
Re: Convert A_TickCount
ThanX!!!! I just fixed:Pinkfloydd wrote:Nice one!
-△◄
Code: Select all
count?count:A_TickCount
Code: Select all
count:=count?count:A_TickCount
- 30 Nov 2016, 09:23
- Forum: Scripts and Functions (v1)
- Topic: Convert A_TickCount
- Replies: 24
- Views: 8952
Re: Convert A_TickCount
OK wow, I just tested that and, of course, you're right. And I know that, don't know I why I did that one that way, all my other countless scripts have correct booleans; made sure to douyble check lol. But I am getting accurate time with it, why so?
- 30 Nov 2016, 07:46
- Forum: Scripts and Functions (v1)
- Topic: Convert A_TickCount
- Replies: 24
- Views: 8952
Re: Convert A_TickCount
I don't see why, the count? Boolean works just fine here. As I have it written it's running just fine on my machines.
- 29 Nov 2016, 20:29
- Forum: Scripts and Functions (v1)
- Topic: Convert A_TickCount
- Replies: 24
- Views: 8952
Re: Convert A_TickCount
Update: Added: toDays() ; to get days since boot Days() ; Gets total Days since boot (not for toDisplay) Minutes() ; Gets total minutes since boot (not for toDisplay) Seconds() ; Gets total seconds since boot (not for toDisplay) Hours() ; Gets total Hours since boot (not for toDisplay) Thanks to Hel...
- 29 Nov 2016, 18:45
- Forum: Scripts and Functions (v1)
- Topic: Convert A_TickCount
- Replies: 24
- Views: 8952
Re: Convert A_TickCount
Much appreciated for the tips!!! I realized that about Mod on the Hours and actually planned to remove it and forgot. Never even thought about having a system on for days, but I think I will implement days. As for the 0-59; I wrote this whole thing for display time and hadn't thought about just need...
- 29 Nov 2016, 16:25
- Forum: Scripts and Functions (v1)
- Topic: Equal Signs - Test Speed (.= \ = \ := \ = %)
- Replies: 4
- Views: 1567
Re: Equal Signs - Test Speed (.= \ = \ := \ = %)
I was actually wondering about this not too long ago, thanks for the info!!! Been planning a few speed tests myself on different things.