
Orao
Active Members-
Posts
36 -
Joined
-
Last visited
Everything posted by Orao
-
Hi i would like to create a table of buttons, each button has its name and opens a file or does one action. I need to often change the names of this buttons, or change the file locations or actions of a current button... Is it possible that on right click of each button i can get a text window popup where i change the name and action for current button(directly in windows, without going to scite and opening the full code)? THanks P.s. This is an image of what i want to do, right now if i want to change name or action on a button or delete-move button, i have to open scite and find code for each button, then change it, and it takes alot of time... (so is there a way that i can right click the button in windows, and then i get a popup with the name and code of this button only, so i can edit it and save?)
-
Read firefox text from a specified Tab?
Orao replied to Orao's topic in AutoIt General Help and Support
I tried your suggestion, but this function will Activate the Tab and bring it to the front. I want to be able to browse on other tabs, while the script executes on a Tab which i specified (the Tab is in Background). How could i do this? Thanks -
Read firefox text from a specified Tab?
Orao replied to Orao's topic in AutoIt General Help and Support
Anybody? Is it not possible to read text from a tab in background? -
I am trying to read text from Firefox with ff.au3, but i want it to read text from a specified background tab, while I am working/browsing through other tabs. RIght now, its not possible because with command _FFReadtext(), it reads just text from the currently active tab. Here is an example what i am trying to do, #include <FF.au3> _FFStart("http://www.wetter.de/","", 2) $lookfor= "Der Wettertrend vom 26.02.2014" do sleep(2000) $text = _FFReadtext() $result=BinaryToString($text, "4") Until StringInStr($result, $lookfor) > 1 MsgBox(4096, "'" & $lookfor & "' found.", "'" & $lookfor & "' found.",2) But as I said, the _FFReadtext() command will just continue reading the text from the currently opened window/tab, but I want that it keeps on reading the Tab/WIndow that i specified, no mater which Window/tab i am currently using/browsing . Thank you for your help
-
Yes, thanks i managed it with BinaryToStrung(). Is it possible tor read the text of a Firefox Tab that is currently in background. I would like to be able to work on other tabs, while the script reads text on a background tab, but if i use: _FFReadtext() This function reads text but only on the current active tab, so if i browse through the tabs it always just reads text on the tab that i currently use. Any solution? Thank you
-
I am trying to read text from firefox using the FF.au3 script. But foreign letters are not displayes correctly; letters like "ö", "ä", "č", "ć". What am i doing wrong? Here is an example of the problem: #include <FF.au3> _FFStart("www.wetter.de","", 2) $text = _FFReadtext() MsgBox(4096,"",$text) Here is the result i get: What am i doing wrong? Thank you
-
I have exactly the same problem, how did you solve it? I need to read a website from Firefox, but if the site has some foreign characters like "č", "đ", or "ö", "ü", they are not displayed correctly. My autoit script uses UTF8 wit boom encoding, and i am using the FF.au3 include, but it doesnt work. Here is an example that doesnt work: #include <FF.au3> _FFStart("www.wetter.de","", 2) $text = _FFReadtext() MsgBox(4096,"",$text) Any help how to get the foreing lagnuages characters to display corrrectly? (Characters like "č", "Ć", "ü"..etc)
-
How to get Tittle and Text of an actieve window?
Orao replied to Orao's topic in AutoIt General Help and Support
What i am trying to do is a script which will automatically get Title, Text and Mouse position of an active Window, each time when i launch it. So i don't have to copy line by line from "Autoit Window info" , and put the code manually which takes a long time. The same thing i could do with "au3recorder.exe", but as i said, "au3recorder.exe" sometimes doesn't work correctly (sometimes it just skips a certain window, and just collects the mouseclick position- without the: "_WinWaitActivate("Windows Tittle", "Window text")). -
How to get Tittle and Text of an actieve window?
Orao replied to Orao's topic in AutoIt General Help and Support
My code is following: sleep(3000) Local $title = WinGetTitle("[active]", "") Local $text = WinGetText("[active]" , "" ) Run("C:Program Files (x86)AutoIt3SciTEscite.exe") sleep(2000) send($text) When i try to write the text to Scite then it puts all the text into same line, without spaces. When i try to write the same text to a notepad editor, then it works fine : Is there a way how i can write this text to Scite, but line by line, and can i choose to write just the first line (cause otherwise its too much text)?? thanks -
How to get Tittle and Text of an actieve window?
Orao replied to Orao's topic in AutoIt General Help and Support
Thanks, but i still didnt manage: Is there a way how i can Get text from active window, but just line by line, because when i do it with WinGetText("[active]", "") Then i get all the text lines together, and there is no space between the lines: for example: Installation Continue exit are 3 lines, but when i use "WinGetText" , i sometimes get the result like this: InstallationContinueExit And i also cannot split it with "SplitString", cause there is no space between words. Thanks for help -
How can i tell the script to write down just the first 2 words of the $text (not the whole text, because sometimes its very long)?: I would like to make a script that will automatically get Tittle and Text of an active Window, the same way that the au3recorder.exe does, cause the au3Recorder.exe is sometimes not working correctly. so i have tried the following script: Local $title = WinGetTitle("[active]", "") Local $text = WinGetText("[active]", "") Run("C:\Program Files (x86)\AutoIt3\SciTE\scite.exe") sleep(2000) SEND ( $title, $text) But how can i tell the script to write down just the first 2 words of the $text (not the whole text, because sometimes its very long)?
-
Hello, I have solved the Problem now: 1. Browse folder: C:\Program Files (x86)\AutoIt3\Extras\Au3Record 2. Make a copy of Au3Record.exe and rename it to Au3Record_x64.exe. 3. Done! Should work now Well in the file C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3 there i found the following code line: If @OSArch = "X64" Then $Pid = Run("C:\Program Files (x86)\AutoIt3\Extras\Au3Recordau3record_x64.exe /o", '', @SW_SHOW, $STDOUT_CHILD + $STDERR_CHILD) Else $Pid = Run("C:\Program Files (x86)\AutoIt3\Extras\Au3Recordau3record.exe /o", '', @SW_SHOW, $STDOUT_CHILD + $STDERR_CHILD) EndIf So i guess on a 64-bit system, Scite will try to open the file "au3record_x64.exe". But there is no such file in the au3recorder folder, so you have to copy the original file and then rename it to "au3record_x64.exe"
-
I am having exactly the same problem. Win 7 64 bit, Autoit and Scite are the latest version. The au3Recorder will not start when launching it from Scite. There is no error message, just when i tr try to launch it, nothing happens. Any ideas? Thanks
-
Hello, I am trying to use the Au3 Recorder, but is there a way how i can force it to record all "window Titles" and "visible text"? Because right now it just randomly sometimes records the "Window Titles + visible text", but sometimes not, even though i have checked the check box to "Record Window Titles". For example; For the same installer, first time it recorded the script like this: EXAMPLE1 Run('inSSIDer.exe') _WinWaitActivate("inSSIDer 2.0","_7909CB20E8CC38D0963") MouseClick("left",444,389,1) MouseClick("left",447,386,1) MouseClick("left",441,386,1) MouseClick("left",437,388,1) #endregion --- Au3Recorder generated code End --- In this case the code was not working well, because in between there are new windows, and the script should wait until the new window appears. Examle2 Run('inSSIDer.exe') _WinWaitActivate("inSSIDer 2.0","_7909CB20E8CC38D0963") MouseClick("left",444,389,1) _WinWaitActivate("inSSIDer 2.0","Select Installation Folder") MouseClick("left",447,386,1) _WinWaitActivate("inSSIDer 2.0","Confirm Installation") MouseClick("left",441,386,1) _WinWaitActivate("inSSIDer 2.0","Installation Complete") MouseClick("left",437,388,1) #endregion --- Au3Recorder generated code End --- This time all the Window Titles in between and the visible text was recorded, So the script worked well. I have both times checked the check-box to record the Window titles, but still the most of the time it just doesn't record all of them. Thanks for help
-
A script to close a window with a specific title
Orao replied to Orao's topic in AutoIt General Help and Support
thanks Can i also tell the script to pause or wait until a new program/window opens, and then make(repeat) the title check? In this way i would save CPU load i guess..?, and the script would repeat only when new window opens? -
A script to close a window with a specific title
Orao replied to Orao's topic in AutoIt General Help and Support
ok. But do i need to specifie that this check process happens for each new window opened. I mean do i need to tell the script to repeat each time. And how do i do this? thanks -
Hi, I need a script that would run in background and constantly block (close) programs or windows with a specified title. so for example: - i would tell it each time a program or window is opened that contains the word ; keyfinder, crack, ...etc it should close this windows and report to Administrator. -actually i would like to make a blacklist for titles that are closed immediately thanks for your suggestions.
-
thanks
-
Is it possible to write the whole script to an .ini file, and then just compile an .exe file that will read all the script (line by line) from the .ini file? Its just because i often have to change some values and then its tie-ring if i always have to compile the script on each computer where i a make the changes. It would be much handier to have all the code in an .ini file, which i can then edit as i wish (the same way i can edit a .bat script) thank you for help
-
Thanks for the replies, seems its not possible the way i thought to do it. I will think of some other solutions then.
-
I have tried with registry, but it adds it self to registry again (each time i start the application)
-
No its Workgroup I have already tried all other solutions. So there is no option to pause start-up applications (entries) from starting?
-
The software doesnt have that option. And when i remove it from start-up with "msconfig", next time i start the software it adds the startup entry again.
-
Well i am the owner of that internet cafe, and i am trying to figure out how to make automatic updates for client computers. Because of the "hndclient.exe" starts on startup, it blocks the update. Thats why i am looking for the solution, how to disable the hndclient.exe while the update is done. Thanks
-
Hello, I created a script that updates my computers on start-up, But in order to make the update i need to disable another start-up application from starting, until the update finishes. So is it possible, to block or pause a start-up application from starting, and then allow it when the update has finished? For example: 1. my script starts 2. My scrips blocks the start-up entry "hndclient.exe" from starting 3. When the update finishes, my script allows the startup entry to execute "hndclient.exe" P.s. Once the "hndclient.exe" is started i am not able to close it with "processclose" (it is protected) Also if i remove the "hndclient.exe" from startup entries it ads it self again automatically. Thats why i need a solution like described above. Thanks for suggestions Thank you