Jump to content

Problem when compiling Array to clip.au3 exmaple


 Share

Recommended Posts

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 

Link to comment
Share on other sites

  • Moderators

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

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

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

Link to comment
Share on other sites

  • Moderators

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

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

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

Link to comment
Share on other sites

  • Moderators

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

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

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...