Jump to content

Palmendieb

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Palmendieb

  1. Hi there, thanks i did. But that doesnt help me. I read through the commands but there doesnt seem to be one that would help me. Most of them execute stuff. But i need something to read out the adressbar and automatically execute a function as simple as possible. I even thought about improvising since i only know the basic commands like mouseclick (), send () etc. Basically copy pasting the adressbar and searching in an open notepad file for that adress for the appropiate hotkeys i need to press. But i thought maybe there is a way the script does that for me, pressing his own hotkeys so it executes its own functions. I´m really lost here I also used the au3 recorder and everytime i use it to record my mouseclicks it would create a command _WinWaitActivate "www.etc.com/etc/etc". So i thought autoit is actually able to know what page is active so it shouldn´t be hard to have him execute a simple script based on that or ? But the command doesnt work and i dont if it works that way anyways. Maybe someone is willing to help me out ?
  2. Hi im new to Autoit and i working on a project. I created something really simple where i put macros containing mouseclicks and keyboard presses to specific hotkeys while im working on webpages in firefox. Something like this : HotKeySet("{0}","g") Func q() MouseClick("left",126,29,1,2) MouseClick("left",28,314,1,2) Send("{PGDN}{PGDN}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}") MouseClick("left",208,294,1,4) MouseClick("left",205,399,1,2) EndFunc But i always wondered if there is a way to automate that in a way. For example if a specific website opens up (http://www.autoitscript.com/forum) then it should execute the above, and so on with other websites. (Note i dont mean in a malicious way, i just wanted to keep it abstract) So if website 1 turns up execute script a, website 2 execute script b etc. Is this Possible ? I use SciTE Version 3.4.1 with au3recorder. I looked at the Help file mentioned but i dont actually know what to look for :/
×
×
  • Create New...