E1M1 Posted February 20, 2009 Share Posted February 20, 2009 (edited) I have very serious problem I my compiled script name is longer than 15 chars I cant see all the name at taskmanager and processclose() cant kill it.(when it is longer than 15 chars)For example:File name is:this_file_has_long_and_difficult_name.exeI see at task manager:this_file_has_linformation collected from my postsMaybe it's your Windows version whatsoever it'll be because on my Windows XP Pro SP2 I get much longer process names using the ProcessList() function and it returns the full names.I use windows xp SP 2 porfessionalI also noticed that if I make exe file in C or C++ then I see full file name in task manager even if it is longer than 15 char.2) I see in task manager file name that i used when i compiled my file,If i rename my autoit compiled file later and then run it, i still see old nameWhat does AutoIt see when you use ProcessList()?I sees 1-st 15 chars from exe file nameWhat exactly is the question here?If you want exact question then: Is it possible to make compiled autoit script with name that is longer that 15 chars and see full name in taskmanagerWorks as expected here when doing your second scenario so there must be something with your setup/test.Are you running from a Network share?JosNot really but I am storing my files on Ext3 Filesystem under windows and i use http://www.fs-driver.org/ Edited February 21, 2009 by E1M1 edited Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 20, 2009 Moderators Share Posted February 20, 2009 E1M1, What exactly is the question here? 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...
GEOSoft Posted February 20, 2009 Share Posted February 20, 2009 What does AutoIt see when you use ProcessList()? George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
E1M1 Posted February 20, 2009 Author Share Posted February 20, 2009 (edited) What does AutoIt see when you use ProcessList()?I sees 1-st 15 chars from exe file nameWhat exactly is the question here?If you want exact question then: Is it possible to make compiled autoit script with name that is longer that 15 chars and see full name in taskmanager Edited February 20, 2009 by E1M1 edited Link to comment Share on other sites More sharing options...
Authenticity Posted February 20, 2009 Share Posted February 20, 2009 Maybe it's your Windows version whatsoever it'll be because on my Windows XP Pro SP2 I get much longer process names using the ProcessList() function and it returns the full names. Link to comment Share on other sites More sharing options...
E1M1 Posted February 20, 2009 Author Share Posted February 20, 2009 (edited) Maybe it's your Windows version whatsoever it'll be because on my Windows XP Pro SP2 I get much longer process names using the ProcessList() function and it returns the full names.I use windows xp SP 2 porfessionalI also noticed that if I make exe file in C or C++ then I see full file name in task manager even if it is longer than 15 char.2) I see in task manager file name that i used when i compiled my file,If i rename my autoit compiled file later and then run it, i still see old name Edited February 20, 2009 by E1M1 edited Link to comment Share on other sites More sharing options...
GEOSoft Posted February 20, 2009 Share Posted February 20, 2009 I use windows xp SP 2 porfessionalI also noticed that if I make exe file in C or C++ then I see full file name in task manager even if it is longer than 15 char.2) I see in task manager file name that i used when i compiled my file,If i rename my autoit compiled file later and then run it, i still see old nameRename your compiled script then restart the computer. It should be correct when you run the compiled file again. Either you have more than one copy running or you have a cache problem with your XP. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Authenticity Posted February 20, 2009 Share Posted February 20, 2009 Tested this 26X3+4 character long process name compiled using AutoIt and this is the result (it's not a joke lol): [33]|aaabbbcccdddeeefffggghhhiiijjjkkklllmmmnnnooopppqqqrrrssstttuuuvvvwwwXXXyyyzzz.exe|3636 _ArrayDisplay(). Link to comment Share on other sites More sharing options...
GEOSoft Posted February 20, 2009 Share Posted February 20, 2009 BTW the way to test this is $Process = "My_App.exe" $aProcess = ProcessList() For $i = 1 to Ubound($aProcess)-1 If StringInStr($aProcess[$i][0], $process) Then MsgBox(4096,"Found Item " & $i, $aProcess[$i][0]) Next George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
E1M1 Posted February 20, 2009 Author Share Posted February 20, 2009 well If I use C compiled exe then I dont have to restart my computer,after rename i see right name in task manager.Only autoit compiled scripts have this problem edited Link to comment Share on other sites More sharing options...
GEOSoft Posted February 20, 2009 Share Posted February 20, 2009 well If I use C compiled exe then I dont have to restart my computer,after rename i see right name in task manager.Only autoit compiled scripts have this problemDid you test it like I showed? I'm not suggesting that you should restart every time, I'm just trying to start with a clean playing field. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
E1M1 Posted February 20, 2009 Author Share Posted February 20, 2009 Sorry for waiting..Did you test it like I showed? I'm not suggesting that you should restart every time, I'm just trying to start with a clean playing field.if my script name is My_App.au3 and I compile it then i can see MsgBox but if script name is other.au3 and i compile it to other.exe and then I rename it to My_App.exe ....I dont see any msgbox.I can post screen video if needed... edited Link to comment Share on other sites More sharing options...
Developers Jos Posted February 20, 2009 Developers Share Posted February 20, 2009 Works as expected here when doing your second scenario so there must be something with your setup/test. Are you running from a Network share? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
E1M1 Posted February 20, 2009 Author Share Posted February 20, 2009 Works as expected here when doing your second scenario so there must be something with your setup/test.Are you running from a Network share?JosNot really but I am storing my files on Ext3 Filesystem under windows and i use http://www.fs-driver.org/ edited Link to comment Share on other sites More sharing options...
jvanegmond Posted February 20, 2009 Share Posted February 20, 2009 (edited) Post a lot more information. After 14 posts and a couple of hours spent by both parties, trivial things are still unknown that should have been in your first post. We do our best answering questions, but guessing for the correct answer when the original question is unclear is very difficult.1.) What is the name of the AutoIt script you can not see in Task Manager?2.) What operating system are you running? ( WinXP / Vista, including 32-bit or 64-bit information)3.) what is the service pack of the operating system you are running?4.) Can you reproduce the script on another machine?5.) What are the steps to reproduce this on our machines? What are the exact steps required to get the same results.Please do your best to accurately answer each question, so that we may accurately answer your question. More information is better. Edited February 21, 2009 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Authenticity Posted February 21, 2009 Share Posted February 21, 2009 Read again, he already stated that he is running Window XP Professional Service Pack 2 (not what xx-bit version though). Please give a sample of your script. Link to comment Share on other sites More sharing options...
jvanegmond Posted February 21, 2009 Share Posted February 21, 2009 Read again, he already stated that he is running Window XP Professional Service Pack 2 (not what xx-bit version though).Please give a sample of your script.You're right. So I can cross that one out, partially.. It still should have been in the first post. It's not our job to collect information of the person who asks the question, its the job of the person who asks the question to provide as much relevant information as possible.That is my opinion. github.com/jvanegmond Link to comment Share on other sites More sharing options...
E1M1 Posted February 21, 2009 Author Share Posted February 21, 2009 (edited) It happens with any script I compile independent of source code , example script MsgBox(1,1,1)I use 32 bit windows Edited February 21, 2009 by E1M1 edited Link to comment Share on other sites More sharing options...
jvanegmond Posted February 21, 2009 Share Posted February 21, 2009 It happens with any script I compile independent of source code , example script MsgBox(1,1,1)I use 32 bit windowsIf that's your complete answer, then the whole story of "Longer than 15 lines" no longer applies? github.com/jvanegmond Link to comment Share on other sites More sharing options...
E1M1 Posted February 21, 2009 Author Share Posted February 21, 2009 (edited) 1.) What is the name of the AutoIt script you can not see in Task Manager?2.) What operating system are you running? ( WinXP / Vista, including 32-bit or 64-bit information) xp sp2 proffessionl3.) what is the service pack of the operating system you are running? Sp24.) Can you reproduce the script on another machine?Paralells virtual machine5.) What are the steps to reproduce this on our machines? What are the exact steps required to get the same results.Try this here and let me know if you have same problem15 chars is max length of file neme Edited February 21, 2009 by E1M1 edited 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