| Author |
Message |
Topic: How to make a "composite" variable? |
tekkie2412
Replies: 16
Views: 452
|
Forum: Ask for Help Posted: Thu Jan 14, 2010 10:20 pm Subject: How to make a "composite" variable? |
Thanks for your response but it still doesnt work and Im not quite sure why.
All I get is a msgbox saying "Sim1 - Imei1" , "Sim2 - Imei2", etc. |
Topic: How to make a "composite" variable? |
tekkie2412
Replies: 16
Views: 452
|
Forum: Ask for Help Posted: Thu Jan 14, 2010 4:34 pm Subject: How to make a "composite" variable? |
| Can anybody tell me why this doesnt work? Ive tried so many different combinations I have no idea. Also tried going from "clipboard" to a temporary variable, then into the array. If I add an ... |
Topic: Send repeated keys to a fullscreen game |
tekkie2412
Replies: 5
Views: 245
|
Forum: Ask for Help Posted: Sun Oct 25, 2009 7:50 am Subject: Send repeated keys to a fullscreen game |
Put whats written in the window bar. Try enclosing the If in brackets also, not sure if it will make a difference in this case.
Loop,
{
SetTitleMatchMode, 2
IfWinActive, GameTitle ;Rep ... |
Topic: Send repeated keys to a fullscreen game |
tekkie2412
Replies: 5
Views: 245
|
Forum: Ask for Help Posted: Sun Oct 25, 2009 4:23 am Subject: Send repeated keys to a fullscreen game |
Loop,
{
SetTitleMatchMode, 2
IfWinActive, GameTitle ;Replace GameTitle with the title name of the game
Send, 3
Sleep, 200
Send, 2
Sleep, 200
}
|
Topic: how do i append a string |
tekkie2412
Replies: 9
Views: 203
|
Forum: Ask for Help Posted: Sat Oct 24, 2009 6:15 am Subject: how do i append a string |
Im not real familiar with RegExReplace, but I think you have some syntax issues.
NewStr := RegExReplace(Haystack, NeedleRegEx
I think its trying to find "C:\blahblahblah\Q\file\E" i ... |
Topic: Two Actions, One Key Press |
tekkie2412
Replies: 3
Views: 162
|
Forum: Ask for Help Posted: Sat Oct 24, 2009 5:31 am Subject: Two Actions, One Key Press |
$F11::
Send, {F11}{ESC}
|
Topic: how do i append a string |
tekkie2412
Replies: 9
Views: 203
|
Forum: Ask for Help Posted: Sat Oct 24, 2009 5:30 am Subject: how do i append a string |
Im not sure what youre asking. You might be asking how to join 2 strings?
var1 = abc
var2 = def
var3 = %var1%%var2%
MsgBox, %var3% ;will output abcdef
You can also add to a string just by ... |
Topic: Script to Minimise All but Active Window |
tekkie2412
Replies: 6
Views: 409
|
Forum: Ask for Help Posted: Sat Oct 24, 2009 5:14 am Subject: Script to Minimise All but Active Window |
Perhaps a little backwards, but works, and is quick
F1::
WinGetActiveTitle, current
WinMinimizeAll
WinActivate, %current%
F1 to activate |
Topic: minimize maximize windows |
tekkie2412
Replies: 33
Views: 1397
|
Forum: Ask for Help Posted: Sat Oct 24, 2009 5:00 am Subject: minimize maximize windows |
F1::
FileReadLine, var1, C:\Switch.txt, 1
FileReadLine, var2, C:\Switch.txt, 2
SetTitleMatchMode, 2
IfWinActive, %var1%
{
WinMinimize, %var1%
Sleep, 100
W ... |
Topic: minimize maximize windows |
tekkie2412
Replies: 33
Views: 1397
|
Forum: Ask for Help Posted: Sat Oct 24, 2009 4:32 am Subject: minimize maximize windows |
inputbox, var1, What is the name of the first window?
inputbox, var2, What is the name of the second window?
F1::
SetTitleMatchMode, 2
IfWinActive, %var1%
{
WinMinimize, ... |
Topic: Replacing Numpad , with . |
tekkie2412
Replies: 20
Views: 634
|
Forum: Ask for Help Posted: Sat Oct 24, 2009 2:44 am Subject: Replacing Numpad , with . |
In this case, your substitution solved the problem, but try this:
$0::
SetTitleMatchMode 2
IfWinNotActive, OpenOffice.org
{
send, .
}
Else
{
send, 0
}
return
This is the code I need, ... |
Topic: Replacing Numpad , with . |
tekkie2412
Replies: 20
Views: 634
|
Forum: Ask for Help Posted: Sat Oct 24, 2009 2:28 am Subject: Replacing Numpad , with . |
NumPadDot::
SetTitleMatchMode 2
IfWinNotActive, OpenOffice.org
{
send, .
}
Else
{
send, 0 ;substituted this since I dont have this particular problem
}
re ... |
Topic: Replacing Numpad , with . |
tekkie2412
Replies: 20
Views: 634
|
Forum: Ask for Help Posted: Sat Oct 24, 2009 2:18 am Subject: Replacing Numpad , with . |
send, NumpadDot
Should be "Send, {NumPadDot}"
Maybe that will work for ya. You dont have any loops in there either so dont worry about the infinite loop |
Topic: Replacing Numpad , with . |
tekkie2412
Replies: 20
Views: 634
|
Forum: Ask for Help Posted: Sat Oct 24, 2009 2:09 am Subject: Replacing Numpad , with . |
| Weird, that should have fixed it, unless something was set to always on top. Mind posting the code? I'll open calc and test it |
Topic: Replacing Numpad , with . |
tekkie2412
Replies: 20
Views: 634
|
Forum: Ask for Help Posted: Sat Oct 24, 2009 1:54 am Subject: Replacing Numpad , with . |
You can use the exact title, or you can use SetTitleMatchMode to tell your script, hey, this is close enough.
SetTitleMatchMode, 2
IfWinNotActive, OpenOffice
{
.....
}
This wi ... |
| |