AutoHotkey Community

It is currently May 24th, 2012, 1:15 pm

All times are UTC [ DST ]


Search found 343 matches
Search these results:

Author Message

 Forum: Support   Topic: Can some smart person help me with is plz!!!

Posted: July 20th, 2010, 2:08 pm 

Replies: 54
Views: 1947


TYVM, Gast. I appreciate your answers, I have some collected some experience with RoM in the meantime. I have discovered that RoM has got Lua scripting build-in, an ingame Macro-System, as well as a very good Addon-Collection, so all further attempts to control RoM should be done using Lua, IMHO. I ...

 Forum: Support   Topic: does anyone know why this code only executes the first time

Posted: June 17th, 2010, 1:29 pm 

Replies: 17
Views: 760


Have a look at this thread: http://www.autohotkey.com/forum/viewtop ... highlight=

 Forum: Support   Topic: Variable for folder above the script folder

Posted: June 17th, 2010, 1:10 pm 

Replies: 14
Views: 507


@ TLM: quad erat demonstrandum.

@ jsm:
Quote:
still testing will let you know in a day or so

still waiting

 Forum: Support   Topic: Combining Macros

Posted: June 12th, 2010, 3:22 am 

Replies: 7
Views: 520


SetTimer, SendClicks, 40 SetTimer, SendLetterA, 1000 Sleep, 500 SetTimer, SendLetterR, 1000 #IfWinActive, ahk_class SFMainWindow *1:: Flag := Not Flag ; start/stop only from within the game SendClicks: ; auto stop when game is not active If WinActive("ahk_class SFMainWindow") &...

 Forum: Support   Topic: GUI help

Posted: June 11th, 2010, 5:57 pm 

Replies: 4
Views: 287


Gui, Add, Edit, w150 vInput Gui, Add, Button, wp, OK Gui, Show Return GuiClose: ExitApp ButtonOK: gui, submit MsgBox, 33, Are you sure?, You chose:`n`n%Input% IfMsgBox, Cancel Gui, Show Else Gosub, MainCode Return MainCode: MsgBox, MainCode ExitApp Return Too late :cry:

 Forum: Support   Topic: GUI help

 Post subject: Re: GUI help
Posted: June 11th, 2010, 5:44 pm 

Replies: 4
Views: 287


Answering your second question only for now. Esc::ExitApp Will this always quit the script when you press ESC no matter what? No, there is one point to check: the currently active IfWinActive directive (if that is the right word for what I mean) If not what will? This will: #IfWinActive ; no matter ...

 Forum: Support   Topic: How to create file in use code?

Posted: June 11th, 2010, 5:34 pm 

Replies: 15
Views: 1014


OnExit will be called when exiting from the system tray. No problem with that. I have not used OnExit properly, when I had problems with it.

 Forum: Support   Topic: How to create file in use code?

Posted: June 11th, 2010, 5:18 pm 

Replies: 15
Views: 1014


Brainstorming it is then: I was thinking of writing the user's name to a TempFile: TempFile := A_ScriptDir "\DataBaseInUse.txt" FileAppend, %A_UserName%, %TempFile% ; write user name to temporary file and updating the TimeStamp every minute. On the other end the "applicant" would...

 Forum: Support   Topic: How to create file in use code?

Posted: June 11th, 2010, 4:48 pm 

Replies: 15
Views: 1014


I understand your responibility to make this "idiotproof".
I am drawn between offering further options and pulling out of this topic, I am afraid to cause harm.

 Forum: Support   Topic: How to create file in use code?

Posted: June 11th, 2010, 4:23 pm 

Replies: 15
Views: 1014


scriptstartup: SplashTextOn, 250, 50, DataBase, DataBase currently in use`nPlease wait ... While FileExist("InUse.tmp") Sleep, 1000 ; check every second SplashTextOff FileAppend,, InUse.tmp ; create temporary file ; main code here FileDelete, InUse.tmp ; delete temporary file Retu...

 Forum: Support   Topic: Combining Macros

Posted: June 11th, 2010, 3:32 pm 

Replies: 7
Views: 520


Hi, ZeuZ! before I turn to your newest question, may I follow up a few things, please? I would have left them, since you got a working script, with no faults in it. (A) Am I right in noticing that the only difference between my suggested code and your "fiddled" version is the replacement o...

 Forum: Support   Topic: Hide Password Field?

Posted: June 10th, 2010, 6:41 pm 

Replies: 5
Views: 857


Code:
gui, add, edit, vPassword w180 Password
gui, show
Return

remove the last comma, Tested

 Forum: Support   Topic: Variable for folder above the script folder

Posted: June 10th, 2010, 6:24 pm 

Replies: 14
Views: 507


Thanks for your reply, TLM. File := "C:\Program Files\Cheese\Ricotta\Script.ahk" FileMove, %File%, %File%\..\.. This is also using what is already in AHK. My first (verbose) example was to demonstrate how that works. My (admittedly unnecessary) first user defined function was to help OP in...

 Forum: Support   Topic: Variable for folder above the script folder

Posted: June 10th, 2010, 12:36 pm 

Replies: 14
Views: 507


wolf_II wrote:
use Windows functions

Give simplicity a chance
Code:
FileMove, %File%, %File%\..\..

:wink:


@TLM: No, really, why would you want to re-invent the wheel in this case? I am not questioning your personal taste. But could you be kind enough and enlighten me, please?

 Forum: Support   Topic: Force an expression .. IfGreater/etc

Posted: June 9th, 2010, 2:30 pm 

Replies: 7
Views: 310


guest86 is right. Also parameter #2 (value) of IfGreater/... can be forced as an expression. So:

Quote:
Do the commands IfEqual/IfNotEqual/IfLess/IfLessOrEqual/IfGreater/IfGreaterOrEqual not support being forced as expressions?
Only parameter #1 of those commands can't be forced, but parameter #2 can.
Sort by:  
Page 1 of 23 [ Search found 343 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group