You are here: PSPad forum > English discussion forum > Re: Link to a folder in a txt file is possible ?

Re: Link to a folder in a txt file is possible ?

#1 Link to a folder in a txt file is possible ?

Posted by: Esgrimidor | Date: 2019-01-13 15:04 | IP: IP Logged

I observ is possible in pspad link to a web page.

Is it possible to link to a folder ?

to a file ?

to a programa ?

Best Regards

I observ there is an option in the contextual menu for Open Selected file in the default application .....

Any alternative ?

--
Nice program indeed

Options: Reply | Quote | Up ^


#2 Re: Link to a folder in a txt file is possible ?

Posted by: Gabriel_ACE | Date: 2019-01-14 15:13 | IP: IP Logged

no

becauses how pspad will know if the string is path or only descriptive text ?

Options: Reply | Quote | Up ^


#3 Re: Link to a folder in a txt file is possible ?

Posted by: Esgrimidor | Date: 2019-01-14 16:27 | IP: IP Logged

I think is the same problem with an URL, but an URL is recognized perhaps with the help of an addon or plugin.

I was doing proofs and notepad don recognize an URL (is not clickable). Notepad++ the same behaviour.

Therefore in a plain text file we have to use an interpreter.. tongue sticking out smiley

By the moment I can launch a target folder with the contextual menu option I said before with no problem.
So I am writing the path in the line i want. Then select and right mouse clic and open selected file with default application.

This option (open selected file with default application) I think is from pspad, so perhaps i have that plugin or is a standard in the normal version.
smiling smiley

--
Nice program indeed

Options: Reply | Quote | Up ^


#4 Re: Link to a folder in a txt file is possible ?

Posted by: pspad | Date: 2019-01-15 14:11 | IP: IP Logged

Gabriel_ACE:
no

becauses how pspad will know if the string is path or only descriptive text ?

No it can't to know it.
File/folder path can contain spaces, URL like protocols not. So PSpad isn't able to take general text and duess where is end.

example:
I have some folder like e:\some folder name\and some other path in my disk and I want to highlight this folder.

Where is the folder path end?

Options: Reply | Quote | Up ^


#5 Re: Link to a folder in a txt file is possible ?

Posted by: Esgrimidor | Date: 2019-01-15 19:52 | IP: IP Logged

Anyway I am applying the option in the contextul menu Open Selected file with the default Application. Goes Wonderful !!!!!!!!!!!!!!!!

Is for a simple txt file i am using for year to write down my works.
Each work has a windows folder assigned.
Now I can go !!!!!!!!

I put by example :
436.18 Comprobación substitucion piezas por otras sin autori
Y:\GABINETE\PROYECTOS\436.18

I selected with the mouse the text Y:\GABINETE\PROYECTOS\436.18 and launch with the right click option of the mouse.
You can use too for programs, files, urls.....

Let me see with a .lnk file... :
No. I suppose because a lnk file there is not exist a default application to open it.
And a folder with spaces in the path ... :

Y:\DATOS PARA EL RECUERDO\coreldrw\curriculum y busqueda trabajo

Wonderfully opened !!!!!!!!

smiling smiley

Can I launch PsPad from inside Pspad ?¿?¿?¿?¿?¿?¿

let me see

Y:\PORTABLES\DESARROLLO\PSPad\PSPad.exe

Eureka !!!!!!! It's working like a charm !!!!!!!!

I can launch video or audio files too
I have a script a long time ago to select a line of text. I am using the Control+. for this purpose

Can I have a script to select a text and remain selected to be launched ?

It was easy . I don't remember the environment : AHK, Autoit, phrase express.....
Can I with Pspad write a script for these and assign a hotkey ?

--
Nice program indeed

Options: Reply | Quote | Up ^


#6 Re: Link to a folder in a txt file is possible ?

Posted by: Esgrimidor | Date: 2019-01-15 22:56 | IP: IP Logged

Can I do a script to select from the cursor to the beginning of the line and then select the option in the contextual menu Open Selected file with the default application ?

It's very interesting !!!!!
smiling smiley

--
Nice program indeed

Options: Reply | Quote | Up ^


#7 Re: Link to a folder in a txt file is possible ?

Posted by: Gabriel_ACE | Date: 2019-01-18 12:08 | IP: IP Logged

Esgrimidor:
Can I do a script to select from the cursor to the beginning of the line and then select the option in the contextual menu Open Selected file with the default application ?

It's very interesting !!!!!
smiling smiley

eso que dijiste si se puede master! (ya me di cuenta que hablas españo como yo jajajaj)

Options: Reply | Quote | Up ^


#8 Re: Link to a folder in a txt file is possible ?

Posted by: Esgrimidor | Date: 2019-02-01 00:11 | IP: IP Logged

Gabriel_ACE:
Esgrimidor:
Can I do a script to select from the cursor to the beginning of the line and then select the option in the contextual menu Open Selected file with the default application ?

It's very interesting !!!!!
smiling smiley

eso que dijiste si se puede master! (ya me di cuenta que hablas españo como yo jajajaj)

Can you do that script ? (puedes hacer ese programa ? )

--
Nice program indeed

Options: Reply | Quote | Up ^


#9 Re: Link to a folder in a txt file is possible ?

Posted by: Gabriel_ACE | Date: 2019-02-01 19:42 | IP: IP Logged

disculpa, no tengo los conocimientos de javascript nesesarios para eso

si no con gusto te ayudaba

Options: Reply | Quote | Up ^


#10 Re: Link to a folder in a txt file is possible ?

Posted by: Esgrimidor | Date: 2019-02-04 13:26 | IP: IP Logged

Ejem. I know is possible too. Now to wait someone that can help with the corresponding script.

smiling smiley

--
Nice program indeed

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2019 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR