AppleScript
$5-10 USD
Оплачується при отриманні
Hello,
I have an Applescript and need some additions.
The current script is below. It basically saves the contents of the clipboard to a text file.
I need an addition to the script, keeping the current way of setting the filepath/filename etc.
I need a way to specify/give it a specific position to paste into the text file, with the text from the clipboard. EG: <<PASTETEXT1HERE>>
CURRENT SCRIPT
-- Set folder and file name
set baseFolderName to "WEBTASTIC:FOR-SALE:UPLOADER-FAKE:"
set outputFileName to "[url removed, login to view]"
get path to desktop folder
-- Now construct the folder name
set fldrName to (result as string) & baseFolderName
-- ? and finally, the full path name
set fn to fldrName & outputFileName
-- Now the original script modified to use the
-- hard coded strings
the clipboard as ?class utf8?
set d to the clipboard as ?class utf8?
set fid to open for access fn with write permission
write d to fid
close access fid
ID Проекту: #2722532