-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By Dan_555
Hi,
i'v just uploaded my latest project: Simple Snippet Manager to the Downloads. area :
The intended usage is to select a Snippet, and to copy it's contents into your favorite Editor.
The Copy/Paste process happens over the (windows)Clipboard.
The previous clipboard content is not restored.
There is a time limit of 60 seconds, in which the pasting of the text is allowed (starting when the App window gets inactive).
The Hotkey is reenabled, when the main Window is activated.
This is a File/Folder based manager.
The App is configured to hold 4000 files and 400 folders with searching depth of 5 sub-folders.
The root folder is freely selectable, but it should be a Folder with writing permission.
Please install the App in a folder with Writing permission, too.
This App only uses an .ini file to save it's configuration, which has to be in the same folder as the App.
First configuration:
1. Open the config Window.
2. Enter the Language name, create or seek a root folder, enter an extension.
3. Click on Set button.
4. Click on the Exit button.
The Language configuration is done, adding files or folders are needed:
1. Select the language from the dropbox list, and click on Get Lang button.
2a. Right Click on the root folder, chose New folder to add categories.
2b. or chose New/Edit file to open the builtin text editor
3. Paste or Write a snippet-code, enter a filename and save it.
(Repeat the 3. as needed)
Usage:
Select a language, then click on Get Lang button.
Choose a file with the left mouse button.
Check if the code was loaded in the Textarea at the bottom.
Switch to your Sourcecode editor, and press the Hotkey (default= Ctrl/Strg b) to copy and paste the text.
There is a time limit of 60 seconds, after the main window gets inactive, in which the copy&pasting is allowed.
Changelog:
V1.02 (24.06.2020)
Addition: Undocumented ini setting: StartLoadLastUsedLanguage
Setting this to 1 (default value) will now reload the Last used language at start.
Last used language counts for the Language, selected with [Get Lang] button. The [Config] button will delete the last used language.
LastUsedLanguageNr, LastUsedLanguageName ini settings are used internaly for the above function.
Added version string to the main Window title.
V1.01 (23.06.2020)
Bugfix : Starting the App without the ini file now sets the correct starting Hotkey (Ctrl b)
Addition: Clipboard is saved, before pasting, and restored after pasting. (May work with text data only. p.s. untested!)
-
By Dan_555
Simple Snippet Manager (AutoIt v3.3.14.5)
The intended usage is to select a Snippet, and to copy it's contents into your favorite Editor.
The Copy/Paste process happens over the (windows)Clipboard.
The previous clipboard content is not restored.
There is a time limit of 60 seconds, in which the pasting of the text is allowed (starting when the App window gets inactive).
The Hotkey is reenabled, when the main Window is activated.
This is a File/Folder based manager.
The App is configured to hold 4000 files and 400 folders with searching depth of 5 sub-folders.
The root folder is freely selectable, but it should be a Folder with writing permission.
Please install the App in a folder with Writing permission, too.
This App only uses an .ini file to save it's configuration, which has to be in the same folder as the App.
First configuration:
1. Open the config Window.
2. Enter the Language name, create or seek a root folder, enter an extension.
3. Click on Set button.
4. Click on the Exit button.
The Language configuration is done, adding files or folders are needed:
1. Select the language from the dropbox list, and click on Get Lang button.
2a. Right Click on the root folder, chose New folder to add categories.
2b. or chose New/Edit file to open the builtin text editor
3. Paste or Write a snippet-code, enter a filename and save it.
(Repeat the 3. as needed)
Usage:
Select a language, then click on Get Lang button.
Choose a file with the left mouse button.
Check if the code was loaded in the Textarea at the bottom.
Switch to your sourcecode editor, and press the Hotkey (default= Ctrl/Strg b) to copy and paste the text.
There is a timelimit of 60 seconds, after the main window gets inactive, in which the copy&pasting is allowed.
The Download includes:
32 + 64bit exe, sourcecode, icon, read me text and 2 Instructional Helpfiles in Html and PDF format.
-
By Fernandin
Let me get it straight...
I've been having such a great experience with AutoIt, it helped me a lot at my work. And now, I gotta make some configurations in the BIOS of many computers at my work. So, I'd like to know, is it possible to use AutoIt (or some programming language) to write an algorithm that when compiled and transefered to a pen drive, it's "plug and run"?
-
By drapdv
So, I have this odd issue happening with UIAWrappers. When I run simplespy.au3 through SciTE, it finds the object I'm trying to work with, no problem. But, when I compile simplespy.exe, it can't find it. Another script that utilizes UIAWrappers is experiencing the same phenomenon. EDIT: Compiling as 32-bit or 64-bit does not affect this behavior.
The trouble starts at the very first object I try to get via _UIA_getObjectByFindAll, so I included the $properties2Match array and the object properties that were returned by _UIA_getPropertyValue for that first object both when running from SciTE and when compiled.
It always finds the matches for the title and control type properties. But when compiled, it fails to find the Automation ID property. Any ideas as to why this would be happening? Hoping junkew will see this and have an idea.
These are the $properties2Match
30005|Screen/PVN - ###.###.##.## - CDK Drive|0|False
30003|50032|0|False
30011|Portal|0|False
Object properties when running from SciTE:
<propertymatching>
j:1 propID:[30005] expValue:[Screen/PVN - ###.###.##.## - CDK Drive]actualValue:[Screen/PVN - ###.###.##.## - CDK Drive]1
j:2 propID:[30003] expValue:[50032]actualValue:[50032]1
j:3 propID:[30011] expValue:[Portal]actualValue:[Portal]1
</propertymatching>
Object properties when script is compiled:
<propertymatching>
j:1 propID:[30005] expValue:[Screen/PVN - ###.###.##.## - CDK Drive]actualValue:[Screen/PVN - ###.###.##.## - CDK Drive]1
j:2 propID:[30003] expValue:[50032]actualValue:[50032]1
j:3 propID:[30011] expValue:[Portal]actualValue:[]0
</propertymatching>
-
By nacerbaaziz
Hello all
I found this function in the Internet
It is to play audio files from the compiled script
I did not understand just one thing on this function
func play($name, $wait = 0) local Const $SND_RESOURCE = 0x00040004 local Const $SND_ASYNC = 1 ; Play the file - the script will pause as it sounds if $wait = 0 then DllCall("winmm.dll", "int", "PlaySound", "str", $name, "hwnd", 0, "int", BitOR($SND_RESOURCE, $SND_ASYNC)) else DllCall("winmm.dll", "int", "PlaySound", "str", $name, "hwnd", 0, "int", $SND_RESOURCE) endIf return 1 endFunc What I did not understand was this variable
local Const $SND_RESOURCE = 0x00040004 I know that this variable is contains the resource name
But what if I want to change the name of the resource what i'll do?
can i do that?
Thanks in advance
-