Sign in to follow this  
Followers 0
vinyking

Problem when compiling Array to clip.au3 exmaple

6 posts in this topic

Hello I have downloaded and included the new Array.udf. 

My script runs fine in the Scite. However I have errors the following error highlighted in the Array_New.au3 window

"error: can't open include file "AutoitConstants.au3". when compiling to Exe. 

  '?do=embed' frameborder='0' data-embedContent>>

 

I tried compiling the examples and stil had the same error. 

Any help to resolve this issue is appreciated

Vinyking 

Share this post


Link to post
Share on other sites



vinyking,

As explained in the thread from which you downloaded that Beta UDF:

 

"Note: You need the Beta 3.3.11.3 to run this code - it is Beta itself after all"

Are you running the Beta 3.3.11.3 version of AutoIt? :huh:

And please remember that the code in that library is Beta - it was for testing, not for general use. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______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

 

Share this post


Link to post
Share on other sites

Hello Melba,

Much thanks

Pardon me if I sound so noobie.

I am running the Beta 3.3.11.3 version of AutoIt and the latest version of Autoit.  I read somewhere that the Beta version can spring up issues.

However i have included the Udf using the Scite Config

I would be glad if you can direct me on how to compile my script - if this is possible

Regards,

vinyking

Share this post


Link to post
Share on other sites

vinyking,

Without wishing to sound condescending, unless you know exactly what you are doing, mixing pre-release Beta UDFs with current release software (either Beta or production) is fraught with difficulty - so I am not that surprised that you are finding problems. Given the error you receive, I strongly doubt that it is v3.3.11.3 you are running (although it may well be installed) as AutoItConstants.au3 most certainly exists in that release ;)

I suggest you use the Array UDF which was installed with the release you are using in your script and forget about using the Beta Array UDF you downloaded from the thread to which you linked. I can assure you that the finished UDF (which was committed this morning) does indeed compile without problem as I have just done so to prove it to myself. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______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

 

Share this post


Link to post
Share on other sites

Melba23

You have been very kind to me

I discovered that right clicking my script and selecting compile only allows compiling in the Autoit3 version and not the AutoitBeta version (wonderful) Also because AutoitConstants.au3 is not available in the Autoit3 version (you are correct this is included in the latest Beta) the error is reported.

You did it for me by maintaining your stand. Now my script compiles successfully.

Thanks for your time. Oh one other question What do you mean by "committed this morning"

Regards

Vinyking

Share this post


Link to post
Share on other sites

vinyking,

It means that I put the new Array UDF code and documentation into the Autoit SVN repository and so it will be in the next Beta release. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______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

 

Share this post


Link to post
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
Sign in to follow this  
Followers 0