Search found 578 matches

by Guest10
27 May 2014, 23:07
Forum: Ask for Help (v1)
Topic: any AHK-based Time Server-based scripts?
Replies: 0
Views: 911

any AHK-based Time Server-based scripts?

any AHK-based Time Server-based scripts to get the time from a Time Server with Hours Offset (Daylight-Saving Time) settings, etc. to adjust the local PC time? :geek:
by Guest10
27 May 2014, 21:32
Forum: Scripts and Functions (v1)
Topic: String Things - Stand-alone string manipulation functions
Replies: 35
Views: 35665

Re: String Things - Stand-alone string manipulation function

tried again to download. looks like i have to sign up. do i have to sign up to upload this script? :lol:
by Guest10
27 May 2014, 18:14
Forum: Scripts and Functions (v1)
Topic: Seconds to String
Replies: 22
Views: 7756

Re: Seconds to String

AlphaBravo wrote: I can't get the code any shorter than this ;)

Code: Select all

secsToStr(s){
	return s//86400 " Days, " (s:=mod(s,86400))//3600 " Hours, " (s:=mod(s,3600))//60 " Minutes, " mod(s,60) " Seconds"
}
thanks for the straight code! :lol:
by Guest10
27 May 2014, 13:47
Forum: Scripts and Functions (v1)
Topic: Seconds to String
Replies: 22
Views: 7756

Re: Seconds to String

Guest10 , there are too many ambiguities if you want to autodetect the format. For example "101214" could be either DDMMYY, MMDDYY, or YYMMDD. Or did you mean something else? doh!!! thanks for mentioning the conflict. i have the following in my archives: ; http://www.autohotkey.com/board/topic/1876...
by Guest10
27 May 2014, 13:02
Forum: Ask for Help (v1)
Topic: Last day of the previous month Topic is solved
Replies: 3
Views: 2951

Re: Last day of the previous month Topic is solved

less talk and more code! test and hit the spot~ :lol:
by Guest10
26 May 2014, 12:51
Forum: Scripts and Functions (v1)
Topic: Seconds to String
Replies: 22
Views: 7756

Re: Seconds to String

could you post a COMPREHENSIVE script of this kind that converts any date format in the following LIST to 2 string types: (1) YYYYMMDD and (2) YYYYMMDDhhmmss:? :ugeek:

YYMMDD
YYYYYMMDD
YY/MM/DD
YYYYY/MM/DD
MMDDYY
MMDDYYYYY
MM/DD/YY
MM/DD/YYYY
DDMMYY
DDMMYYYYY
DD/MM/YY
DD/MM/YYYY
by Guest10
26 May 2014, 12:39
Forum: Ask for Help (v1)
Topic: Assign values to variable named by 2nd field
Replies: 12
Views: 4414

Re: Assign values to variable named by 2nd field

