|
8
|
DonationCoder.com Software / Post New Requests Here / Re: Drag any text or right click and save as a file
|
on: July 04, 2012, 12:19:16 PM
|
Hi Jonathan, Here's a very small program for copying text to a file. When you run the program, select any text, then press Ctrl+WindowsKey+c to copy the text to a file. It saves the text to a file called Clips.txt on your desktop. If the file does not exist, the program creates it. Let me know if you want any changes. I also included the source code. It's a tiny program. If you install AutoIt (free) you can edit the code yourself. The code is very easy to read. Shmuel
|
|
|
|
|
9
|
DonationCoder.com Software / Post New Requests Here / Re: IDEA to automate few tasks for new installed windows xp sp3
|
on: June 27, 2012, 11:21:39 AM
|
I think the 2nd idea in Reply #7 by 4wd is the simplest solution. To make a registry editing file you just type text in a text file, give the file a .reg extension, then double-click the file on the computer that you want to set up. The format is pretty simple. You need Windows Registry Editor Version 5.00 at the top of the file, a blank line, then the registry location you want to edit, then the items within that location that you want to edit and their values. In between two or more registry locations, you need to leave a blank line. I think this should work for you on XP: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Control Panel\International] "iTime"="0" "iTLZero"="0" "sTimeFormat"="h:mm:ss tt"
[HKEY_CURRENT_USER\Control Panel\International\Geo] "Nation"="12"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "HideFileExt"=dword:00000000 "Hidden"=dword:00000001 "SuperHidden"=dword:00000000 "ShowSuperHidden"=dword:00000001Take this code and paste it into a text file with a .reg extension. Edit "Nation"="12" Replace the 12 with your country's value. Here's a list of country values: http://msdn.microsoft.com...-us/library/ms912039.aspxHere's a link that explains .reg files in detail: http://support.microsoft.com/kb/310516
|
|
|
|
|
11
|
DonationCoder.com Software / Post New Requests Here / Re: IDEA: Drag Drop URL or Paste to save target to predefined destination
|
on: June 18, 2012, 05:31:23 AM
|
I added these lines to disable active scripting for the current windows user and enable it afterwards: Formatted for AutoIt with the GeSHI Syntax Highlighter [ copy or print] RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1", "1400", "REG_DWORD", "3") ; disables active scripting in the "Internet Zone" RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1", "1400", "REG_DWORD", "0") ; enables active scripting in the "Internet Zone"
I tested it on my computer and it did change the registry setting. Test it with some webpages that you couldn't save before and see if you can save them now. I also added $answer = 1 to make it save complete webpages without asking you for the format, and I added sleep(3000) before saving the webpage to allow the page to load. If you use the attached (instead of editing your version), remember to edit the Hotkey. In case you are interested, here's the page I used that explains how to disable active scripting via the registry. http://www.cs.kuleuven.be...ows/active-scripting.html
|
|
|
|
|
20
|
DonationCoder.com Software / Post New Requests Here / Re: IDEA: Drag Drop URL or Paste to save target to predefined destination
|
on: May 28, 2012, 10:37:31 AM
|
|
I made the attached program using AutoIt. I attached the EXE and the source code file (AU3) inside the zip file. If you install AutoIt, you can run the program by double-clicking the AU3 file. (The advantage of doing it this way is that you can edit it yourself.)
To use this program, double-click the EXE. It runs in the background. When you want to save a webpage, first copy a URL then press the shortcut key: CTRL+WindowsKey+S Select the output format and click OK. (The default format is Webpage Complete.) Webpages are saved to a folder on your desktop.
In Internet Explorer 9, you can copy a URL by right-clicking a link, then selecting "Copy shortcut." So if you use Internet Explorer, you would first right-click a link, select "Copy shortcut," then press CTRL+WindowsKey+S.
If you want a different shortcut key or other changes, let me know. One option is to have a separate shortcut key for each output format, Webpage Complete and MHT.
I didn't add the feature of automatically changing the file name if there are duplicates. First try it as is and let me know if you like it.
You can put the program in your Windows Startup folder and it will run when Windows starts up.
|
|
|
|
|
23
|
DonationCoder.com Software / Post New Requests Here / Re: IDEA: Create folder structure or path
|
on: May 21, 2012, 07:20:14 AM
|
If you want to do this for backup or sync purposes, you might want to consider Beyond Compare. It's an excellent sync utility and it will automatically create the path for you. On the left side, you would select the location to copy from, let's say "C:\Documents and Settings\All Users\Documents\My Pictures\" On the right side you would select (in your example) D:\temp Then you would copy "\Documents and Settings\All Users\Documents\My Pictures\" from the left side to the right side to get this: "D:\temp\Documents and Settings\All Users\Documents\My Pictures\" Then sync the folders. Beyond Compare gives you the option of automatically creating the directory structure.
|
|
|
|
|