
fhanna
Active Members-
Posts
64 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
fhanna's Achievements

Wayfarer (2/7)
1
Reputation
-
michael2t reacted to a post in a topic: "PDF File Save As" dialog box
-
Unless I am not aware of a parameter for the Windows Copy function it will not provide for the copying of LFNs. My initial request was for an existing UDF but did misquote as UDP. I definitely will review your suggestion. BTW, could you provide the ability with Robocopy to delete LFNs. You stated there is a trick to do this as I cannot find any refrerence to deleting LFNs or any files with Robocopy. Thank you again for your expertise. .
-
I assume it must have defaulted to the complete file name as it worked. Will fix the code and thank you.
-
For our file servers the 8.3 short name capability has been disabled. Could not get it to work. Have no control over Group Policies as a higher headquarters control. Assume done so for speed purposes. So, any other ideas? I can use a command function and run Robocopy but have no idea how to delete the original file. Cannot find any reference to deleting long file names; Robocopy or otherwise. Any other suggestions?
-
Ok, here it is. I cannot get the filemove function to work. I get a 0 return code. I have used with and without the Unicode addressing scheme. Recap: I am utilizing a package called Path Scanner to capture into a .csv file all files with a path of 261 or more. After created I am reading that file record by record and creating a new random file name and utilizing the existing path. So, the new path/file name is shortened to 260 characters. Utilizing a message display to verify and all looks good. Just cannot get the filemove to work. Any suggestions. Rename.au3
-
Thanks to all. I will utilize a freeware package called "Path Scanner" which lets you create a csv file by selecting all records with a path greater than a desired length. I will then read the individual records created via a FileReadLine command and then do my bidding. I have utilized AutoIt3 and can handle (may ask a question or 2) but was hoping there was an easier way than _FileListToArrayRec. I'm looking at a 5% selection of records exceeding the max length so this appears my best option. Sorry the moderator got involved but was hoping there was a developted UDP addressing this.
-
With respect to the moderator and the mission of this website I have begun my coding process. I am doing baby steps and my first routine is utilizing the _FileListToArrayRec function. My first issue is the array returned (asking for the complete path) will return millions of array entries. I am only looking for the records over 260 characters long. Question; how can I filter and check the path lengths before the record is loaded into the array. fourm.au3
-
Trong Thank you so much for the response. This is a start and if the members can develop this UDP I believe it can have tremendous usage for the Windows limitation of long file names. This definitely is a great start but the additional request is: Process a root folder. Determine if any files have a length issue and if so rename/move based on a new name procedure. Once the files in that directory has been processed go to the next directory and do the same. Do this for all root and nested directories/files. So, I do not have the expertise to proccess all directories/files. Request - how do you read all the files at the root and files nested within the drill down folders? I think I could handle the rename/move function; it's just the processing of all the files via an array, etc. Due to 1000s of long file it is not feasable to navigate to the end folder and rename to a lesser length. We handle copies at this point with Robocopy but restoring files from backup, other functions utilized by the standard copy function of Windows necessitate an alternative. Our situation would probably result in actually manipulating folder names also and insuring that type of rename/move. I do believe a great approach to this issue is a big plus. Thank you all and hopefully, have not displeased anyone with my request for support. I am experienced with AutoIt but not to this level.
-
Am looking for a UDP or routine that would process each file name in a directory, return the path and length and if the path exceeds a specific length, restructure the path as to reduce the path below 260 characters. The renaming of the path/file to be determined. The file would be saved with the new path. Would need to process the nested folders. IOW trying to process directory/files and determine if long file names exist and, if so, rename.
-
OutlookEx UDFs and Outlook email properties
fhanna replied to fhanna's topic in AutoIt General Help and Support
Thank you very much. This was exactly what I was looking for. I was extracting the data by utilzing the View Source capability but that was giving me the HTML code as opposed to text. It is refreshing to have support such as yourself as I was focused on the UDFs and trying to dig thur it. Thank you again. -
OutlookEx UDFs and Outlook email properties
fhanna posted a topic in AutoIt General Help and Support
Could someone point me in the right direction for finding some simple code to be able to attach to an open email and retrieve the subject line and body text of an email. The user would open the email, launch my application to gather subject line and body text and that is all I need. She would open another email and I would repeat the task after saving the previous data. All postings seem to approach the utilization of folders and email items and I, believe I need help in just capturing the 2 properties of subject and body. Hope I have explained myself and all the hard work gone into this product is commendable but I have searched and overwhelmed by coding that would not be applicable for me. Thanking you in advance. -
I have no problem retrieving links from a web page but only want the ones within a Table. In using the _IELinkGetCollection I retrieve them all. Could someone assist by an additional statement within this command or is their a way via the _IETagnameGetCollection or similar. Thanks you.
-
PixelSearch, Abobe X Pro document opened in IE window
fhanna replied to fhanna's topic in AutoIt General Help and Support
Thanks for everyone's help on this issue. I was able to find an example on how to ger an @error return code by checking for the existing class of the Adobe toolbar within the IEFrame class; ie @Error = 0 if it exist.. $Handle = WinGetHandle("[Class:IEFrame]") $hCtrl = ControlGetHandle($Handle,"","[Class:AVL_AVView]") I now can issue my shortcuts for printing and saving of documents. Thanks again everyone. -
PixelSearch, Abobe X Pro document opened in IE window
fhanna replied to fhanna's topic in AutoIt General Help and Support
That was a sample to provide needed code for evaluation of the issue. I found a short pdf and coded, tested to insure accurate evaluation. InetGet functionis not an option. Need to have the pdf icon evaluated by pixel or a way to insure the tool bar is available for the shortcut. At this point PixelSearch appears not to function correctly on a AA X Pro toolbar. It works fine when tested on a pixel in the body. -
PixelSearch, Abobe X Pro document opened in IE window
fhanna replied to fhanna's topic in AutoIt General Help and Support
Thank you responders for your helpful comments. mplipok did a great job reading between the lines. A little background. I have been using an executable script to monitor an Outlook emai client account, opening once mail received and then doing a click on a pdf link. I would then wait for a pixel color for the AA print icon to appear before sending a print shortcut key. For the past few years this has worked fine for eariler versions of IE and AA under XP Professional. I was using a 3x3 search area in the event of a dead pixel. I have tried zeroing in on the specifice pixel color. I am ready for alternate suggessions. I used the pixel search method as some of the pdfs were huge and using the StatusbarGetText method would state Done but the screen would still be painting from the buffer and sendind the print command would be ignored. I did not want to use excessive sleep time. This is my first return to this forum for a couple of years and am rusty to code and things have changed. Looking for solution or better method to handle. -
PixelSearch, Abobe X Pro document opened in IE window
fhanna replied to fhanna's topic in AutoIt General Help and Support
Created some sample code to use for you gurus as it should demonstrate my logic error or a true issue. Details: Windows 7 with screen resolution at 1024x768 IE 9 with menu and favorite tool bars Adobe Acrobat X Pro with the floating toolbar turned off under the internet tab and pdfs loaded into a IE window Window maximized Here is a sample program that is failing to find the color. If I program it with a while loop and I move the mouse near the color it functions. This color is in the print icon of the Adobe toolbar. Under Windows XP and earlier Adobe, IE versions have had no problem. The sample code is looking for the color in the print icon. I cannot understand why it will not function (find the color and have many times verified with autoinfo. Again, this is working with a color in the AA X Pro version. Anyone who has time see if they can locate a color on the toolbar. Thanking everyone in advance. example.au3