Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
123 views
in Technique[技术] by (71.8m points)

iMacros Chrome Extension SAVEAS TYPE issue

I've been able to figure out how to ensure the iMacros Chrome extension saves files in the location I would like them to be saved. But I am still running into an issue where some sites are saving via direct download and not allowing the iMacros extension to change the file name or the file type.

ONDOWNLOAD FOLDER=* FILE=* WAIT=YES
'scripted download step
SET !EXTRACT {{!DOWNLOADED_FILE_NAME}}
TAB OPEN
TAB T=2
URL GOTO={{!DOWNLOADED_FILE_NAME}}
SAVEAS TYPE=? FOLDER=* FILE=FileName.abc

Now I can use the supported options for SAVEAS TYPE=(CPL|MHT|HTM|TXT|EXTRACT|BMP|PNG|JPEG) and it will save, for example with EXTRACT "FileName.abc.csv". My question is if there's a way to have it save as just "FileName.abc".


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...