What's new

Script Release: Project Links V2

NateLiqGrav

Alibre Super User
Last edited:

DavidJ

Alibre Super User
Staff member
Seems to work OK. I did find filling in the information for link a bit tedious - couldn't see any simple cut/paste method to fill in the file path/name in one step (had to copy folder name from file properties, or file explorer address bar, then copy name from properties and manually add '/').

Creating as shortcut, then copying from properties of that worked, but required some editing. Again a a multi-step process.

I must be missing some simple method.
 

NateLiqGrav

Alibre Super User
Copy directly in grid works, paste directly in grid was giving me trouble so I removed it last minute. I'm planning to fix it and add it back in. Until then - paste only works when editing.

Holding shift and Right clicking on a file in Windows Explorer will let you Copy as Path. it wraps the full file path in quotation marks. The quotes currently need to be removed. That will save you some time though.

I couldn't figure a simple way to pick links. I want to support links to directories, links to files, and URLs. I'll figure something better out. Either way - right now it's no more difficult than adding links to a spreadsheet.
 

idslk

Alibre Super User
Hello Nate,
I want to support links to directories, links to files,
for this the Get_File_Link.py works, give it a try...

Edit:
I've added a simple Sring input for the URL. With this you can do a copy and paste and you'll get a string to use in the list...
upload_2019-5-23_13-53-6.png

upload_2019-5-23_13-53-31.png

as long as there's nothing better...

Regards
Stefan
 

Attachments

  • Get_File_Link_V02.py
    2.9 KB · Views: 8
Last edited:

DavidJ

Alibre Super User
Staff member
Nate thanks for the 'copy as path' hint - often stuff hidden in Windows that you'd never find. That certainly reduces the effort. I guess making something very flexible, and quick to use is a challenge...
 

NateLiqGrav

Alibre Super User
Once I get clipboard paste to work I will try making drag-n-drop work with the files/folders/URL as well.
 

NateLiqGrav

Alibre Super User
Project_Links_V2_Pic.png

Update! Project_Links_V2 with Copy/Paste of text and Drag&Drop support for linking URLs, Files, and Folders!
 

Attachments

  • Project_Links_V2.py
    24.7 KB · Views: 22
Top