topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday November 12, 2025, 7:54 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 75 76 77 78 79 [80] 81 82 83 84 85 ... 225next
1976
General Software Discussion / Re: can you help me with this design
« Last post by 4wd on March 12, 2015, 04:19 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?
1977
Finished Programs / Re: DONE: Move files, replace with shortcuts to those files
« Last post by 4wd on March 12, 2015, 07:22 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.

Code: Text [Select]
  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. @end
  69.  
  70.  
  71. // JScript section
  72.  
  73. // Creates a dialog box that enables the user to select a folder and display it.
  74. var title = "Select a folder", rootFolder = 0x11;
  75. var shl = new ActiveXObject("Shell.Application");
  76. var folder = shl.BrowseForFolder(0, title, 0, rootFolder);
  77. WScript.Stdout.WriteLine(folder ? folder.self.path : "");

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

So goes the theory.
1978
General Software Discussion / Re: can you help me with this design
« Last post by 4wd on March 12, 2015, 03:52 AM »
Are you talking about helical forms?

1979
Finished Programs / Re: DONE: Move files, replace with shortcuts to those files
« Last post by 4wd on March 12, 2015, 12:41 AM »
And how do you handle file collision?
1980
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.
1981
First On/Off option:

Screenshot_2015-03-11-05-00-58-1717167726.jpg

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.
1982
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).

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

I use Xodo PDF Reader & Editor.
1983
Living Room / Re: Please help superboyac build a server (2013 edition).
« Last post by 4wd on March 09, 2015, 07:17 PM »
That was quick  ;D
1984
Living Room / Re: Please help superboyac build a server (2013 edition).
« Last post by 4wd on March 09, 2015, 06:48 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.n...7233/thread/1e509458
1985
General Software Discussion / Re: VOIP - alternatives, PROs and CONs.
« Last post by 4wd on March 09, 2015, 01:49 AM »
I've got a Korean SK Internet phone. It looks just like a regular phone and works wonderfully.

I've tried Jitsi, but can never seem to get anyone to use it, so... pretty useless. :(

I would have thought you'd have RedPhone or something similar on your Android phone also :)
1986
Living Room / Re: Please help superboyac build a server (2013 edition).
« Last post by 4wd on March 09, 2015, 01:37 AM »
Just wondering, if your talking about a lot of files that rarely change, eg. a reasonably static file server or even some of the drives having static contents, would it be worth your while to use some form of "snapshot" RAID on them rather than a full blown RAID solution?

eg. SnapRAID, disParity - both free, or FlexRAID - not free.

Those are the ones that will work with existing filesystems, ie. you don't need to reformat to some other filesystem, (eg. ReiserFS, ZFS, etc).

That way you won't get the performance hit associated with a normal RAID system.
1987
Living Room / Re: 10th Anniversary - long time member check-in thread
« Last post by 4wd on March 06, 2015, 05:48 PM »
2015-03-07 10_45_37.jpg

Distraction while typing mouser?
1988
A lot of tracking between sites is also done through the HTML referrals, which is where RefControl comes in.
If you set it to Forge then it uses the URL of the destination site as the referrer, is. the request appears to be coming from within the site itself.

In the 1+ years I've been running it I think I've got less than 10 sites whitelisted to send Normal referrer.  These are usually login pages that are on the same server but use a different sub-domain.
1989
Turn off Third Party Cookies in the Firefox options - I think I only ever came across one or two sites that wouldn't work unless it was enabled so it was easier just not to go to those sites.

Otherwise, Self-Destructing Cookies is probably good enough, turn on the Strict Cookie Policy and reduce the cookie kill time to something short.
1990
My main anti-tracking add-ons in order of effectiveness, (most effective at top), would probably be:
RefControl - Works before you land on a site.
Request Policy - Works when you are on a site.
Self-Destructing Cookies - Works after you've left a site.
Bluhell Firewall - Picks up the odd link you click on that goes via a marketing/tracking site, (eg. doubleclick.com).
Ghostery
AdBlock Latitude

