kartune Posted January 10, 2017 Share Posted January 10, 2017 Hello, when compiling as x86 or 64 from the drop down menu of right clicking the .au3, or using the autoit startmenu compile script, it does not run the same as just running the .au3. It just gets stuck on one of the functions. I've tried running as administrator also. Is there something i need to know when compiling the script for .exe? Thanks! Link to comment Share on other sites More sharing options...
Juvigy Posted January 10, 2017 Share Posted January 10, 2017 Do you know where it hangs? There are several possible reasons like working dirs or some incorrect macro use like @scriptdir or hard coded paths. It may be anything - we need more information. kartune 1 Link to comment Share on other sites More sharing options...
kartune Posted January 10, 2017 Author Share Posted January 10, 2017 (edited) 25 minutes ago, Juvigy said: Do you know where it hangs? There are several possible reasons like working dirs or some incorrect macro use like @scriptdir or hard coded paths. It may be anything - we need more information. Hi, thanks for your assistance. So i troubleshooted and here's what i got: 1) Identified that it starts to glitch when it's doing an imagesearch, i am using the imagesearch2015.au3. 2) I've only tried the compiled .exe that i copied into a different directory. So i figured maybe the compiled version doesnt include the imagesearch2015.au3? So i tried copying that imagesearch2015.au3 into the same directory to see if that solves the issue, which it did not. 3) I tried the compiled.exe in the default directory where the original .au3 script is in and this worked just fine. 4) I then tried copying the original script into the other directory and compiling it there to see if that did anything. It again has the same issue. So now i'm thinking you are right about the issue being something about the directory. Do you have any troubleshooting steps or information you need from me specifically? Thanks again! Edited January 10, 2017 by kartune Link to comment Share on other sites More sharing options...
jchd Posted January 10, 2017 Share Posted January 10, 2017 Yes: post your code! This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
anthonyjr2 Posted January 10, 2017 Share Posted January 10, 2017 All of the imagesearch libraries are notoriously finicky to get working. Make absolutely sure that your DLLs are in the correct location, and that you are referencing them accordingly. If they aren't accessible, more often than not the search just doesn't work or hangs. When you compile as well, you need to make sure you also move the DLLs wherever you move the .exe, and to make sure their directories in your code aren't hardcoded to one location. UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI= Link to comment Share on other sites More sharing options...
kartune Posted January 10, 2017 Author Share Posted January 10, 2017 Hi guys, thanks for your help! But i figured it out, I had no idea that compiling the script excludes the images needed for the imagesearch. Once i placed the images in the directory i copied the script to it worked again. Sorry for any trouble! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 10, 2017 Moderators Share Posted January 10, 2017 kartune, We do not permit multiple accounts and yet I see both kartune and kartune2013 in this thread. Which do you wish to keep. M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
kartune Posted January 11, 2017 Author Share Posted January 11, 2017 On 1/10/2017 at 0:17 PM, Melba23 said: kartune, We do not permit multiple accounts and yet I see both kartune and kartune2013 in this thread. Which do you wish to keep. M23 oh, sorry i didnt realize i even had another. you could delete either one, i think the login info is saved on my chrome thanks Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 12, 2017 Moderators Share Posted January 12, 2017 (edited) kartune, I will merge the accounts and just kartune will remain. M23 Edit: And done Edited January 12, 2017 by Melba23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now