Search found 840 matches

by A_AhkUser
13 Aug 2018, 12:17
Forum: Ask For Help
Topic: How to check whether there are cyrillic symbols, typed on a field
Replies: 9
Views: 120

Re: How to check whether there are cyrillic symbols, typed on a field

yes I thing in my case I need to check fields with a different tag names. [...] That's how the webform looks[...] Yea you're right they looks like textarea elements; I would have though of that.. This does not fundamentally change the script - the same example using textarea elements instead: #NoEn...
by A_AhkUser
13 Aug 2018, 12:12
Forum: Ask For Help
Topic: Assigning the variable of InnerText to constantly changing InnerText to code
Replies: 6
Views: 125

Re: Assigning the variable of InnerText to constantly changing InnerText to code

It works in the html code you have given. but the pwb method I'm implementing (internet explorer) is not working on code. I see no reason why it should not work using the pwb method.. in the html code I have given, how can we display the formId part with MessageBox? Once you get the element, use on...
by A_AhkUser
12 Aug 2018, 16:11
Forum: Ask For Help
Topic: How to check whether there are cyrillic symbols, typed on a field
Replies: 9
Views: 120

Re: How to check whether there are cyrillic symbols, typed on a field

@ garry thank you for cyrillic codes chr(1024)-- chr(1279) Your welcome. Btw, see also: Cyrillic — Unicode® character table ( sometimes russian also only contents latin letters , example : Actana, CCCP, Capaebo, Beha .... ) Yes but it is only true from a visual standpoint (furthermore, even that sta...
by A_AhkUser
12 Aug 2018, 15:39
Forum: Ask For Help
Topic: How to check whether there are cyrillic symbols, typed on a field
Replies: 9
Views: 120

Re: How to check whether there are cyrillic symbols, typed on a field

This may help me. But how to proceed when every field in the web page has a different name? What do you mean by 'name'? . input elements' 'value' attribute values ( i.e. the visible content of the fields)? . input elements' 'name' attribute values? . tag names? The f...
by A_AhkUser
12 Aug 2018, 13:48
Forum: Ask For Help
Topic: How to check whether there are cyrillic symbols, typed on a field
Replies: 9
Views: 120

Re: How to check whether there are cyrillic symbols, typed on a field

Hi lodiko , You can use regexmatch . #NoEnv #SingleInstance force #Warn HTML = ( <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"><meta charset="utf-8" /> <title>test</title> </head> <body> <input type="text" value="мова&...
by A_AhkUser
12 Aug 2018, 04:14
Forum: Ask For Help
Topic: Assigning the variable of InnerText to constantly changing InnerText to code
Replies: 6
Views: 125

Re: Assigning the variable of InnerText to constantly changing InnerText to code

Hi chngrcn , #NoEnv #SingleInstance force #Warn HTML = ( <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"><meta charset="utf-8" /> <title>test</title> </head> <body> <label id="formId:tescilliAracIslemComponent:tescilliAracIslemAra...
by A_AhkUser
10 Aug 2018, 08:34
Forum: Ask For Help
Topic: Assigning the variable of InnerText to constantly changing InnerText to code
Replies: 6
Views: 125

Re: Assigning the variable of InnerText to constantly changing InnerText to code

Hi chngrcn , I'm not sure to fully understand what you're trying to achieve. Maybe you're trying to get a way to reliably retrieve a specific HTML element, whose id is changing. In this case, if you're lucky, you can do this using getElementByClassName : ; getElementsByClassName returns an HTMLColle...
by A_AhkUser
04 Aug 2018, 12:36
Forum: Ask For Help
Topic: How to parse this json data without external lib
Replies: 4
Views: 86

Re: How to parse this json data without external lib

got a blank box This is because your input json-formatted string is indented: data = (Join`r`n { "ip": "203.95.51.198", "city": "Shizuoka", "region": "Shizuoka", "region_code": "22", "country": "JP",...
by A_AhkUser
02 Aug 2018, 09:07
Forum: Ask For Help
Topic: GUI duplicate script optimisation
Replies: 5
Views: 74

Re: GUI duplicate script optimisation

Salut KRG-23 and welcome to the AHK community, Here's some suggestions: - You can make scripts more reliable and easier to maintain using the lastfound window , when possible. - GUI, New creates a new window and sets it as the default for the current thread, so that Gui, %Gui_Name% is redondant if y...
by A_AhkUser
01 Aug 2018, 02:49
Forum: Ask For Help
Topic: Shell.Explorer and window.open in a same session?
Replies: 9
Views: 171

Re: Shell.Explorer and window.open in a same session?

In this case, what I would do is handle the creation of a new window with a custom event handler (not sure if this may be suitable in your case): #SingleInstance force ; https://autohotkey.com/boards/viewtopic.php?f=5&t=53018 Gui, 1:New,, Shell.Explorer and window.open in a same session? Gui, 1:...
by A_AhkUser
31 Jul 2018, 23:20
Forum: Ask For Help
Topic: Shell.Explorer and window.open in a same session?
Replies: 9
Views: 171

Re: Shell.Explorer and window.open in a same session?

I am not aware of a mean that would allow modifying request headers when working with WebBrowser object I'm far from being a guru, especially when it is question of the WebBrowser, so I apologize if I am mistaken in believing that this can solve your problem or even has something to do with the pro...
by A_AhkUser
31 Jul 2018, 09:12
Forum: Ask For Help
Topic: Get PID of just started Window
Replies: 6
Views: 71

Re: Get PID of just started Window

Works fine for me - Windows 8.1 64 bit - Autohotkey v1.1.29.01 32-bit Unicode Chrome 68 (64 bits) _.png Make sure to close all your existing chrome windows (including those run in app mode) beforhand since chrome has a special way to handle process ID. EDIT] I used to use this solution to identify i...
by A_AhkUser
31 Jul 2018, 08:37
Forum: Ask For Help
Topic: Get PID of just started Window
Replies: 6
Views: 71

Re: Get PID of just started Window

Use an hWnd or the last found window instead: run % "chrome.exe --app=" . _url:="https://autohotkey.com/boards/",,, PID WinWait, ahk_pid %PID% WinSet, Style, -0xC00000 ; WinSet, Style, -0xC00000, % "ahk_id " . WinExist() ; same as above, more explicit
by A_AhkUser
31 Jul 2018, 04:12
Forum: Scripts and Functions
Topic: Quick Notes. RichEdit version.
Replies: 5
Views: 266

Re: Quick Notes. RichEdit version.

Nice script; it works well (Windows 8.1 64 bit - Autohotkey v1.1.29.01 32-bit Unicode). I like the principle of the implementation. Very minor issue; you forgot to +/-disabled the main GUI to accompany the cycle life of the fourth one: if you click on the wheelwork icon to bring out the settings win...
by A_AhkUser
31 Jul 2018, 02:05
Forum: Offtopic
Topic: Do you have any religion? | What's your religion?
Replies: 18
Views: 458

Re: Do you have any religion? | What's your religion?

That is the reason why I am an agnostic atheist, I prefer not to waste my time trying to "guess" what is currently impossible to prove @ Flipeador I entirely share your view; I might add that I prefer 'waste' my time trying to think the only thing that is forever impossible to prove and i...
by A_AhkUser
30 Jul 2018, 16:17
Forum: Scripts and Functions
Topic: [Class] eAutocomplete - Custom word completion for (Rich)Edit controls
Replies: 20
Views: 1387

Re: [Class] eAutocomplete - Custom word completion for edit controls

eAutocomplete v1.2.00 Changes: Internal: - Internal global redesign (enhancement of the OOP structure; in particular, catch-all methods has been removed). - The script starts searching for entries that match when a user starts to type in the edit control and a brief rest (225ms) occ...
by A_AhkUser
30 Jul 2018, 15:56
Forum: Offtopic
Topic: Do you have any religion? | What's your religion?
Replies: 18
Views: 458

Re: Do you have any religion? | What's your religion?

gradually... But where does it actually lead? To a later stage where everyone get rid of its symptomatic beliefs? It sounds to me like a real dystopia. It would definitely destroy all the churches and use the space for something else. Let me guess... for something more 'useful', ideally with measur...
by A_AhkUser
29 Jul 2018, 21:52
Forum: Scripts and Functions
Topic: Window Spy my alternative
Replies: 6
Views: 533

Re: Window Spy my alternative

Great script; шикарно! Works very well (ahk 1.1.29.01 32, win8.1). Thanks for sharing it.
by A_AhkUser
28 Jul 2018, 21:36
Forum: Offtopic
Topic: Return from function - True or 1?
Replies: 26
Views: 528

Re: Return from function - True or 1?

As I see it, true does not even mean the number 1 (that is as real or natural number). The couple true/false|false/true is not ordered, for example. true/false is rather intended for logical (aka boolean) operations - not for arithmetic calculations. It is a question of design: if your fonction is i...

Go to advanced search