Ghostery and AdBlock are only really useful while on a site to stop visual annoyances, Request Policy catches anything requiring 3rd party site communication.

These are all only really useful during a browsing session, (I don't have a disk-based cache).

Besides all that: Router based ad blocking
1991
General Software Discussion / Re: metadata
« Last post by 4wd on March 05, 2015, 05:23 PM »
If you're going to look at some form of Enterprise Content Management System, Document Management Software, or Digital Asset Manager, I'd suggest the first thing you do is look at and understand the following:

5 Good Reasons to Avoid DAM Software

Especially points 2 and 4.

If you still think you need some form of management software, there's a link to a list of DMS' given.

You need to do the research into this, we can't tell you what your company needs are, (eg. is it always going to be just documents).
1992
Post New Requests Here / Re: IDEA: Long left click as Right Click
« Last post by 4wd on March 05, 2015, 05:03 PM »
EDIT: Well, after using it for a bit, it seems to stop working after a little. I have to close and re-open it for it to work again. Any ideas as to why?

Not really, TBH the blocking of the mouse event over specific controls is probably a bit of a hack so I'm not sure what the long term effects of doing it might be.

Do you have more info regarding this, eg. mainly working in which windows before it stops, etc. ?

The previous version without the Window/Control class workaround seemed to go quite well when I was testing just using Pale Moon, Desktop, & DOpus but it's a bit hard to test every combination.
1993
Post New Requests Here / Re: IDEA: Long left click as Right Click
« Last post by 4wd on March 05, 2015, 12:53 AM »
I've fiddled with the code a bit and I've got it working for IE, Explorer and Dragon, (Comodo' version of Chrome - so it should work with Chrome).

Basically, I did what I mentioned above - if the window and control classes match an entry in the ini file on a PMB down action, the default processing is blocked.

If the PMB up action occurs within the timeout period, then a MouseClick("primary") is sent.  If a timeout occurs before a PMB up happens, then a MouseClick("secondary") is sent.

Code: AutoIt [Select]
  1. #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
  2. #AutoIt3Wrapper_Icon=favicon.ico
  3. #AutoIt3Wrapper_Res_Description=Causes a Secondary Mouse Button click when Primary Mouse Button is held down for a predetermined time
  4. #AutoIt3Wrapper_Res_Fileversion=0.0.0.5
  5. #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
  6. #AutoIt3Wrapper_Res_LegalCopyright=Nobody
  7. #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
  8. #cs ----------------------------------------------------------------------------
  9.         Uses MouseOnEvent UDF by MrCreatoR
  10.         http://www.autoitscript.com/forum/topic/64738-mouseonevent-udf/
  11.  
  12.         Icon by Martin Berube (http://www.how-to-draw-funny-cartoons.com/)
  13.         http://www.iconarchive.com/show/animal-icons-by-martin-berube/mouse-icon.html
  14.  
  15.         LMB2R - Causes a SMB click after holding down the PMB for a secified time.
  16.  
  17.         In comments: PMB = Primary Mouse Button
  18.         SMB = Secondary Mouse Button
  19. #ce ----------------------------------------------------------------------------
  20.  
  21. #include <WinAPI.au3>
  22. #include <Array.au3>
  23. #include "MouseOnEvent.au3" ; MouseOnEvent UDF
  24.  
  25. HotKeySet("^+!x", "_Exit") ; Emergency Exit hotkey (Ctrl+Alt+Shift+x)
  26. OnAutoItExitRegister(_Exit) ; Call the _Exit routine when the program is terminated somehow
  27.  
  28. ; Set up the tray menu
  29. Opt("TrayMenuMode", 3)
  30. Opt("TrayOnEventMode", 1)
  31. TrayCreateItem('Exit', -1, -1, 0)
  32. TrayItemSetOnEvent(-1, '_Exit')
  33.  
  34. ; Set the .ini filename
  35. ; Time PMB should be held down before interpreting as a SMB click (milliseconds)
  36. Global $iTime = IniRead($sIniFile, "Settings", "Time", "500")
  37. ; Max distance mouse can move while waiting for the above (pixels)
  38. Global $iZone = IniRead($sIniFile, "Settings", "Zone", "5")
  39. ; List of Window Classes to delay PMB action on
  40. Global $aWinClass = IniReadSection($sIniFile, "Windows")
  41.  
  42. Global $aMpos, $iStart = 0, $bBlocked = False
  43.  
  44. ; Hook into the PMB events
  45. _MouseSetOnEvent($MOUSE_PRIMARYDOWN_EVENT, "_PrimaryDown")
  46. _MouseSetOnEvent($MOUSE_PRIMARYUP_EVENT, "_PrimaryUp")
  47.  
  48. While 1 ; Thumb twiddling loop
  49.         Sleep(10)
  50.         ; If the PMB was pressed, check to see how long for
  51.         If $iStart > 0 And TimerDiff($iStart) >= $iTime Then
  52.                 $aDeltaMPos = MouseGetPos()
  53.                 ; Check to see if mouse has moved outside defined limit
  54.                 If Abs($aDeltaMPos[1] - $aMpos[1]) <= $iZone And _
  55.                                 Abs($aDeltaMPos[0] - $aMpos[0]) <= $iZone Then
  56.                         ; All OK then do a SMB click and reset the timer
  57.                         MouseClick("secondary")
  58.                         $iStart = 0
  59.                         ; Clear flag, (from cancelled PMB), so that if we cancel context menu by
  60.                         ; clicking elsewhere we don't get something weird happening from extra PMB click
  61.                         $bBlocked = False
  62.                 Else
  63.                         ; Mouse moved too far so just reset the timer
  64.                         $iStart = 0
  65.                 EndIf
  66.         EndIf
  67.  
  68. Func _Exit()
  69.         ; Release the event hooks and Exit
  70.         _MouseSetOnEvent($MOUSE_PRIMARYDOWN_EVENT)
  71.         _MouseSetOnEvent($MOUSE_PRIMARYUP_EVENT)
  72.         Exit
  73. EndFunc   ;==>_Exit
  74.  
  75. Func _PrimaryDown() ; PMB pressed
  76.         $aMpos = MouseGetPos() ; Get current mouse position
  77.         $iStart = TimerInit() ; Initialise the timer
  78.         Local $tPoint = _WinAPI_GetMousePos() ; Pointers to mouse position
  79.         Local $hWnd = _WinAPI_WindowFromPoint($tPoint) ; Get handle of control under mouse using coords
  80.         Local $ClassName = _WinAPI_GetClassName($hWnd) ; Get Control classname
  81.         Local $hParent = _WinAPI_GetAncestor($hWnd, $GA_ROOT) ; Get handle of the root window for the control
  82.         Local $sParent = _WinAPI_GetClassName($hParent) ; Get root window classname
  83.  
  84.         ; Search in array for matching window classname
  85.         Local $iIndex = _ArraySearch($aWinClass, $sParent, 1, 0, 0, 1, 1, 1)
  86.         Switch $iIndex
  87.                 Case 0, -1 ; No matching Window class found
  88.                         Return 0 ; Do not Block the default processing
  89.                 Case Else ; Matching Window class found
  90.                         ; Search in string for matching control classname
  91.                         Local $temp = StringInStr($aWinClass[$iIndex][1], "|" & $ClassName)
  92.                         Switch $temp
  93.                                 Case 0, -1 ; No matching Control class found
  94.                                         Return 0 ; Do not Block the default processing
  95.                                 Case Else ; Matching Control class found
  96.                                         $bBlocked = True ; Set a flag for when the button is released
  97.                                         Return 1 ; Block the default processing
  98.                         EndSwitch
  99.         EndSwitch
  100. EndFunc   ;==>_PrimaryDown
  101.  
  102. Func _PrimaryUp() ; PMB released
  103.         ; If the timer is less than the timeout reset it otherwise it accumulates
  104.         ; If it's longer than the timeout the Thumb Twiddling Loop will take care of it
  105.         If TimerDiff($iStart) < $iTime Then
  106.                 $iStart = 0
  107.                 If $bBlocked Then ; If PMB down was previously blocked, send PMB and clear flag
  108.                         MouseClick("primary")
  109.                         $bBlocked = False
  110.                 EndIf
  111.         EndIf
  112.         Return 0 ; Do not Block the default processing
  113. EndFunc   ;==>_PrimaryUp

.ini now contains Window and Control classnames for recalcitrant windows.

Code: Text [Select]
  1. [Settings]
  2. Time=500
  3. Zone=5
  4. [Windows]
  5. Window1=CabinetWClass|Edit
  6. Window2=IEFrame|Edit
  7. Window3=Chrome_WidgetWin_1|Chrome_WidgetWin_1

For any other windows just add a line:
Window(x)=<window classname>|<control classname>       where (x) is the next number in the sequence (it actually doesn't matter what the key name is as only the value is used).

To help you get the Window & Control classname there's a small program called Classnames.exe, (source included), that will display the classname of the Window & Control class under the pointer, eg.

2015-03-05 19_44_02.jpg

Exit it using the tray menu.

Modified my original post above.
1994
General Software Discussion / Re: Avoid AdBlock Plus for Android!
« Last post by 4wd on March 04, 2015, 08:24 PM »
What ads are you talking about?

Ones that appear in the browser(s) or that are pushed through to apps?

Just asking because I rarely see any ads, apps that don't need net access are blocked via the firewall from ever accessing the net, (even if they think they do need it).

There's also various AirPush ad framework detectors if you want to see what apps are using them.  (After running New AirPush Detector over my tablet all it could find was K-9 Email which pushes notifications).
1995
General Software Discussion / Re: Avoid AdBlock Plus for Android!
« Last post by 4wd on March 04, 2015, 06:39 PM »
FWIW, I use AdAway which updates the hosts file to loopback any ad servers - probably not as all-encompassing as ABPfA is supposed to be but then it doesn't use any CPU cycles or data unless I'm running it to update the hosts file.
1996
General Software Discussion / Re: Avoid AdBlock Plus for Android!
« Last post by 4wd on March 04, 2015, 06:09 PM »
Isn't it that ABPfA is acting as a proxy on Android?

Therefore practically all your tablets traffic is going to appear to be originating from that app.
1997
Apparently you can never have too many:

IMG_2001.JPG

Plus the monster:

AVOMeter 01.jpg

One thing about an analogue meter: "It don't need no steenkin' batteries to measure voltage and current."

 ;D
1998
Check the EventLog for anything else happening at the associated time.

Also, do a backup and try GhostBuster to remove all redundant drivers from the system, if that doesn't make a difference, then I'd probably remove the motherboard drivers and see if it works OK on the default Windows versions.

Failing that, you may have a hardware problem with the USB sockets no longer providing enough contact pressure to ensure reliable connection.  No really easy fix for this but one thing I've done is slightly squeeze the plug in my fingers.
You can see in the image that this slightly bows the USB plug shield which increases the contact pressure a little.  YMMV, but I've done it to good effect over the years, just don't go overboard on the pressure.

IMG_1999.JPG

Another idea, I have a netbook with a USB port problem where anything plugged in will appear/disappear whenever the plug/cable is moved slightly, pulling out the USB plug slightly, (1 or 2 mm), fixes it.
1999
Living Room / Re: wireless networking and wifi printer help
« Last post by 4wd on March 03, 2015, 05:36 PM »
The much more sedate windows name resolution (NetBIOS) frequently suffers at the hands of overzealous security software blocking the name broadcasts causing them to not resolve. Typically this is mitigated by using a static address for the printer, and pointing the print driver's port at the static address.

 :wallbash:

You have just answered a problem I was having with a friend's network printer ... have a beer on me  :Thmbsup:
2000
You do realise that we will want to see assembled photos of this monumental effort?

Purely so we can rest easy knowing we won't have to go through it again ... even if it is by proxy  :P
Pages: prev1 ... 75 76 77 78 79 [80] 81 82 83 84 85 ... 225next