tv_writetextfile without dialog

A forum dedicated to George scripting questions
Post Reply
tokejepsen
Posts: 19
Joined: 20 Aug 2015, 12:41

tv_writetextfile without dialog

Post by tokejepsen »

Hey,

I was wondering whether its possible to run the george command "tv_writetextfile" without the permission dialog appearing and blocking execution?
User avatar
Thierry
Site Admin
Posts: 2744
Joined: 07 Jan 2013, 08:28

Re: tv_writetextfile without dialog

Post by Thierry »

Hi tokejepsen,

There is an option in the Preferences > Interface panel named "George Alert: tv_WriteTextFile" that can prevent the permission dialog from appearing.
Si votre question a trouvé réponse, marquez votre sujet comme Résolu.
If your question has been answered, mark your topic as Solved.
User avatar
Bram Vermaas
Posts: 3
Joined: 08 Feb 2022, 13:46
Contact:

Re: tv_writetextfile without dialog

Post by Bram Vermaas »

Hi tokejepsen,

I'm a bit late to the party, but just in case you are still curious.

As a way of automatically giving writetextfile permission:
The preference setting that Thierry mentions is stored in a config.ini file as the line: georgecanwritefiledisplaypopup=1
The config file can be found here (tested for TVPaint 11):

Code: Select all

windows: %USERPROFILE%\AppData\Roaming\tvp animation <version> pro\default\config.ini
linux: ~/.tvp/tvp animation <version> pro/default/config.ini
jeremyb
Posts: 31
Joined: 31 Jul 2020, 08:52

Re: tv_writetextfile without dialog

Post by jeremyb »

Hi,
i've got same issue here.
No matter what, checked or not, after restart tvpaint checkbox always checked.
Capffture.PNG
Capffture.PNG (4.24 KiB) Viewed 4350 times
if i modify

Code: Select all

config.ini
after close tvpaint, file is reset and i lost modification.
There is no other way, to uncheck this box ?
WINDOWS 10 : 10.0.19044 Build 19044
TVPAINT : 11.5.3-64bit dec 3 2021
CPU : i9-9900
RAM : 64Go
CG: RTX 2080 SUPER 8go
jeremyb
Posts: 31
Joined: 31 Jul 2020, 08:52

Re: tv_writetextfile without dialog

Post by jeremyb »

Okay,
switching back to keep always [...] and Open [...], seems to reset somethings...because is working
unknown.png
unknown.png (24.38 KiB) Viewed 4340 times
WINDOWS 10 : 10.0.19044 Build 19044
TVPAINT : 11.5.3-64bit dec 3 2021
CPU : i9-9900
RAM : 64Go
CG: RTX 2080 SUPER 8go
Post Reply