Jump to content


Photo

prompting the user


  • Please log in to reply
5 replies to this topic

#1 Perduta

Perduta
  • Members
  • 7 posts

Posted 02 May 2012 - 12:09 AM

Hey, I'm new to autohotkey and I want my first script to prompt the user to click something but I don't want it to be the "OK" button of a message box.

What's a good way to give users prompts without requiring they have to keep clicking OK buttons?

Thanks in advance :)

#2 Perduta

Perduta
  • Members
  • 7 posts

Posted 02 May 2012 - 02:51 AM

Anyway I'm exploring some ideas for structuring autohotkey interactive programs.

In the attached is one to automate tedious Runescape activities like cleaning herbs, autotyping and spam clicking to high alch. What I'm really interested in is what people think of the way I do it as a monolithic state machine that is easy to add to

#3 janopn

janopn
  • Members
  • 691 posts

Posted 02 May 2012 - 01:57 PM

Hi!
Help related to games should be posted in the Gaming section.
As your request is for people who plays Runescape, i can't help you.
Please, post this in the Gaming forum, or wait for a moderator to move it.

#4 Perduta

Perduta
  • Members
  • 7 posts

Posted 03 May 2012 - 12:28 AM

Hi!
Help related to games should be posted in the Gaming section.
As your request is for people who plays Runescape, i can't help you.
Please, post this in the Gaming forum, or wait for a moderator to move it.


Oh, sorry :oops:. Although my first application is with gaming, I though the question of how to prompt the user e.g. for a mouse click would be kind of generic to many other applications. I hate reposting because it's annoying for other people to find dead threads. How do I get it moved?

#5 dmg

dmg
  • Members
  • 1743 posts

Posted 03 May 2012 - 01:21 AM

I agree that this question is general enough that it is fine where it is. :)

To answer your question, you could try a ToolTip or a TrayTip, or you can just have a MsgBox with a short timeout so you never HAVE to click OK. I suggest you look in the manual for ToolTip and TrayTip and see if one of them will work for you. :D

#6 Perduta

Perduta
  • Members
  • 7 posts

Posted 03 May 2012 - 03:59 AM

I agree that this question is general enough that it is fine where it is. :)

To answer your question, you could try a ToolTip or a TrayTip, or you can just have a MsgBox with a short timeout so you never HAVE to click OK. I suggest you look in the manual for ToolTip and TrayTip and see if one of them will work for you. :D


Thanks :)
Those ideas are both perfect for the job and I'll test them for a while to see which I like best! I'm going to make it systematic with my state machines so that user always knows exactly what is expected of him/her.