-
Posts
72 -
Joined
-
Last visited
Everything posted by ineedh3lp
-
Access Embedded Icon Files
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
Yes, thank you! I was under the impression that FileInstall needs the source at run time as well. -
Access Embedded Icon Files
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
Finally, I understand! Thank you, BrewManNH and everybody else! -
Access Embedded Icon Files
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
It's not a matter of trust. It's just that I do not understand how it can help me. Would you be kind to give me a functional example? Like, how to actually use FileInstall to copy an embedded file to C:test? -
Access Embedded Icon Files
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
I really don't want to bother you much, but I think I haven't made myself clear. So, I have a compiled AutoIt script. Let's call the application FolderGen.exe This application has embeded multiple icon files: ico1.ico, ico2.ico, ico3.ico. So these files do no exist on the client's computer, they exist only in the already compiled script, FolderGen.exe Now, I need this application to be able to export the icon files that are embedded in it. From my understanding, FileInstall requires an external file and this is not what I want because the application must not be dependent on external files. Thus, my only guess is that I can achieve what I want only if I can export the embedded icon files. -
Access Embedded Icon Files
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
Here's what I want to do: The application I'm working on is designed to create a set of folders. What I want to do is copy some icon files to the created folders, but I don't want the application to copy the icon files from an external source, I want it to copy the embeded ones. So, I guess that my question is: can I export an embeded icon file? I see that FileInstall says that the source must be a literal string and it cannot be a variable or the result of a function call. -
Access Embedded Icon Files
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
Thank you for the reference, guinness, but I still don't understand how to copy an embeded icon to a specific folder based on the examples displayed on the page. -
Hello, I'm adding a couple of ico files to the compiled AutoIt application using #AutoIt3Wrapper_Res_Icon_Add= Is there any way to access those icons? Could you tell me for example how to copy an embeded icon file to C:\test? Thank you!
-
Excellent! Thank you!
-
Yes, inside SciTE. Sorry I forgot to mention.
-
Hello, Is there a way to highlight selected text? Like, if I double-click select a word, all the occurances of that word would be highlighted. Can this be set from AutoIt or by using a plugin? Thank you!
-
FileFindFirstFile-FileFindNextFile Issue
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
Yup! Thank you. Thing's more advanced than the base function and it works as expected, but it should be noted that the base function is flawed and can lead to other issues when being used by others or in UDFs. -
FileFindFirstFile-FileFindNextFile Issue
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
Yeah, I was testing it just now. -
FileFindFirstFile-FileFindNextFile Issue
ineedh3lp posted a topic in AutoIt General Help and Support
Hello! Let's say I have two files: D:\BMachine\_custom\AutoIt\z_scripts\X2MetaMove\TEST\z_LEFT\New File.m2ts D:\BMachine\_custom\AutoIt\z_scripts\X2MetaMove\TEST\z_LEFT\New File.m2ts.xmp then I perform a search using: $a=FileFindFirstFile('D:\BMachine\_custom\AutoIt\z_scripts\X2MetaMove\TEST\z_LEFT\New File.m2ts.*') $b=FileFindNextFile($a) FileFindNextFile($a) returns 'New File.m2ts' while it should return only 'New File.m2ts.xmp' because New File.m2ts. isn't a sub-string of New File.m2ts I've discovered this issue after debugging the _FileListToArray UDF. The UDF wasn't returning the correct results because it basically can't tell the difference between '.*' and '*' -
ControlListView FindItem Issue
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
Adjusted the subitem columns (1 to 0 and 2 to 1), added the dot in If $sFile & '.' & $sExtension = "New File.jpg" Then and it did the trick. Thank you once again for helping me! -
It seems that find item doesn't check for file extensions. This means that if I have two files with the same base name, only the first one is found. Got any suggestions as how to fix this? (Showing file extensions is not an option). Exmaple: I got these files: New File.jpg New File.m2ts New File.rw2 New File.xmp ControlListView('xplorer', '', '[CLASS:ATL:BrowserListView; INSTANCE:3]', "FindItem", "New File") ; Returns the index only for New File.jpg ControlListView('xplorer', '', '[CLASS:ATL:BrowserListView; INSTANCE:3]', "FindItem", "New File.jpg") ; Returns -1 because the column contains only the file base name and I'm searching for the file base name and extension.
-
ControlListView() is what I need. Thank you for pointing me in the right direction, KaFoo!
-
I understand. Is there any way to adapt it to other file managers by passing a different classname to ObjCreate? I would appreciate any tip that would lead to a solution. Thank you!
-
Excellent! Thank you for the script and resources. This works without problems in Windows Explorer. May I extend the discussion and ask you if it is possible to select items in a different file manager? For example, I am using xplorer2, and I did try everything I could think of for the window and control handles, but I couldn't get it to work. Is your script bound to work with Windows Explorer only? I suspect it has something to do with $oShellWindows = $oShell.Windows(), but maybe you can tell me more.
-
Ascend4nt, is it possible to select multiple items instead of just one?
-
KaKu, I have tested the code and it works well selecting a single item, but is it possible to select multiple items? I know how to process an array or string of items, I only want to know if the procedure can be modified to allow multiple item selection. Or selecting one item, selecting all and deselecting all are the only possible methods?
-
Thanks for the suggestion, JLogan, but I do not want to initiate an Open File Dialog, jut automatically select one or more files present in the current view of a folder in Windows Explorer (or another file manager). Thank you for the resource, KaFu. I will check it and report back.
-
Hello! Is it possible to automatically select files within a file manager using AutoIt? I want to be able to do it without simulating mouse/keyboard gestures. Probably through dll calls, but I have no solid clue about how to do it. Let's say there's a Windows Explorer window displaying 3 files. After running the script, I'd like to have 2 of them selected (as if ctrl+clicked) based on parameters passed to the script (like file base names). Thank you!
-
AutoIt stops playing sounds
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
Yeah, there must be an explanation. Thanks for the suggestions. -
AutoIt stops playing sounds
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
It's just a simple audio notification at the end of the script, nothing fancy in regard to how it's called. I even tried on a fresh script, same issue. Regarding audio driver crashes- unlikely since I'm not having any audio output issues with any other applications (audio/video players, system sounds, etc). -
AutoIt stops playing sounds
ineedh3lp replied to ineedh3lp's topic in AutoIt General Help and Support
Tried that as well, still no luck. I'll experiment with the system.sound object to see if I get any results while this behaviour is in effect.