Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change Chrome download directory, added new download to step - done #1035

Closed
beefstew151 opened this issue May 20, 2021 · 8 comments
Closed
Assignees
Labels

Comments

@beefstew151
Copy link

hi, anyone know how to change the directory of the downloaded file from the scripts?
I want to save my file into shared folder.

@kensoh
Copy link
Member

kensoh commented May 20, 2021

Hi @beefstew151, you can use this 1-line inside TagUI workflow to change the location - #567 (comment)

@kensoh kensoh self-assigned this May 20, 2021
@kensoh kensoh added the query label May 20, 2021
@kensoh kensoh changed the title how to change the chrome download directory How to change the Chrome download directory - use this 1-line to specify download directory May 20, 2021
@kensoh kensoh changed the title How to change the Chrome download directory - use this 1-line to specify download directory How to change Chrome download directory - use this 1 line to set download directory May 20, 2021
@kensoh kensoh added feature and removed query labels Jun 3, 2021
@kensoh kensoh changed the title How to change Chrome download directory - use this 1 line to set download directory How to change Chrome download directory, use this - to review a better way Jun 3, 2021
@kensoh
Copy link
Member

kensoh commented Jun 3, 2021

maybe a good solution is have a helper function

download_folder('some directory') to set location
location = download_folder() to get the location

this way, users can also know what's the current download folder

which defaults to the workflow folder

@kensoh
Copy link
Member

kensoh commented Jun 3, 2021

helper function if want to enabled 20+ languages also need some effort to add, because will need to run Google engine to generate and then update the dictionaries. but it is less effort than normal TagUI steps.

i'll also review if it make sense to add this to replace current download step

@beefstew151
Copy link
Author

maybe a good solution is have a helper function

download_folder('some directory') to set location
location = download_folder() to get the location

this way, users can also know what's the current download folder

which defaults to the workflow folder

thanks.. this will work

@kensoh
Copy link
Member

kensoh commented Jun 3, 2021

Thanks @beefstew151, I'll also review if replacing the current download step is possible. For eg

download to c:\downloads

vs

download_folder('c:\\downloads')

But if it is a function it has additional benefit of returning current folder to download.

@kensoh
Copy link
Member

kensoh commented Jun 8, 2021

Above commit adds this. Users can download the latest copy of TagUI with this and unzip to overwrite existing installation (please drag the folders under tagui\src to overwrite your existing installation) - https://github.com/kelaberetiv/TagUI/archive/master.zip

In the next release, this will become part of the packaged zip files.

Windows

download to c:\temp

macOS/Linux

download to /tmp

@kensoh kensoh changed the title How to change Chrome download directory, use this - to review a better way How to change Chrome download directory, use this - download to step - done Jun 8, 2021
@kensoh kensoh changed the title How to change Chrome download directory, use this - download to step - done How to change Chrome download directory, added new download to step - done Jun 8, 2021
@kensoh
Copy link
Member

kensoh commented Jun 18, 2021

Closing issue, change included in latest packaged release - https://github.com/kelaberetiv/TagUI/releases/tag/v6.46.0

@kensoh
Copy link
Member

kensoh commented Sep 23, 2021

Improved download to step to handle such scenarios where \u is used. See more info at #1110.

If you are using TagUI v6.46 and above, you can get this update with tagui update command or MS Word plug-in Update TagUI button. If not, you can get TagUI v6.46 from this installation page before performing the update.

For list of changes since TagUI v.6.46 release in mid-June, see this (link also found at TagUI installation page) -
https://github.com/kelaberetiv/TagUI/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+fixed+OR+done+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants