AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 285 matches
AutoHotkey Community Forum Index
Author Message
  Topic: FileSetTime doesn't work with composite parameters.
Rabiator

Replies: 11
Views: 1362

PostForum: Bug Reports   Posted: Fri Mar 05, 2010 6:31 pm   Subject: FileSetTime doesn't work with composite parameters.
and this does not:
FileSetTime, oVar2,%a_scriptdir%\%oVar1%
variable oVar2 is in the "yyyyMMddHHmmss" format (actually it is the output of a FileGetTime of another script).
This works:Fi ...
  Topic: Using a value on excel as a flag
Rabiator

Replies: 8
Views: 540

PostForum: Ask for Help   Posted: Thu Feb 18, 2010 12:17 am   Subject: Using a value on excel as a flag
Better late than never. Smile
  Topic: [closed] assume static mode broken
Rabiator

Replies: 3
Views: 126

PostForum: Ask for Help   Posted: Sat Dec 05, 2009 5:22 pm   Subject: [closed] assume static mode broken
Hi DerRaphael!
Gosub, % "StackInternal_" ( IsLabel( "StackInternal_" . Method ) ? Method : "Default" )Wink
____________________________________ ...
  Topic: Returning multiple values from a function?
Rabiator

Replies: 7
Views: 193

PostForum: Ask for Help   Posted: Mon Nov 02, 2009 10:53 pm   Subject: Returning multiple values from a function?
Another and simpler way is to return a string containing the separated return values:
a := PolarToCartesian(5, 0.2048328 * 3.1415926535)
StringSplit, array, a, |
MsgBox x = %array1%`ny ...
  Topic: WaitPixelColor()
Rabiator

Replies: 12
Views: 3137

PostForum: Scripts & Functions   Posted: Sun Oct 04, 2009 9:26 am   Subject: WaitPixelColor()
At a first glance:
If errorlevel = 0
{
Msgbox Found it.
Return
}
Else if errorlevel = 1
{
Msgbox Error
return
}
Else if Errorlevel = 2
{
Msgbox Timed out.
Return ...
  Topic: associative arrays
Rabiator

Replies: 2
Views: 723

PostForum: Scripts & Functions   Posted: Mon May 25, 2009 8:41 pm   Subject: Re: associative arrays
That's a fine idea, thank you!

However, it is not possible to assign the value 0 to the member. Has the "else" to be removed?
  Topic: Serial ( COM ) Port Console Script
Rabiator

Replies: 90
Views: 24321

PostForum: Scripts & Functions   Posted: Mon May 04, 2009 9:26 pm   Subject: Serial ( COM ) Port Console Script
Would anyone know if this behaviour is by design?It is. You have to set , Off. By default it is On.AutoTrim, Off
  Topic: Standard Windows Wizard Template
Rabiator

Replies: 1
Views: 795

PostForum: Scripts & Functions   Posted: Wed Apr 29, 2009 8:52 pm   Subject: Standard Windows Wizard Template
Nice idea Cool .
I will surely use it when the time comes!
  Topic: FileSetTime doesn't work with composite parameters.
Rabiator

Replies: 11
Views: 1362

PostForum: Bug Reports   Posted: Sat Feb 28, 2009 2:59 pm   Subject: FileSetTime doesn't work with composite parameters.
Thank you both for clarifying and for updating the documentation!
  Topic: FileSetTime doesn't work with composite parameters.
Rabiator

Replies: 11
Views: 1362

PostForum: Bug Reports   Posted: Fri Feb 27, 2009 3:46 pm   Subject: FileSetTime doesn't work with composite parameters.
Thanks, it works!

FileSetTime is the only command/function I know, that excepts a traditional and an expression variable.
This is slightly confusing. At least the intended behavior should be docum ...
  Topic: FileSetTime doesn't work with composite parameters.
Rabiator

Replies: 11
Views: 1362

PostForum: Bug Reports   Posted: Fri Feb 27, 2009 9:53 am   Subject: FileSetTime doesn't work with composite parameters.
This works.
FullDay = 20000101
FileSetTime, %FullDay%, c:\test.txt
This doesn't. In lieu the file timestamp gets the actual date and time.
Y = 2000
M = 01
D = 02
FileSetTime, %Y%%M%%D%, c&# ...
  Topic: StringJoin()
Rabiator

Replies: 9
Views: 1105

PostForum: Scripts & Functions   Posted: Fri Feb 13, 2009 8:57 pm   Subject: StringJoin()
Thank you for this hint. I had it before my very eyes but didn't read it ... Embarassed .

Anyhow, we have to regard that a possible reference of Array%i% to a global variable is destroyed, if the varia ...
  Topic: StringJoin()
Rabiator

Replies: 9
Views: 1105

PostForum: Scripts & Functions   Posted: Thu Feb 12, 2009 12:04 am   Subject: StringJoin()
This function does the opposite of ; it joins strings from an AHK-array with a delimiter, stopping at the first empty array element.Var1 := "a"
Var2 := 1.234
Var3 := "b&qu ...
  Topic: GDI+ standard library 1.30 by tic
Rabiator

Replies: 347
Views: 54404

PostForum: Scripts & Functions   Posted: Fri Jan 09, 2009 3:31 pm   Subject: GDI+ standard library 1.30 by tic
The function can be shortened if we use Gdip_DrawEllipse:; The function
Gdip_DrawRoundedLine(G, x1, y1, x2, y2, LineWidth, LineColor)
{
pPen := Gdip_CreatePen(LineColor, L ...
  Topic: String-matching using trigrams - Help me improve it!
Rabiator

Replies: 11
Views: 1710

PostForum: Scripts & Functions   Posted: Tue Dec 30, 2008 2:30 am   Subject: String-matching using trigrams - Help me improve it!
A very satisfactory method is comparing allstring1 = "String matching":
"Str","tri","rin","ing","ng ","g m"," ma",& ...
 
Page 1 of 19 Goto page 1, 2, 3 ... 17, 18, 19  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group