ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

OU and OK (for 4wd)

(1/1)

Contro:
I am here again.
OpenUrls is a magical script for me . OU .

I have a friend that consider the most simple ways to organize. He organizes his knowledge in folders.
Folder is a basic concept in windows operating system.
When we use the group url concept from Firefox we are depending on a program : Firefox and its addons. We change the browser and probably we have to adapt to a new situation.

That is one of the reasons i am in love with OpenUrls from 4wd.

A couple of years ago I introduce in my life the concept of initial help or initial document. Or initial Knowledge .

We all suffer the massive information from web and the necessary selection.

What I am asking now is similar to OpenUrls, but a little more powerful. Will be able to launch the urls within a folder and the pdf too, even if are shortcuts to somewhere else.

And a good name is Open Knowledge = OK


Perhaps in the future i would like to open the docs and the txt too. So I would like the possibility to configure the script.

Is possible ?
 :-*

4wd:
In the script, duplicate this line as many times as needed for each extension and then change the extension it looks for:


--- Code: Text ---for /f "usebackq tokens=*" %%a in (`dir /b /a-d *.url`) do (start "" "%%~a" && %windir%\system32\ping -n 1 -w 3000 1.1.1.1 >NUL)
Shortcuts:

--- Code: Text ---for /f "usebackq tokens=*" %%a in (`dir /b /a-d *.lnk`) do (start "" "%%~a" && %windir%\system32\ping -n 1 -w 3000 1.1.1.1 >NUL)
Microsoft doc(x):

--- Code: Text ---for /f "usebackq tokens=*" %%a in (`dir /b /a-d *.doc*`) do (start "" "%%~a" && %windir%\system32\ping -n 1 -w 3000 1.1.1.1 >NUL)
Adobe PDF:

--- Code: Text ---for /f "usebackq tokens=*" %%a in (`dir /b /a-d *.pdf`) do (start "" "%%~a" && %windir%\system32\ping -n 1 -w 3000 1.1.1.1 >NUL)
BTW, the 3000 changes the speed at which items are loaded in milliseconds, eg. 2000 = 2 seconds - don't set it less than 1000 otherwise who knows what'll happen.

Contro:
Sounds wonderful . I will try and comments the results.
But how can I have other entry in the contextual menu for this special purposes ?

P.D. I suppose is modifying the name of the script in the same destination folder in c:\scripts
and adding the recommended and preceptive lines.

 :-*

Contro:
I have add also the txt extension. I am ready to try now.

 :-*

Contro:
It's working perfect.
 :)

Navigation

[0] Message Index

Go to full version