Jump to content

Help file lacking info on _IEPropertyGet() property return ?


tonycst
 Share

Recommended Posts

Where in the help file does it say that _IEPropertyGet($oIE, "readystate") has different return values based on their state ?
I read entire _IEPropertyGet help page and found nothing on return value of ANY property.
All it says it that it returns the "selected property". What does that even mean, property "busy" would return "busy" ?
If so, how come property "readystate" returns numbers based on the state page is in ?

 

Thanks.

Link to comment
Share on other sites

What part of the following doesn't make sense to you?

Quote
"busy"   Retrieves a Boolean value indicating whether the object is engaged in a navigation or downloading operation.
 

As far as the other properties like readystate, these values are documented  elsewhere, such as --

https://msdn.microsoft.com/en-us/library/bb268229(v=vs.85).aspx

 

Edited by Danp2
typo / formatting
Link to comment
Share on other sites

Well thats allot of help i say.

"busy" Retrieves a Boolean value  is OK, but rest of them are not helping

Further information for ClientInfo Object can be found at MSDN. Thats for clientinfo. But nothing on browser properties that would suggest i need to go to some OTHER place to get more information.

I think that description of

"readystate" Retrieves the ready state of the object.

is very little. There is plenty of room to add what return value means what.

    READYSTATE_UNINITIALIZED = 0
    READYSTATE_LOADING = 1
    READYSTATE_LOADED = 2
    READYSTATE_INTERACTIVE = 3
    READYSTATE_COMPLETE = 4

I would never guess. Even worse, i would never search MSDN for anything, i would search help file instead.
Can those be added to the help file in the next release as well as other properties ?

It would be a task by its self to go googling each property from MSDN otherwise.

 

 

THanks for info. really helped me out.
With this info, i solved multiple issues i had before including the current one. I just wish that all those properties returns were listed in the help file

Link to comment
Share on other sites

I doubt many people would google property return value while coding in autoit.

The #1 they will do is to look into help file.

#2 post a question on forum.

Life would be easier of the property return values would be in the help file.

Link to comment
Share on other sites

 

15 hours ago, tonycst said:

Even worse, i would never search MSDN for anything

That is worse, that will limit you greatly.  You are using a language that only works on Microsoft Products, so a large amount of the UDFs would logically come from the Microsoft Developers Network documentation.

Go to the helpfile and search for:   _*  MSDN

The number of returns should at least move it up to a place you occasionally search.

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

I understand that lack of MSDN search will limit me.

MSDN is a microsoft website. I would never think to go Microsoft search to find answers for autoit.

Example on MSDN are in C+. I dont understand them. They are misleading.

Am sorry. I just cant understand why property return values are not in the help file. Thats all am saying.

In fact, the lack of return values in help file is exactly what has limited me in development of learning autoit.

As good as the help file is (and its awesome) it lacks return values sometimes even on basic functions. (that i do not recall right now. but i think something as simple as reading the check boxes)

 

Link to comment
Share on other sites

certainly, submit a ticket. I just hope you ran the search in the help file and saw that this was a much larger rabbit hole and all the many hundreds of those functions have  the landing page for the relevant MSDN article straight copied with a link where you can go get more.  

I learned by hitting alt-i on the include line, and reading what object was being used in the ObjCreate Line, and googling the property and that.  You generally get a lot of VBA returns that may be more legible/navigable than the MSDN site. 

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...