Latest posts of: 4wd - DonationCoder.com
Welcome Guest.   Make a donation to an author on the site May 27, 2015, 12:59:32 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: Prev 1 2 3 4 [5] 6 7 8 9 10 ... 150 Next
101  Main Area and Open Discussion / General Software Discussion / Re: Remove Embedded Watermarks in Videos on: March 20, 2015, 10:48:25 PM
So glad to see we have threads about pirating content now! Maybe we can get some threads going on the best way to pirate software as well. Roll Eyes

I'm interested from a purely objective point of view, do you know for a fact that:
a) Where he lives/works/whatever is subject to the same corporate laws that govern the good ol' US of A?
b) He doesn't have permission of the content provider to modify the content of whatever he has got for whatever purpose he's putting it to?

Or have you just jumped to a conclusion without any facts?
102  Main Area and Open Discussion / General Software Discussion / Re: Batch find/replace multiple strings in a single text file on: March 17, 2015, 08:30:34 PM
If you have is some before/after examples we could probably generate the regex for global replacements within Notepad++.
103  Main Area and Open Discussion / General Software Discussion / Re: SoftMaker (makers of SoftOffice) moving away from eM Client to Thunderbird on: March 17, 2015, 03:56:34 PM
Should the new 2016-version also have a new name?
SoftBird  or  ThunderMaker  or... ?  tellme

My vote:

104  Main Area and Open Discussion / General Software Discussion / Re: Need help cleaning virus inside HTML files on: March 17, 2015, 03:47:22 PM
I used 4wd's script and it did it! My HTML files are clean now! Thank you so much 4wd, you saved my life files!

No problem, I'm still going to get that DOS command file to work though ... (brainwave )

Quote
And also thank you for getting me to learn AutoIt scripting a bit because of your laziness. tongue

If I can instigate action in others by my laziness, well that's a win/win situation in my books  Thmbsup  tongue

Quote
I didn't want it to make more and more duplicate backups, so I studied the script, downloaded AutoIt, tinkered around, and finally made it so that uninfected files wouldn't be backed up.

I am very lazy  tongue

Quote
I apologize for modifying the script without asking for your permission first.

No need, I wouldn't have posted the code, (what there is), if I was concerned about copyright/left/somewhere, (besides I'm probably on the half of the planet that was asleep when you did it)  Grin
105  Main Area and Open Discussion / General Software Discussion / Re: Make Windows 8 login/lockscreen transparent? on: March 17, 2015, 03:32:54 PM
I know you can boot to desktop, but yes, I do want to keep the login. I also tend to lock my computer quite a bit.