more music and less talk! tested and hit the spot! :lol: :geek: var = ( FacID|DelRt 160|LCL 166|TMP 200|PRPL 201|PRPL 202|PRPL 203|PRPL 270|FORAN 221|FORAN 222|FORAN 93|FBLCK 91|FBLCK 97|FELPA 40|PRPL 41|PRPL 42|PRPL 43|PRPL 51|LCL 52|LCL 53|TMP 55|TMP 58|LCL 60|LCL 61|TMP 62|TMP 63|TMP 64|TMP 69|TM...
by Guest10
25 May 2014, 03:45
Forum: Ask for Help (v1)
Topic: Countup Counter
Replies: 3
Views: 3143

Re: Changing Countdown Counter to Count Up Instead of Down

hi, kiwichick! the original author wrote this script out of boredom (*). however, i found serious applications for it. i will post the amended version shortly. in the meantime, i would like to see what other bored ( :lol: ) members can come up with by way of creative solutions. :lol: :ugeek: (*) quo...
by Guest10
24 May 2014, 18:06
Forum: Scripts and Functions (v1)
Topic: Seconds to String
Replies: 22
Views: 7756

Re: Seconds to String

AlphaBravo wrote:
smorgasbord wrote:i am getting bored.
can it be done in 1 line?

Code: Select all

secsToStr(s){
	return (s>86400?(s//86400) " Days, ":"")(s>3600?(s:=mod(s,86400))//3600 " Hours, ":"")(s>60?(s:=mod(s,3600))//60 " Minutes, ":"") mod(s,60) " Seconds"
}
i'm sure this will be a hit! any examples to test? :lol:
by Guest10
24 May 2014, 18:02
Forum: Scripts and Functions (v1)
Topic: Seconds to String
Replies: 22
Views: 7756

Re: Seconds to String

Coco wrote:@Guest10
msgbox % DateParse("Dec-31-13") surround with quotes :-)
thanks, tested and it was a hit! :lol:
by Guest10
24 May 2014, 17:27
Forum: Ask for Help (v1)
Topic: Countup Counter
Replies: 3
Views: 3143

Re: Changing Countdown Counter to Count Up Instead of Down

2 new lines added and 1 existing line modified and that did the trick! :lol: :ugeek:
by Guest10
24 May 2014, 02:24
Forum: Ask for Help (v1)
Topic: Countup Counter
Replies: 3
Views: 3143

Countup Counter

i have this countdown counter (from another thread) that counts down or backward as designed (in this case, starts from 3 minutes and counts down to 0). what i would like to do is to reverse the process so that it counts up or forward from 0 ( NOT from %A_Now% ) to 3 minutes. i spent some time and c...
by Guest10
23 May 2014, 10:39
Forum: Scripts and Functions (v1)
Topic: FileSearch
Replies: 8
Views: 5759

Re: FileSearch

thanks for the reply. i think {A "mouse over" that shows the full path in a tooltip} would be the simplest and best option for now. i look forward to the implementation.
by Guest10
21 May 2014, 17:40
Forum: Scripts and Functions (v1)
Topic: FileSearch
Replies: 8
Views: 5759

Re: FileSearch

this is great but the search results are not fully visible or readable in the "Found in" box, specially when they have long paths. is there anyway to modify the code so that search results are fully visible regardless of the length of their paths?
by Guest10
21 May 2014, 17:31
Forum: 其他
Topic: China excludes Windows 8 from government computers
Replies: 2
Views: 8796

Re: China excludes Windows 8 from government computers

which one is better XP or Windows 7? :lol:
by Guest10
19 May 2014, 00:11
Forum: Ask for Help (v1)
Topic: split Code to more than one line?
Replies: 11
Views: 5198

Re: split Code to more than one line?

how do you split this long path:

Code: Select all

FileCopy
, C:\SomeFilePath1\SomeFilePath2\SomeFilePath3\SomeFilePath4\SomeFilePath5\SomeFilePath6\SomeFilePath7\SomeFilePath8\SomeFilePath9\SomeFilePath10\SomeFilePath11\SomeFilePath12\SomeFilePath13\SomeFilePath14\SomeFilePath15\SomeFile.ext
, C:\OtherFilePath
by Guest10
18 May 2014, 22:55
Forum: Ask for Help (v1)
Topic: split Code to more than one line?
Replies: 11
Views: 5198

Re: split Code to more than one line?

thanks for clarifying VB. i always wondered about "_" used in this case:

Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
by Guest10
18 May 2014, 16:28
Forum: Scripts and Functions (v1)
Topic: [Lib] ObjDump / ObjLoad - Object Backup
Replies: 71
Views: 33932

Re: [Lib] ObjDump / ObjLoad - Object Backup

this script is way over my head. any examples a newbie can use this? :geek:
by Guest10
18 May 2014, 04:54
Forum: Scripts and Functions (v1)
Topic: StrFromTimeInterval()
Replies: 1
Views: 1985

Re: StrFromTimeInterval()

tested. thanks, it hit the spot!
by Guest10
18 May 2014, 04:49
Forum: Ask for Help (v1)
Topic: Time until...
Replies: 10
Views: 5509

Re: Time until...

tested! yields positive numbers... and thanks for supporting my script habit! :lol:

Go to advanced search