Click here to Skip to main content
15,884,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRegistry returning FILE_NOT_FOUND Pin
Richard Andrew x6420-Jan-18 13:46
professionalRichard Andrew x6420-Jan-18 13:46 
AnswerRe: Registry returning FILE_NOT_FOUND Pin
Randor 20-Jan-18 16:40
professional Randor 20-Jan-18 16:40 
GeneralRe: Registry returning FILE_NOT_FOUND Pin
Richard Andrew x6421-Jan-18 2:16
professionalRichard Andrew x6421-Jan-18 2:16 
GeneralRe: Registry returning FILE_NOT_FOUND Pin
Randor 21-Jan-18 6:26
professional Randor 21-Jan-18 6:26 
GeneralRe: Registry returning FILE_NOT_FOUND Pin
Richard Andrew x6421-Jan-18 9:32
professionalRichard Andrew x6421-Jan-18 9:32 
QuestionRe: Registry returning FILE_NOT_FOUND Pin
Richard MacCutchan20-Jan-18 21:11
mveRichard MacCutchan20-Jan-18 21:11 
AnswerRe: Registry returning FILE_NOT_FOUND Pin
Victor Nijegorodov21-Jan-18 1:07
Victor Nijegorodov21-Jan-18 1:07 
QuestionScript Writing in AutoHotKey Pin
ThatOldGuy19-Jan-18 3:11
ThatOldGuy19-Jan-18 3:11 
Good Morning Ladies and Gentlemen!

I need help with my first script ever, being created in AutoHotKey. I hope that I am posting this in the right forum, considering it seems close to C++ language. I do apologize for my ignorance. I am trying to write a script to work on a non-active windowed game, while I am spawning with another character in a separate window. This is my first script, so all the help I can get would be greatly appreciated. I am willing to pay you for a full working script to do the functions I like. The functions are as followed, I need the script to spell my character up, which includes hitting multiple F-Keys and then clicking my character to apply for most, some are automatically casted when clicked, applying to the character itself. Secondly, I need it to hold down the F4 key to spam a AOE spell also for atleast 10min. After spelling up, before casting the AOE, and or before the spellup, I need to Hit the F3 key, which is a manastone filling my mana bar for magic use. I need this to loop itself continuously and have a start and a stop to the script. Please see below what I have and let me know where I went wrong. It is not finished, just kind of a idea. Please see below, not finished, stumped currently.
#SingleInstance, force
#If WinExist, ""
setKeyDelay, 10, 10
setMouseDelay, 10

`::
Loop {
Send, F3
  Sleep, 100 ; ------------------- optional extra sleep timer
Send, F6
  Sleep, 100
Send, F8
  Sleep, 100
Send, F10
  Sleep, 100
  Click 0,0 ;These are the coords
  Sleep, 100
Send, F11 ; ----- If doesnt work use ;ControlSend {F11}
  Sleep, 100
  Click, 0,0 ; ----- If doesnt work use ;ControlClick, x# y#, ahk_class <name>, , Left, #oftimes, NA
  Sleep, 100
Send, F12
  Sleep, 100
Send, {F4 down}
  Sleep, 10000 ;ten minutes
  Send, {F4 up}
}
Return
; all loops should have some emergency pause, suspend or exit key 
Esc::
Pause

AnswerRe: Script Writing in AutoHotKey Pin
Richard MacCutchan19-Jan-18 4:00
mveRichard MacCutchan19-Jan-18 4:00 
GeneralRe: Script Writing in AutoHotKey Pin
ThatOldGuy19-Jan-18 4:12
ThatOldGuy19-Jan-18 4:12 
GeneralRe: Script Writing in AutoHotKey Pin
Rick York19-Jan-18 5:08
mveRick York19-Jan-18 5:08 
GeneralRe: Script Writing in AutoHotKey Pin
Richard MacCutchan19-Jan-18 5:29
mveRichard MacCutchan19-Jan-18 5:29 
GeneralRe: Script Writing in AutoHotKey Pin
ThatOldGuy19-Jan-18 7:12
ThatOldGuy19-Jan-18 7:12 
GeneralRe: Script Writing in AutoHotKey Pin
Richard MacCutchan19-Jan-18 8:06
mveRichard MacCutchan19-Jan-18 8:06 
GeneralRe: Script Writing in AutoHotKey Pin
ThatOldGuy19-Jan-18 8:49
ThatOldGuy19-Jan-18 8:49 
QuestionProblem with multiple bouncing balls program in C Pin
Member 1363226319-Jan-18 0:24
Member 1363226319-Jan-18 0:24 
AnswerRe: Problem with multiple bouncing balls program in C Pin
Richard MacCutchan19-Jan-18 0:36
mveRichard MacCutchan19-Jan-18 0:36 
AnswerRe: Problem with multiple bouncing balls program in C Pin
Member 1363226319-Jan-18 0:59
Member 1363226319-Jan-18 0:59 
GeneralRe: Problem with multiple bouncing balls program in C Pin
Richard MacCutchan19-Jan-18 1:05
mveRichard MacCutchan19-Jan-18 1:05 
GeneralRe: Problem with multiple bouncing balls program in C Pin
Member 1363226319-Jan-18 1:22
Member 1363226319-Jan-18 1:22 
GeneralRe: Problem with multiple bouncing balls program in C Pin
Richard MacCutchan19-Jan-18 1:23
mveRichard MacCutchan19-Jan-18 1:23 
GeneralRe: Problem with multiple bouncing balls program in C Pin
Member 1363226319-Jan-18 1:54
Member 1363226319-Jan-18 1:54 
GeneralRe: Problem with multiple bouncing balls program in C Pin
Richard MacCutchan19-Jan-18 2:51
mveRichard MacCutchan19-Jan-18 2:51 
AnswerRe: Problem with multiple bouncing balls program in C Pin
Jochen Arndt19-Jan-18 1:07
professionalJochen Arndt19-Jan-18 1:07 
GeneralRe: Problem with multiple bouncing balls program in C Pin
Member 1363226319-Jan-18 1:53
Member 1363226319-Jan-18 1:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.