Jump to content

Report Help File Issues Here


Bert
 Share

Recommended Posts

I would think anything requiring user interaction (at least) would be a blocking function, ie MsgBox(), InputBox(), I think there's a color picker dialog in there somewhere. Anything that has it's own internal message loop perhaps?

Edited by wraithdu
Link to comment
Share on other sites

  • Replies 218
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

"FileFindFirstFile

...

You can use only one wildcard in the filename part or in the extension part i.e. a*.b?.

?? seems equivalent to * (not described in Microsoft documentation)."

I'm using XP-SP3 and things are better than they used to be, recently I've been using

No-*~*~????????_????????????????.uhh

which finds the right files, and not others that have extra chars after the 2nd ~. If I remove any of the ? It doesn't find anything.

"Directory name are return according to the wildcards if any."

- what does that mean?

- name/names?

- return is a handle, it doesn't return names?

- should it be in help for FindNextFile? and is saying that as well as files it returns any directory names that meet the spec?

Richard.

Link to comment
Share on other sites

@MSEC: Note about 'it not being accurate(resolution) down to the millisecond' ?

-

-

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

@MSEC: Note about 'it not being accurate(resolution) down to the millisecond' ?

-

-

To determine the system minimum and maximum resolution use timeGetDevCaps(). To change the resolution use timeBeginPeriod(). The system uses the smallest requested (and supported) time from any application. It's theoretically possible your system isn't using the minimum supported time. Mine does and my minimum is 1 millisecond. Jon and I have already had a brief discussion about ensuring AutoIt uses the minimum supported time for reasons of or own.

I guess I can add a brief note along the lines "The update frequency of this value depends on the timer resolution of the hardware and may not update every millisecond."

Link to comment
Share on other sites

  • 2 weeks later...

The entry for GuiSetState lacks some of the macros listed for _WinAPI_ShowWindow

@SW_SHOWDEFAULT - Sets the show state based on the SW_ flag specified in the STARTUPINFO structure

@SW_SHOWMAXIMIZED - Activates the window and displays it as a maximized window

@SW_SHOWMINIMIZED - Activates the window and displays it as a minimized window

@SW_SHOWMINNOACTIVE - Displays the window as a minimized window

@SW_SHOWNA - Displays the window in its current state

@SW_SHOWNOACTIVATE - Displays a window in its most recent size and position

@SW_SHOWNORMAL - Activates and displays a window

Edited by rover

I see fascists...

Link to comment
Share on other sites

  • Moderators

Hi,

Following on from Trac #1707, the UDF code has been changed in the Beta, but not the associated change to the Help file. _SoundPlay should have the following as a Remark:

In Vista and above, "\Windows\Media\..." files containing spaces must be opened with _SoundOpen before using this command with the returned Sound ID array.
;

The Trac ticket explains why this is the case. :graduated:

M23

Edit: Needed to fix tags...yet again.

Edited by Melba23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Example for (Experimental) keyword Static errors out.

Static.au3 (37) : ==> Cannot make existing variables static.:

Static $Values[$State + 1]

Static ^ ERROR

->17:53:37 AutoIT3.exe ended.rc:1

I know it says dont report bugs, and I'm not, Static works for my tests, just the helpfile example does not.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

Example is fine ... problem is ... missing 'knows issues' in Static doc.

(if there is no active development on it at the moment, dropping known issues in manual seems logical to me.)

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

0) Static help is wrongly suggesting Static instead of Redim should be used for resizing Static arrays.

"If you want to resize an array, always use Static to do so, not Redim."

Edited by iEvKI3gv9Wrkd41u

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

It is not wrongly suggesting that. That was David's initial intent but I do not like that approach as I find it counter-intuitive. Since David isn't here to fix the code and it will likely fall to me I'm exercising my prerogative as the person doing the work to change it to suit how I feel it best should work.

Either way it should be resolved at some point.

Link to comment
Share on other sites

Its not? ... that's odd ...

Anyway. Until that point is revisited by someone. Updating Doc with the current Static behavior/limitations seems not a bad thing.

Edited by iEvKI3gv9Wrkd41u

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

Documentation for GUISetOnEvent/GUICtrlSetOnEvent/AdlibRegister should make mention of the fact that the function registered can't have any parameters. For example the called function Func _SomeFunction($Test) causes an error if you use the variable $Test in the function saying the variable $Test is an undeclared variable.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

I don't think you understand what that big warning is actually saying.

I think I do. That don't mean that I(user) read it the way you(dev) like me to.

As User I think the manual. If it already contains information about a given feature(experimental or not). And there has not been any active development/changes on that given feature for some time. There is no reason for the documentation/manual not to be updated with known(undocumented) behaviors and limitations.

(I fail to see why Dev's though's about how a feature 'should' work are relevant in this 'documentation' matter. ... other than that Users opinions/views are irrelevant to some Dev's of course.)

That's it from me on this case.

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

Documentation for GUISetOnEvent/GUICtrlSetOnEvent/AdlibRegister should make mention of the fact that the function registered can't have any parameters. For example the called function Func _SomeFunction($Test) causes an error if you use the variable $Test in the function saying the variable $Test is an undeclared variable.

That in many cases that's useful in that you can have a 'default' value for $test y using IsDeclared. You are right that it should be mentioned but your wording is wrong. 'Parameter in the function won't be declared' is probably a better way of putting it.

Whether it's good programming to be doing that, and whether that was the intention is another story altogether.

Link to comment
Share on other sites

The problem is, you can't declare it inside the function either because that causes an error saying it's already been declared or something along those lines.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

I'll have to remember that one.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

I think I do. That don't mean that I(user) read it the way you(dev) like me to.

As User I think the manual. If it already contains information about a given feature(experimental or not). And there has not been any active development/changes on that given feature for some time. There is no reason for the documentation/manual not to be updated with known(undocumented) behaviors and limitations.

(I fail to see why Dev's though's about how a feature 'should' work are relevant in this 'documentation' matter. ... other than that Users opinions/views are irrelevant to some Dev's of course.)

That's it from me on this case.

So you want me to stop what I'm doing and update documentation for a feature clearly labeled "experimental" so that the documentation matches the feature's behavior even though the feature is not finalized and furthermore the feature will see changes to the behavior? Please don't look at the ObjCreateInterface() documentation, then, because you just might have an aneurism at how incomplete and virtually useless it is at the moment.

On second thought please go look so maybe I won't have to deal with your retardo-logic anymore.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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