It only affects that first sign in screen, (one would hope that you'd be hanging around the minute or so waiting for the computer to boot), any time after when you lock the computer or log out it'll drop back to the lock screen (with whatever wallpaper you've chosen), from there you'll only get the solid colour when you enter your password to unlock/log in again, a matter of a few seconds.

That's the way it's working here in W8.1Pro.
106  Main Area and Open Discussion / General Software Discussion / Re: Need help cleaning virus inside HTML files on: March 17, 2015, 12:07:37 AM
Freakin' escaping DOS characters is nuts  huh

Couldn't quite get that to work so here's a quick'n'dirty alternative:

RemVBSfHTM.cmd
RemVBSfHTM.exe

The command file walks the directory tree for .htm and .html files and passes them to the executable which writes out a new temp file up to the point it finds <SCRIPT Language=VBScript> (case insensitive), it then writes out the remainder of the line, closes the file, renames the original file to name-old+vbs, and then moves the temporary file into it's place.

Seems to work here OK but I can't try every possible combination of screwed up file.

Put both files in the same directory somewhere, open a CLI and run using: RemVBSfHTM.cmd <path>

Where <path> is the full path to the top level directory of the tree, quoted if it has spaces in the name, eg. RemVBSfHTM.cmd "K:\html junk"

Source of RemVBSfHTM.exe in AutoIt:
Formatted for AutoIt with the GeSHI Syntax Highlighter [copy or print]
  1. #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
  2. #AutoIt3Wrapper_Change2CUI=y
  3. #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
  4.  
  5. $sTempFile = @TempDir & "\RemVBSfHTM.txt"
  6. $sTest = "<SCRIPT Language=VBScript>"
  7.  
  8. If $CmdLine[0] = 0 Then
  9. Exit (1)
  10. $sFile = $CmdLine[1]
  11.  
  12. $hFile = FileOpen($sFile, 0)
  13. If $hFile = -1 Then
  14. ConsoleWrite("Unable to open '" & $sFile & "' for reading." & @CRLF)
  15. _Exit()
  16. $hTempFile = FileOpen($sTempFile, 2)
  17. If $hTempFile = -1 Then
  18. ConsoleWrite("Unable to open '" & $sTempFile & "' for writing." & @CRLF)
  19. _Exit()
  20.  
  21. $sLine = FileReadLine($hFile)
  22. If StringInStr($sLine, $sTest) > 0 Then
  23. $sLine = StringLeft($sLine, StringInStr($sLine, $sTest) - 1)
  24. FileWriteLine($hTempFile, $sLine)
  25. FileWriteLine($hTempFile, $sLine)
  26.  
  27. FileClose($hTempFile)
  28. FileClose($hFile)
  29.  
  30. If FileMove($sFile, $sFile & "-old+vbs") = 0 Then
  31. ConsoleWrite("Unable to rename '" & $sFile & "' prior to replacement." & @CRLF)
  32. _Exit()
  33. FileMove($sTempFile, $sFile)
  34.  
  35.  
  36. Func _Exit()
  37. EndFunc   ;==>_Exit

It'll write out to RemVBSfHTM.log if it can't open either the original file for reading, the temporary file for writing, or renaming the original file (in which case it won't rename the temporary file).

So it might pay to make sure all files are not read-only and that you have permission to write to them before running.

Also, even if the HTML doesn't contain the relevant line it'll still get replaced, (I'm lazy).
107  Main Area and Open Discussion / General Software Discussion / Re: Make Windows 8 login/lockscreen transparent? on: March 16, 2015, 06:14:43 PM
Just asking but if this is the first sign in screen you come to when you first turn on the computer then you can effectively bypass it by having auto-login set, is that an option or do you want to keep the computer password protected at boot?
108  Main Area and Open Discussion / General Software Discussion / Re: Need help cleaning virus inside HTML files on: March 16, 2015, 05:58:24 PM
Correct me if I'm wrong but if it's added after the </HTML> tag then you only need to read through the files to that point writing each line to a temporary file, then replacing the original at the end.

I could probably do this in a batch file, having it recurse through the whole drive, you'd hit problems if there were any restricted permissions but it seems simple enough.  Might have a look later for the intellectual exercise  smiley
109  Main Area and Open Discussion / General Software Discussion / Re: Make Windows 8 login/lockscreen transparent? on: March 15, 2015, 08:23:09 PM
See pictures on the desktop, Start, and the lock screen - Microsoft

Works for me.
110  Main Area and Open Discussion / General Software Discussion / Re: Remove Embedded Watermarks in Videos on: March 15, 2015, 01:14:55 AM
More information required, ie. video format, codecs, etc.

eg. I've used this method successfully but it's only good for AVI files which are getting increasingly rare.  But you can always convert to a RAW video AVI, process through VirtualDub, and then encode to final format.

ffmpeg also has a builtin delogo filter if you want to give it a try, I've never used it so don't know how effective it is.
111  Main Area and Open Discussion / General Software Discussion / Re: Keyboard Shortcut for "Hamburger Menu" in Firefox? on: March 14, 2015, 02:30:56 AM
... Palemoon doesn't appear to be available for the *NIX I'm using ...

What flavour are you running?

The source should be available under the PM2Linux build if you want to try recompiling.
112  Main Area and Open Discussion / General Software Discussion / Re: email account with fastest sign up on: March 13, 2015, 07:32:37 PM
There's also Trashmail, just create a free account at their site, (any emails sent to the Trashmail address are forwarded for a short period - there are limits with free accounts), and then use their Firefox plugin:

[attachthumb=1]

[attachthumb=2]

unfortunately most of mailinator's domains are blacklisted

Yep, you'll find that with most disposable email providers, here's a list from 2012 of domains then used.
113  Main Area and Open Discussion / General Software Discussion / Re: can you help me with this design on: March 12, 2015, 09:56:13 PM
Salvador Dali?
114  Main Area and Open Discussion / General Software Discussion / Re: Need help guidance as a beginner of Android world on: March 12, 2015, 09:50:27 PM
On my devices, it's Settings -> Data Usage -> [3 dots menu in top-right corner] -> Mobile hotspots.

Got that too, never noticed though  Grin

Personally, I use AFWall+ which allows a much finer degree of control but requires root:

[attachthumb=1]
115  Main Area and Open Discussion / General Software Discussion / Re: can you help me with this design on: March 12, 2015, 09:03:58 PM
Are you looking for Spirograph?

Now there's a blast from the past  Grin
116  Main Area and Open Discussion / General Software Discussion / Re: Need help guidance as a beginner of Android world on: March 12, 2015, 07:46:13 PM
I searched for recycle bin and found that most blog and forums suggested Dumpster

They must of updated it a bit from when I tried it.  Well done for finding one that works for you.

Quote
I installed it and deleted one photo from gallery.

Try it with a file deleted from the MicroSD card, (if you have one installed), since KitKat allows files operations on internal storage without too much in the way of problems.

And just as a matter of interest, what version of Android is it running, (Settings->About phone->Android version) ?

Quote
I liked some of the apps at f-droid, thanks ewemoa, but is it safe to use apps from it ? Any users of it ?

Yes, F-Droid is fine if you don't want to be dragged into the Play store all the time.

Also I need anti-virus.

No, you don't.

Agree with eleman here, but I do run a firewall mainly ensure apps do not access networks they're not supposed to, eg. VPN, LAN, Roam, Data.  The one I run is of limited use to you as it requires root access.

Don't know if it's specific to my phone, (which is basically the same as the A6000 with a lower screen resolution), but if you go to Settings->Networked apps you can set which apps you've downloaded have access to Mobile Data and/or Wi-Fi.

[attachthumb=1]
117  Main Area and Open Discussion / General Software Discussion / Re: can you help me with this design on: March 12, 2015, 04:19:29 PM
Since you know what you're talking about why don't you draw it, scan it, and post it so that we have some idea what you're thinking of?

Or even what it's for?
118  DonationCoder.com Software / Finished Programs / Re: DONE: Move files, replace with shortcuts to those files on: March 12, 2015, 07:22:47 AM
Requires Shortcut.exe from here, put it in C:\Scripts or edit the command file to point to where you've copied it.

MovenShortcut.cmd

Installation:
Copy it somewhere.

Running:
Double-click it.

Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. @if (@CodeSection == @Batch) @then
  2.  
  3.    @echo off
  4.    color 1a
  5.    setlocal EnableExtensions
  6.    setlocal DisableDelayedExpansion
  7.  
  8.    echo Select SOURCE folder
  9.    for /F "delims=" %%S in ('CScript //nologo //E:JScript "%~F0"') do (
  10.        set srce=%%S
  11.    )
  12.    if "%srce%"=="" goto :End2
  13.    echo Selected folder: "%srce%"
  14.  
  15.    echo Select DESTINATION folder
  16.    for /F "delims=" %%D in ('CScript //nologo //E:JScript "%~F0"') do (
  17.       set dest=%%D
  18.    )
  19.    if "%dest%"=="" goto :End2
  20.  
  21.    echo Selected folder: "%dest%"
  22.  
  23.    if "%srce%"=="%dest%" goto :End1
  24.  
  25.    :GetExt
  26.    echo.
  27.    set /P ext=Please enter extension [eg. jpg] ENTER to exit:
  28.    if %ext%=="" goto :End2
  29.  
  30.    for /r "%srce%" %%a in (*.%ext%) do (call :ProcessFile "%%~fa")
  31.  
  32.    :End
  33.    set ext=
  34.    goto :GetExt
  35.  
  36.    :End1
  37.    color 1c
  38.    echo **** SOURCE and DESTINATION are the same! ****
  39.    :End2
  40.    set srce=
  41.    set dest=
  42.    pause
  43.    exit
  44.  
  45.    :ProcessFile
  46.    setlocal
  47.    if not exist "%dest%\%~nx1" goto :move2
  48.    :loop
  49.    set /a fileCounter+=1
  50.    set "fileName=%~n1__%filecounter%%~x1"
  51.    if exist "%dest%\%fileName%" goto :loop
  52.    move "%~1" "%dest%\%filename%"
  53. rem Full path to Shortcut.exe
  54.    C:\Scripts\shortcut.exe /F:"%~dpn1.lnk" /A:C /T:"%dest%\%filename%"
  55.    goto :endProcessFile
  56.  
  57.    :move2
  58.    move "%~1" "%dest%"
  59. rem Full path to Shortcut.exe
  60.    C:\Scripts\shortcut.exe /F:"%~dpn1.lnk" /A:C /T:"%dest%\%~nx1"
  61.  
  62.    :endProcessFile
  63.    endlocal
  64.    goto :eof
  65.  
  66.    endlocal
  67.    End of Batch section
  68.  
  69.  
  70. // JScript section
  71.  
  72. // Creates a dialog box that enables the user to select a folder and display it.
  73. var title = "Select a folder", rootFolder = 0x11;
  74. var shl = new ActiveXObject("Shell.Application");
  75. var folder = shl.BrowseForFolder(0, title, 0, rootFolder);
  76. WScript.Stdout.WriteLine(folder ? folder.self.path : "");

File collisions will be renamed: {filename}__{number}.{ext}

So goes the theory.
119  Main Area and Open Discussion / General Software Discussion / Re: can you help me with this design on: March 12, 2015, 03:52:19 AM
Are you talking about helical forms?

120  DonationCoder.com Software / Finished Programs / Re: DONE: Move files, replace with shortcuts to those files on: March 12, 2015, 12:41:30 AM
And how do you handle file collision?
121  Main Area and Open Discussion / General Software Discussion / Re: Need help guidance as a beginner of Android world on: March 11, 2015, 07:13:41 PM
I installed ES F.E. and enabled recycle bin, but it different from what I want. It will only put in bin those files deleted from ESFE and not from, say, photo gallery.

I want system wide recycle bin. Any suggestion ?

AFAIK, there isn't any that will work 100% reliably, (having tried a few), and since you're running unrooted Android KitKat OS there isn't any at all, (again AFAIK).

Under an unmodified KitKat, (Android 4.4), any app that requires write access to external storage is severely restricted in that it can only write to folders it creates/controls - the OS dictates this.  Any form of Recycle Bin would need global write access to all storage in order to restore deleted items, KitKat doesn't allow this.  

If you require a global Recycle Bin that works across all your storage media then your options are limited:
  • Upgrade to Lollipop (Android 5)
  • Downgrade to Jelly Bean (Android 4.3)
  • Root your phone, (will generally void any warranty - depends how anal the manufacturer/retailer is), and modify the media write permissions (there are apps in the Play store to do the permission modification)

Given that it's a new phone and possible inclination against voiding the warranty, your best option is to wait to see if Lenovo release Android 5 for your phone.

NOTE: There may indeed be a Recycle Bin app that'll work globally under KitKat (I still can't see how it would without root) - you'd need to trawl the Play store to find it though.
122  Main Area and Open Discussion / General Software Discussion / Re: Need help guidance as a beginner of Android world on: March 10, 2015, 01:23:29 PM
First On/Off option:

[attach]

You only need root access if you want to use things like its Root Explorer, (for looking through the system files).

Your problem is that you have Android KitKat and under that you're severely limited in where apps can write to the SD card.  You'd either have to keep using the system default file manager, root the device to change the external media write policy, or upgrade to Android Lollipop.
123  Main Area and Open Discussion / General Software Discussion / Re: Need help guidance as a beginner of Android world on: March 10, 2015, 06:43:29 AM
2. Undelete or Recycle option - To restore files deleted by mistake.

Use ES File Explorer rather than whatever file manager comes with the device - it has a Recycle Bin.

Undeleting files on an Android device has never been successful for me, both from internal storage and MicroSD, (even when pulled and put in a card reader).

Quote
5. PDF reader - Small just for reading pdf files.

I use Xodo PDF Reader & Editor.
124  Main Area and Open Discussion / Living Room / Re: Please help superboyac build a server (2013 edition). on: March 09, 2015, 07:17:33 PM
That was quick  Grin
125  Main Area and Open Discussion / Living Room / Re: Please help superboyac build a server (2013 edition). on: March 09, 2015, 06:48:37 PM
SnapRAID has a third party GUI, (Elucidate), that'll help with scheduling, syncing, etc but you'll still need to hit the CLI if you have to do a restore, (they haven't done that bit yet).

Re. SnapRAID, check your Volume Serial Numbers are all different, as per http://sourceforge.net/p/...n/1677233/thread/1e509458
Pages: Prev 1 2 3 4 [5] 6 7 8 9 10 ... 150 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.153s | Server load: 0.01 ]


Share on Facebook
submit to reddit