Edit Source URL

Summary: Lets you make changes to the source URLs of the selected records.
Requires: EagleFiler
Install Location: ~/Library/Scripts/Applications/EagleFiler/
Last Modified: 2019-10-02

Description

The source URL in the Info inspector is clickable rather than editable. If you need to edit the source URL you can use this script.

Installation Instructions · Download in Compiled Format · Download in Text Format

Script

tell application "EagleFiler"
    
set _records to selected records of browser window 1
    
tell library document 1
        
repeat with _record in _records
            
set _prompt to "Change source URL for “" & _record's title & "” to:"
            
set _oldSourceURL to _record's source URL
            
display dialog _prompt default answer _oldSourceURL buttons {"Cancel", "OK"} default button 2
            
set _newSourceURL to text returned of the result
            
set _record's source URL to _newSourceURL
        
end repeat
    
end tell
end tell