sorry this might be a duplicate post, couldn't see if the other one was successful kept loading on me.
I was basically asking if it's possible to create an Ahk script for 1 mousebutton or keyboard key to on its own do the following ;
Right click and then Scroll down on the right click options that will appear to select a line of text out of a list for example ''take flag'' And then left click it to perform the action
This is for a game i'm just wondering if its possible because the option ''take flag'' could be lower on the list of options depending on game situation. this would mean the key would
have to recognize the text and react quick to move down to highlight it and then be able to left click it.
Is this possible?
Im new but is this possible
Re: Im new but is this possible
Also if it is, could someone be kind enough to help me by giving me the script for that? i can simply change the Text you put in and make it the correct ''take flag'' text i need. thanks
Re: Im new but is this possible
jeah, but i need a Picture of "Take flag" and i can make you this Script.epixxl wrote:sorry this might be a duplicate post, couldn't see if the other one was successful kept loading on me.
I was basically asking if it's possible to create an Ahk script for 1 mousebutton or keyboard key to on its own do the following ;
Right click and then Scroll down on the right click options that will appear to select a line of text out of a list for example ''take flag'' And then left click it to perform the action
This is for a game i'm just wondering if its possible because the option ''take flag'' could be lower on the list of options depending on game situation. this would mean the key would
have to recognize the text and react quick to move down to highlight it and then be able to left click it.
Is this possible?
Do you want it start the Script with Key or the Script start automatic = ?
Re: Im new but is this possible
Nah, he is new and know nothing about Ahk becuase this he asks is it Possible.epixxl wrote:Also if it is, could someone be kind enough to help me by giving me the script for that? i can simply change the Text you put in and make it the correct ''take flag'' text i need. thanks
Re: Im new but is this possible
Hey man i will get u a gyazo if thats any good? to show you what i mean? Its on a mmorpg i play, i would appreciate ur help loads i'll update with a gyazo of what i mean in a minuteReloaded wrote:jeah, but i need a Picture of "Take flag" and i can make you this Script.epixxl wrote:sorry this might be a duplicate post, couldn't see if the other one was successful kept loading on me.
I was basically asking if it's possible to create an Ahk script for 1 mousebutton or keyboard key to on its own do the following ;
Right click and then Scroll down on the right click options that will appear to select a line of text out of a list for example ''take flag'' And then left click it to perform the action
This is for a game i'm just wondering if its possible because the option ''take flag'' could be lower on the list of options depending on game situation. this would mean the key would
have to recognize the text and react quick to move down to highlight it and then be able to left click it.
Is this possible?
Do you want it start the Script with Key or the Script start automatic = ?
Edit: https://gyazo.com/42b7f2ccdc1ad79e286c147e0f8ce49f
How the option can change if a barricade is there other players will also lower the option
https://thumb.gyazo.com/thumb/1200/_e0a ... f9-png.jpg
Re: Im new but is this possible
So as u can see the option can change and it would be important for the Ahk to be able to instantly detect where the option is. There's Two flags Zamorak and saradomin in the gyazo i only used one But i assume you can edit the text to either one as needed, I think if i had the script i could dedicate 1 to 1 key and the other to another key .
Re: Im new but is this possible
Anyone able to help
Re: Im new but is this possible
Which you need of theepixxl wrote:Anyone able to help
* Attack Taja hehe
*Take Zamorak Standrart
*Walk here Taja hehe
*Follow Taja hehe
*Trade with Taja hehe
*Take -from Taja hehe
*report taja hehe
*loopup taja hehe
*examine Zamorak Standart
*Cancel
Just said the Word you like its click on it.
Do you want the Script start Automatic if you see "this" what you need
Or you see "this" what you need you press a button and its make what you want ?
Re: Im new but is this possible
hey dude.Reloaded wrote:Which you need of theepixxl wrote:Anyone able to help
* Attack Taja hehe
*Take Zamorak Standrart
*Walk here Taja hehe
*Follow Taja hehe
*Trade with Taja hehe
*Take -from Taja hehe
*report taja hehe
*loopup taja hehe
*examine Zamorak Standart
*Cancel
Just said the Word you like its click on it.
Do you want the Script start Automatic if you see "this" what you need
Or you see "this" what you need you press a button and its make what you want ?
I need a mouse button or keyboard key to do the whole thing of what i'll list below
I need the "take" option to be clicked
I have no idea how to write a script though so i was wondering if you'd be so kind to help by doing it for me?
Just to clarrify i need the script (applied to one key) to;
1. Right click
2. Move down the list of options to "take Zamorak flag" or "take saradomin flag"
3. left click to perform the action once the mouse is on the "take" option.
(sometimes the take flag option will be in a difference place this is why it has to recognize the text)
thanks so much if u can help me by doing this
Re: Im new but is this possible
Hey, i did the Script so, if you press "F" the Script start and it automatic
+ Make a Rightclick at MousePosition
+ Than the Script serch the "Take Zamorak Standart"
+ And click on it
+ Make a Rightclick at MousePosition
+ Than the Script serch the "Take Zamorak Standart"
+ And click on it
Code: Select all
Coordmode, mouse, Screen
SetBatchLines -1
#MaxThreadsPerHotKey 2
F:: ;You can change the Key with you the Script start with all.
If toggle := !Toggle
Loop
{
If toggle
{
Click, %YPos% %XPos% ;Its make right click at your Current mouse Position
;And now its search your Image
ImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name ;Make here your Image Name
If ErrorLevel=0
{
MouseMove, xp, yp, 0
send {LButton}
}
Return
}
else
break
}
return
Re: Im new but is this possible
hey dude, i've tried this and it runs..Reloaded wrote:Hey, i did the Script so, if you press "F" the Script start and it automatic
+ Make a Rightclick at MousePosition
+ Than the Script serch the "Take Zamorak Standart"
+ And click on it
Code: Select all
Coordmode, mouse, Screen SetBatchLines -1 #MaxThreadsPerHotKey 2 F:: ;You can change the Key with you the Script start with all. If toggle := !Toggle Loop { If toggle { Click, %YPos% %XPos% ;Its make right click at your Current mouse Position ;And now its search your Image ImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name ;Make here your Image Name If ErrorLevel=0 { MouseMove, xp, yp, 0 send {LButton} } Return } else break } return
When i go into game and try it, it only left clicks and doesnt right click. Is there any things i need to do in the script to change it to work?
i see some stuff you've written as information for me but im pretty clueless at this sort of thing.
Can you explain to me what i need to do? as it is now all it's doing is a normal left click
Re: Im new but is this possible
hm i dont know what im missing..
Re: Im new but is this possible
Sure,
At this Part of the Script
and Called the downloaded Picture RuneScape Pic.png and than you remove "Image Name" to RuneScape Pic.png and Save it.
Than you need to Run the Script with Admin Rights and Run RuneScape not in Fullscreen (Because Ahk did´t work in Fullscreen)
Sry for last time i forgot to Include the Picutre xD
At this Part of the Script
You download the Picture http://tinypic.com/view.php?pic=33jhca9 ... ejmUmi0OUkImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name
If ErrorLevel=0
{
MouseMove, xp, yp, 0
send {LButton}
and Called the downloaded Picture RuneScape Pic.png and than you remove "Image Name" to RuneScape Pic.png and Save it.
Than you need to Run the Script with Admin Rights and Run RuneScape not in Fullscreen (Because Ahk did´t work in Fullscreen)
Sry for last time i forgot to Include the Picutre xD
Re: Im new but is this possible
hahaha No probs man. have done this and tried it, this makes a lot more sense but for some reason it still doesnt right click. It only left clicks so it's not doing it.. I think its just the game or something? this should work now right? Just it doesn't even attempt to right click.. weird..Reloaded wrote:Sure,
At this Part of the ScriptYou download the Picture http://tinypic.com/view.php?pic=33jhca9 ... ejmUmi0OUkImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name
If ErrorLevel=0
{
MouseMove, xp, yp, 0
send {LButton}
and Called the downloaded Picture RuneScape Pic.png and than you remove "Image Name" to RuneScape Pic.png and Save it.
Than you need to Run the Script with Admin Rights and Run RuneScape not in Fullscreen (Because Ahk did´t work in Fullscreen)
Sry for last time i forgot to Include the Picutre xD
thanks so much for ur help i dont wanna keep pestering u its probably the game
Re: Im new but is this possible
Omg, sry its a big Mistake, i forgot to make a Right click xD Now its work.epixxl wrote:hahaha No probs man. have done this and tried it, this makes a lot more sense but for some reason it still doesnt right click. It only left clicks so it's not doing it.. I think its just the game or something? this should work now right? Just it doesn't even attempt to right click.. weird..Reloaded wrote:Sure,
At this Part of the ScriptYou download the Picture http://tinypic.com/view.php?pic=33jhca9 ... ejmUmi0OUkImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name
If ErrorLevel=0
{
MouseMove, xp, yp, 0
send {LButton}
and Called the downloaded Picture RuneScape Pic.png and than you remove "Image Name" to RuneScape Pic.png and Save it.
Than you need to Run the Script with Admin Rights and Run RuneScape not in Fullscreen (Because Ahk did´t work in Fullscreen)
Sry for last time i forgot to Include the Picutre xD
thanks so much for ur help i dont wanna keep pestering u its probably the game
Code: Select all
Coordmode, mouse, Screen
SetBatchLines -1
#MaxThreadsPerHotKey 2
F:: ;You can change the Key with you the Script start with all.
If toggle := !Toggle
Loop
{
If toggle
{
Send, {RButton} ;Its make right click at your Current mouse Position
;And now its search your Image
ImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name ;Make here your Image Name
If ErrorLevel=0
{
MouseMove, xp, yp, 0
send {LButton}
}
Return
}
else
break
}
return
Re: Im new but is this possible
hey reloaded! I've made a video for you because it's still playing up, its right clicking but not performing anything elseReloaded wrote:Omg, sry its a big Mistake, i forgot to make a Right click xD Now its work.epixxl wrote:hahaha No probs man. have done this and tried it, this makes a lot more sense but for some reason it still doesnt right click. It only left clicks so it's not doing it.. I think its just the game or something? this should work now right? Just it doesn't even attempt to right click.. weird..Reloaded wrote:Sure,
At this Part of the ScriptYou download the Picture http://tinypic.com/view.php?pic=33jhca9 ... ejmUmi0OUkImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name
If ErrorLevel=0
{
MouseMove, xp, yp, 0
send {LButton}
and Called the downloaded Picture RuneScape Pic.png and than you remove "Image Name" to RuneScape Pic.png and Save it.
Than you need to Run the Script with Admin Rights and Run RuneScape not in Fullscreen (Because Ahk did´t work in Fullscreen)
Sry for last time i forgot to Include the Picutre xD
thanks so much for ur help i dont wanna keep pestering u its probably the game
Code: Select all
Coordmode, mouse, Screen SetBatchLines -1 #MaxThreadsPerHotKey 2 F:: ;You can change the Key with you the Script start with all. If toggle := !Toggle Loop { If toggle { Send, {RButton} ;Its make right click at your Current mouse Position ;And now its search your Image ImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name ;Make here your Image Name If ErrorLevel=0 { MouseMove, xp, yp, 0 send {LButton} } Return } else break } return
Mind checking it out for me? its 2 mins long maybe you can spot a mistake or understand better. ty I've pmed you the video in private messages
Re: Im new but is this possible
epixxl wrote:hey reloaded! I've made a video for you because it's still playing up, its right clicking but not performing anything elseReloaded wrote:Omg, sry its a big Mistake, i forgot to make a Right click xD Now its work.epixxl wrote:hahaha No probs man. have done this and tried it, this makes a lot more sense but for some reason it still doesnt right click. It only left clicks so it's not doing it.. I think its just the game or something? this should work now right? Just it doesn't even attempt to right click.. weird..Reloaded wrote:Sure,
At this Part of the ScriptYou download the Picture http://tinypic.com/view.php?pic=33jhca9 ... ejmUmi0OUkImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name
If ErrorLevel=0
{
MouseMove, xp, yp, 0
send {LButton}
and Called the downloaded Picture RuneScape Pic.png and than you remove "Image Name" to RuneScape Pic.png and Save it.
Than you need to Run the Script with Admin Rights and Run RuneScape not in Fullscreen (Because Ahk did´t work in Fullscreen)
Sry for last time i forgot to Include the Picutre xD
thanks so much for ur help i dont wanna keep pestering u its probably the game
Code: Select all
Coordmode, mouse, Screen SetBatchLines -1 #MaxThreadsPerHotKey 2 F:: ;You can change the Key with you the Script start with all. If toggle := !Toggle Loop { If toggle { Send, {RButton} ;Its make right click at your Current mouse Position ;And now its search your Image ImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name ;Make here your Image Name If ErrorLevel=0 { MouseMove, xp, yp, 0 send {LButton} } Return } else break } return
Mind checking it out for me? its 2 mins long maybe you can spot a mistake or understand better. ty I've pmed you the video in private messages
Do you have Discord ? https://discordapp.com/channels/3626407 ... 9023184900
Re: Im new but is this possible
yeah i have discord, i can screenshare you if u want and just show u with better quality same stuff that was in the vidReloaded wrote:epixxl wrote:hey reloaded! I've made a video for you because it's still playing up, its right clicking but not performing anything elseReloaded wrote:Omg, sry its a big Mistake, i forgot to make a Right click xD Now its work.epixxl wrote:hahaha No probs man. have done this and tried it, this makes a lot more sense but for some reason it still doesnt right click. It only left clicks so it's not doing it.. I think its just the game or something? this should work now right? Just it doesn't even attempt to right click.. weird..Reloaded wrote:Sure,
At this Part of the ScriptYou download the Picture http://tinypic.com/view.php?pic=33jhca9 ... ejmUmi0OUkImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name
If ErrorLevel=0
{
MouseMove, xp, yp, 0
send {LButton}
and Called the downloaded Picture RuneScape Pic.png and than you remove "Image Name" to RuneScape Pic.png and Save it.
Than you need to Run the Script with Admin Rights and Run RuneScape not in Fullscreen (Because Ahk did´t work in Fullscreen)
Sry for last time i forgot to Include the Picutre xD
thanks so much for ur help i dont wanna keep pestering u its probably the game
Code: Select all
Coordmode, mouse, Screen SetBatchLines -1 #MaxThreadsPerHotKey 2 F:: ;You can change the Key with you the Script start with all. If toggle := !Toggle Loop { If toggle { Send, {RButton} ;Its make right click at your Current mouse Position ;And now its search your Image ImageSearch, xp, yp, 0, 0, 793, 726, *50 Image Name ;Make here your Image Name If ErrorLevel=0 { MouseMove, xp, yp, 0 send {LButton} } Return } else break } return
Mind checking it out for me? its 2 mins long maybe you can spot a mistake or understand better. ty I've pmed you the video in private messages
Do you have Discord ? https://discordapp.com/channels/3626407 ... 9023184900
Re: Im new but is this possible
noooo....i was following this thread! What is discord? If I install it can I follow the progress?
Re: Im new but is this possible
Lol he hasnt replied yet I think it's probably not possible, im just curious to know if other ppl that play this game use something like this.. if it is possible through ahk it would explain why some things ive seen are possible because ppl use this lol
Who is online
Users browsing this forum: No registered users and 59 guests