-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtemp_cleaner_gui_r4.1.py
2261 lines (2045 loc) · 145 KB
/
temp_cleaner_gui_r4.1.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"""
The Project Temp_Cleaner GUI by Insertx2k Dev.
A simple temporary folders cleaning solution made by Insertx2k Dev under the GNU General Public License
That will help you free up a lot of disk space in your computer through erasing all the Temporary folders
Exist in almost all temporary folders directories either in your C:\ drive (Windows drive) or other drives.
~~Uses the same environment variables as in the version 1.32, except a renewed GUI.~~ - That no longer happens.
Free to modify and redistribute to fit in your needs as explained in the GNU General Public License v2.0 or later.
License for the Project Temp_Cleaner GUI.
A simple program made to help you erase temporary files in your Windows-based PC.
Copyright (C) 2021 - Insertx2k Dev (Mr.X)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
See github.com/insertx2k/temp_cleaner_gui
For a much better github page, try visiting https://insertx2k.github.io/temp_cleaner_gui
The program Temp_Cleaner GUI was previously Temp_Cleaner and it was using a CUI instead of a GUI.
"""
# defining the global variable that holds the font_size of the scrolledtext.ScrolledText widget
# named 'showLicense'
font_size = 14
print()
print("Greetings from the Temp_Cleaner GUI Project.")
print("By Insertx2k Dev (Mr.X)")
print("Github : https://github.com/insertx2k/temp_cleaner_gui")
print("Twitter : https://twitter.com/insertplayztw")
print()
print("Powered by Minimal Accessibility Pack v1.0 by Insertx2k Dev (Mr.X)")
print()
# Importing all the required 3rd party modules.
# from re import L -> This import was no longer required as of Update 3.1
from tkinter import *
# import WINTCMD -> This import was no longer required as of Update 3.1
from tkinter import messagebox
from tkinter import ttk
import os
from PIL import Image, ImageTk
import time
import configparser
from tkinter import filedialog
from tkinter import scrolledtext
import subprocess
from subprocess import PIPE
import awesometkinter as atk
import sys
# Defining the function that will get the current values of an configparser values.
GetConfig = configparser.ConfigParser()
GetConfig.read('Config.ini')
class MainWindowLightMode(Tk):
def __init__(self):
global GetConfig, font_size
super().__init__() # initializing the self.
# Trying to change the theme.
try:
# Changing the self's theme.
self.style = ttk.Style()
# self.style.theme_use("native")
except Exception as excpt:
print(f"The following exception had occured while trying to apply the theme 'native' \n {excpt}")
# self.configure(background='white')
try:
self.login = os.getlogin()
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
WindowNewTitle = f"The Temp_Cleaner GUI Project (v4.1) (Windows) Running On: {self.login}'s PC (Powered by Minimal Accessibility Pack v1.0)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
WindowNewTitle = f"(مدعم بواسطة حزمة ادوات امكانية الوصول الأدني الاصدار 1.0) (مدعم بواسطة حزمة اللغة العربية الاصدار 1.0) {self.login} الإصدار 4.1 يعمل علي جهاز Temp_Cleaner GUI مشروع "
else:
WindowNewTitle = f"The Temp_Cleaner GUI Project (v4.1) (Windows) Running On: {self.login}'s PC (Powered by Minimal Accessibility Pack v1.0)"
self.title(WindowNewTitle)
except Exception as excpt129:
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
WindowNewTitle = "The Temp_Cleaner GUI Project (v4.1) (Windows) (Powered by Minimal Accessibility Pack v1.0)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
WindowNewTitle = "(مدعم بواسطة حزمة ادوات امكانية الوصول الأدني الاصدار 1.0) (مدعم بواسطة حزمة اللغة العربية الاصدار 1.0) الإصدار 4.1 Temp_Cleaner GUI مشروع "
else:
WindowNewTitle = "The Temp_Cleaner GUI Project (v4.1) (Windows) (Powered by Minimal Accessibility Pack v1.0)"
self.title(WindowNewTitle)
self.geometry('1225x600')
# attempting to change the iconbitmap attribute of the window.
try:
self.iconbitmap("icon0.ico")
except Exception as excpt12: # better high level exception handling.
messagebox.showerror("ERROR 1 in ICONBITMAP", f"Unable to load icon file for this window due to exception:\n{excpt12}")
pass
self.minsize(1225,600)
# Changing the self's color.
# self.configure(background='black')
# Configuring the scrollbar to make it available for the main program's window.
# Create a main frame.
if str(GetConfig['ProgConfig']['appearancemode']) == '1': # light mode
self.main_frame = Frame(self)
self.main_frame.pack(fill=BOTH, expand=1)
# Create a canvas.
self.main_canvas = Canvas(self.main_frame)
self.main_canvas.pack(side=LEFT, fill=BOTH, expand=1)
# Add a scrollbar to the canvas
self.main_scrollbar = atk.SimpleScrollbar(self.main_frame, orient=VERTICAL, command=self.main_canvas.yview, bg=atk.DEFAULT_COLOR, slider_color='grey', width=12)
self.main_scrollbar.pack(side=RIGHT, fill=Y)
# Configure the canvas.
self.main_canvas.configure(yscrollcommand=self.main_scrollbar.set)
self.main_canvas.bind('<Configure>', lambda e: self.main_canvas.configure(scrollregion = self.main_canvas.bbox("all")))
# Create another frame INSIDE the canvas.
self.show_frame = Frame(self.main_canvas)
# Add that New frame to a window in the canvas.
self.main_canvas.create_window((0,0), window=self.show_frame, anchor="nw")
self.banner = PhotoImage(file="banner.png")
self.banner_show = Label(self.show_frame, image=self.banner, width=1200, height=300)
self.banner_show.grid(column=0, row=1, sticky='w')
elif str(GetConfig['ProgConfig']['appearancemode']) == '2': # dark mode.
self.main_frame = Frame(self, background=atk.DEFAULT_COLOR)
self.main_frame.pack(fill=BOTH, expand=1)
# Create a canvas.
self.main_canvas = Canvas(self.main_frame, background=atk.DEFAULT_COLOR)
self.main_canvas.pack(side=LEFT, fill=BOTH, expand=1)
# Add a scrollbar to the canvas
self.main_scrollbar = atk.SimpleScrollbar(self.main_frame, orient=VERTICAL, command=self.main_canvas.yview, bg=atk.DEFAULT_COLOR, slider_color='grey', width=12)
self.main_scrollbar.pack(side=RIGHT, fill=Y)
# Configure the canvas.
self.main_canvas.configure(yscrollcommand=self.main_scrollbar.set)
self.main_canvas.bind('<Configure>', lambda e: self.main_canvas.configure(scrollregion = self.main_canvas.bbox("all")))
# Create another frame INSIDE the canvas.
self.show_frame = Frame(self.main_canvas, background=atk.DEFAULT_COLOR)
# Add that New frame to a window in the canvas.
self.main_canvas.create_window((0,0), window=self.show_frame, anchor="nw")
self.banner = PhotoImage(file="banner.png")
self.banner_show = Label(self.show_frame, image=self.banner, width=1200, height=300, background=atk.DEFAULT_COLOR)
self.banner_show.grid(column=0, row=1, sticky='w')
self.style.configure('TLabelframe.Label', background=atk.DEFAULT_COLOR, foreground='white')
self.style.configure('Label', background=atk.DEFAULT_COLOR)
self.style.configure('Label', foreground='white')
self.style.configure('TLabelframe', background=atk.DEFAULT_COLOR, foreground='white')
self.style.configure('TCheckbutton', background=atk.DEFAULT_COLOR, foreground='white')
self.style.configure('label', foreground='white')
# self.style.configure('Vertical.TScrollbar', background=atk.DEFAULT_COLOR, foreground=atk.DEFAULT_COLOR)
else:
messagebox.showerror("Unsupported appearance mode in Config file", f"Unsupported appearance mode in config file: {str(GetConfig['ProgConfig']['appearancemode'])}.\nThe program will continue with the Light mode instead.")
self.main_frame = Frame(self)
self.main_frame.pack(fill=BOTH, expand=1)
# Create a canvas.
self.main_canvas = Canvas(self.main_frame)
self.main_canvas.pack(side=LEFT, fill=BOTH, expand=1)
# Add a scrollbar to the canvas
self.main_scrollbar = atk.SimpleScrollbar(self.main_frame, orient=VERTICAL, command=self.main_canvas.yview, bg=atk.DEFAULT_COLOR, slider_color='grey', width=12)
self.main_scrollbar.pack(side=RIGHT, fill=Y)
# Configure the canvas.
self.main_canvas.configure(yscrollcommand=self.main_scrollbar.set)
self.main_canvas.bind('<Configure>', lambda e: self.main_canvas.configure(scrollregion = self.main_canvas.bbox("all")))
# Create another frame INSIDE the canvas.
self.show_frame = Frame(self.main_canvas)
# Add that New frame to a window in the canvas.
self.main_canvas.create_window((0,0), window=self.show_frame, anchor="nw")
self.banner = PhotoImage(file="banner.png")
self.banner_show = Label(self.show_frame, image=self.banner, width=1200, height=300)
self.banner_show.grid(column=0, row=1, sticky='w')
# main_canvas.configure(background='black')
# main_frame.configure(background='black')
# self.show_frame.configure(background='black')
# Defining some informative labels inside of the Temp_Cleaner GUI's Window.
# self.banner = PhotoImage(file="banner.png")
# self.banner_show = Label(self.show_frame, image=self.banner, width=1200, height=300)
# self.banner_show.grid(column=0, row=1, sticky='w')
# Defining a sample get var functionaking a new checkbox.
# Defining the ON-OFF Like variable
self.var0 = StringVar()
self.var1 = StringVar()
self.var2 = StringVar()
self.var3 = StringVar()
self.var4 = StringVar()
self.var5 = StringVar()
self.var6 = StringVar()
self.var7 = StringVar()
self.var8 = StringVar()
self.var9 = StringVar()
self.var10 = StringVar()
self.var11 = StringVar()
self.var12 = StringVar()
self.var13 = StringVar()
self.var14 = StringVar()
self.var15 = StringVar()
self.var16 = StringVar()
self.var17 = StringVar()
self.var18 = StringVar()
self.var19 = StringVar()
self.var20 = StringVar()
self.var21 = StringVar()
self.var22 = StringVar()
self.var23 = StringVar()
self.var24 = StringVar()
self.var25 = StringVar()
self.var26 = StringVar()
self.var27 = StringVar()
self.var28 = StringVar()
self.var29 = StringVar()
self.var30 = StringVar()
self.var31 = StringVar()
self.var32 = StringVar()
self.var33 = StringVar()
self.var34 = StringVar()
self.var35 = StringVar()
self.var36 = StringVar()
self.var37 = StringVar()
self.var38 = StringVar()
self.var39 = StringVar()
self.var40 = StringVar()
self.var41 = StringVar()
self.var42 = StringVar()
self.var43 = StringVar()
self.var44 = StringVar()
self.var45 = StringVar()
self.var46 = StringVar()
self.var47 = StringVar()
self.var48 = StringVar()
self.var49 = StringVar()
self.var50 = StringVar()
self.var51 = StringVar()
self.var52 = StringVar()
self.var53 = StringVar()
self.var54 = StringVar()
self.var55 = StringVar()
self.var56 = StringVar()
self.var57 = StringVar()
self.var58 = StringVar()
self.var59 = StringVar()
self.var60 = StringVar()
self.var61 = StringVar()
self.var62 = StringVar()
self.var63 = StringVar()
self.var64 = StringVar()
# Defining the checkbox button.
# setting the proper language pack for the program's UI.
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text0 = "Recycle Bin Cleanup"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text0 = "منظف سلة المهملات"
else:
text0 = "Recycle Bin Cleanup"
self.lblframe0 = ttk.Labelframe(self.show_frame, text=text0)
# --------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text1 = "Empty Systemdrive Recycle Bin"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text1 = "تنظيف سلة مهملات قرص النظام"
else:
text1 = "Empty Systemdrive Recycle Bin"
self.clr_recyclebin_sysdrive_btn = ttk.Checkbutton(self.lblframe0, text=text1, variable=self.var0, onvalue="1", offvalue="0", command=None)
self.clr_recyclebin_sysdrive_btn.grid(column=0, row=3, sticky='w')
# ---------------------------
self.lblframe0.grid(column=0, row=2, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text2 = "DirectX Shader Cache Cleanup (Win 10/11 Only)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text2 = "تنظيف ذاكرة التخزين المؤقتة الخاصة بDirectX Shader"
else:
text2 = "DirectX Shader Cache Cleanup (Win 10/11 Only)"
self.lblframe1 = ttk.Labelframe(self.show_frame, text=text2)
# ---------------------------
self.clr_d3dscache_localappdata_btn = ttk.Checkbutton(self.lblframe1, text=text2, variable=self.var2, onvalue="1", offvalue="0", command=None)
self.clr_d3dscache_localappdata_btn.grid(column=0, row=5, sticky='w')
# ---------------------------
self.lblframe1.grid(column=0, row=4, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text3 = "System and User Specific Cleaners"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text3 = "منظف ملفات النظام الغير ضرورية وملفات المستخدم الخاصة الغير ضرورية"
else:
text3 = "System and User Specific Cleaners"
self.lblframe2 = ttk.Labelframe(self.show_frame, text=text3)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text4 = "Clean PrefetchW Files"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text4 = "منظف ملفات برنامج PrefetchW"
else:
text4 = "Clean PrefetchW Files"
self.clr_prefetchw_windir_btn = ttk.Checkbutton(self.lblframe2, text=text4, variable=self.var1, onvalue="1", offvalue="0", command=None)
self.clr_prefetchw_windir_btn.grid(column=0, row=7, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text5 = "Erase User Clipboard Content (Excluding Content you Copy and paste)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text5 = "تفريغ محتوي الحافظة (لا يتضمن المحتوي الذي تنسخه وتلصقه)"
else:
text5 = "Erase User Clipboard Content (Excluding Content you Copy and paste)"
self.clr_usrclipboard_content_btn = ttk.Checkbutton(self.lblframe2, text=text5, variable=self.var9, onvalue="1", offvalue="0", command=None)
self.clr_usrclipboard_content_btn.grid(column=0, row=8, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text6 = "Erase Windows Temporary Files"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text6 = "مسح الملفات المؤقتة الخاصة بنظام ويندوز الغير ضرورية"
else:
text6 = "Erase Windows Temporary Files"
self.clr_windir_temp_btn = ttk.Checkbutton(self.lblframe2, text=text6, variable=self.var3, onvalue="1", offvalue="0", command=None)
self.clr_windir_temp_btn.grid(column=0, row=9, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text7 = "Erase User Temporary Files"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text7 = "مسح الملفات المؤقتة الخاصة بالمستخدم الغير ضرورية"
else:
text7 = "Erase User Temporary Files"
self.clr_localappdata_temp_btn = ttk.Checkbutton(self.lblframe2, text=text7, variable=self.var4, onvalue="1", offvalue="0", command=None)
self.clr_localappdata_temp_btn.grid(column=0, row=10, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text8 = "Clean Default User Temporary Files"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text8 = "مسح الملفات المؤقتة الخاصة بالمستخدم الإفتراضي الغير ضرورية"
else:
text8 = "Clean Default User Temporary Files"
self.clr_default_usr_appdata_temp_btn = ttk.Checkbutton(self.lblframe2, text=text8, variable=self.var7, onvalue="1", offvalue="0", command=None)
self.clr_default_usr_appdata_temp_btn.grid(column=0, row=11, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text9 = "Clean IE (Internet Explorer) Cached data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text9 = "مسح ملفات متصفح مستكشف الإنترنت المؤقتة"
else:
text9 = "Clean IE (Internet Explorer) Cached data"
self.clr_inet_cached_data_btn = ttk.Checkbutton(self.lblframe2, text=text9, variable=self.var8, onvalue="1", offvalue="0", command=None)
self.clr_inet_cached_data_btn.grid(column=0, row=12, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text10 = "Clean Windows Explorer Thumbnails Cached Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text10 = "مسح ملفات مستكشف الويندوز الخاصة بالصور المصغرة"
else:
text10 = "Clean Windows Explorer Thumbnails Cached Data"
self.clr_msexplorer_thumbcacheddata_btn = ttk.Checkbutton(self.lblframe2, text=text10, variable=self.var10, onvalue="1", offvalue="0", command=None)
self.clr_msexplorer_thumbcacheddata_btn.grid(column=0, row=13, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text11 = "Clean User Recent Documents List"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text11 = "محو قائمة اخر ملفات تم فتحها"
else:
text11 = "Clean User Recent Documents List"
self.clr_winrecentdocs_list_btn = ttk.Checkbutton(self.lblframe2, text=text11, variable=self.var11, onvalue="1", offvalue="0", command=None)
self.clr_winrecentdocs_list_btn.grid(column=0, row=14, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text12 = "Clean Local Low Temporary Files"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text12 = "محو ملفات التخزين المؤقتة الخاصة بالمستخدم Local Low"
else:
text12 = "Clean Local Low Temporary Files"
self.clr_locallow_temporary_data_btn = ttk.Checkbutton(self.lblframe2, text=text12, variable=self.var41, onvalue="1", offvalue="0", command=None)
self.clr_locallow_temporary_data_btn.grid(column=0, row=15, sticky='w')
# ---------------------------
self.lblframe2.grid(column=0, row=6, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text13 = "Web Browser Cleaners"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text13 = "تنظيف متصفحات الإنترنت"
else:
text13 = "Web Browser Cleaners"
self.lblframe3 = ttk.Labelframe(self.show_frame, text=text13)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text14 = "Clean Google Chrome Browser Webcached data (Incl. GPUCache, Code Cache)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text14 = "تنظيف ملفات متصفح جوجل كروم المؤقتة (يتضمن ملفات وحدة معالجة الرسوميات المؤقتة وملفات التعليمات البرمجية)"
else:
text14 = "Clean Google Chrome Browser Webcached data (Incl. GPUCache, Code Cache)"
self.clr_gchrome_webcache_incl_gpucache_codecache_btn = ttk.Checkbutton(self.lblframe3, text=text14, variable=self.var5, onvalue="1", offvalue="0", command=None)
self.clr_gchrome_webcache_incl_gpucache_codecache_btn.grid(column=0, row=17, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text15 = "Clean Google Chrome Browser Cookies (Incl. Cookies-journal)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text15 = "تنظيف ملفات الكعكات الخاصة بمتصفح جوجل كروم"
else:
text15 = "Clean Google Chrome Browser Cookies (Incl. Cookies-journal)"
self.clr_gchrome_browser_cookies_btn = ttk.Checkbutton(self.lblframe3, text=text15, variable=self.var6, onvalue="1", offvalue="0", command=None)
self.clr_gchrome_browser_cookies_btn.grid(column=0, row=18, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text16 = "Clean Google Chrome Browser Extension Cookie Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text16 = "تنظيف ملفات الكعكات الخاصة بالمكونات الإضافية الخاصة بمتصفح جوجل كروم"
else:
text16 = "Clean Google Chrome Browser Extension Cookie Data"
self.clr_gchrome_extension_cookies_data_btn = ttk.Checkbutton(self.lblframe3, text=text16, variable=self.var33, onvalue="1", offvalue="0", command=None)
self.clr_gchrome_extension_cookies_data_btn.grid(column=0, row=19, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text17 = "Clean Steam Webclient HTML Cached data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text17 = "تنظيف الملفات المؤقتة الخاصة ببرنامج Steam"
else:
text17 = "Clean Steam Webclient HTML Cached data"
self.clr_steam_webclient_htmlcache_btn = ttk.Checkbutton(self.lblframe3, text=text17, variable=self.var14, onvalue="1", offvalue="0", command=None)
self.clr_steam_webclient_htmlcache_btn.grid(column=0, row=20, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text18 = "Clean Discord Webclient Webcached data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text18 = "تنظيف الملفات المؤقتة الخاصة ببرنامج الديسكورد"
else:
text18 = "Clean Discord Webclient Webcached data"
self.clr_discordwebclient_webcacheddata_btn = ttk.Checkbutton(self.lblframe3, text=text18, variable=self.var12, onvalue="1", offvalue="0", command=None)
self.clr_discordwebclient_webcacheddata_btn.grid(column=0, row=21, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text19 = "Clean Chromium-based Microsoft Edge Webcached data (Incl. GPUCache, Code cache)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text19 = "(code cache المؤقتة و gpu يتضمن ملفات) تنظيف الملفات المؤقتة الخاصة بمتصفح ادجي المبني علي كروميم "
else:
text19 = "Clean Chromium-based Microsoft Edge Webcached data (Incl. GPUCache, Code cache)"
self.clr_chromiumbased_msedge_webcached_data_btn = ttk.Checkbutton(self.lblframe3, text=text19, variable=self.var24, onvalue="1", offvalue="0", command=None)
self.clr_chromiumbased_msedge_webcached_data_btn.grid(column=0, row=22, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text20 = "Clean Chromium-based Microsoft Edge Cookie data (Incl. Cookies-journal)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text20 = "محو الكعكات الخاصة بمتصفح ادجي المبني علي كروميم"
else:
text20 = "Clean Chromium-based Microsoft Edge Cookie data (Incl. Cookies-journal)"
self.clr_chormiumbased_msedge_cookies_data_btn = ttk.Checkbutton(self.lblframe3, text=text20, variable=self.var25, onvalue="1", offvalue="0", command=None)
self.clr_chormiumbased_msedge_cookies_data_btn.grid(column=0, row=23, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text21 = "Clean Mozilla Firefox Webcached data (Incl. cache2, jumpListCache, and Shader Cache)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text21 = "Mozilla Firefox محو الملفات المؤقتة الخاصة بمتصفح "
else:
text21 = "Clean Mozilla Firefox Webcached data (Incl. cache2, jumpListCache, and Shader Cache)"
self.clr_mozilla_firefox_webcached_data_btn = ttk.Checkbutton(self.lblframe3, text=text21, variable=self.var59, onvalue="1", offvalue="0", command=None)
self.clr_mozilla_firefox_webcached_data_btn.grid(column=0, row=24, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text22 = "Clean Mozilla Firefox browser Cookie data (it is just a Sqlite file)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text22 = "Mozilla Firefox محو الكعكات الخاصة بمتصفح "
else:
text22 = "Clean Mozilla Firefox browser Cookie data (it is just a Sqlite file)"
self.clr_mozilla_firefox_cookies_sqlite_file_btn = ttk.Checkbutton(self.lblframe3, text=text22, variable=self.var60, onvalue="1", offvalue="0", command=None)
self.clr_mozilla_firefox_cookies_sqlite_file_btn.grid(column=0, row=25, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text23 = "Clean Discord Windows Client Squirrel Temp"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text23 = "الخاصة ببرنامج الديسكورد Squirrel Temp مسح ملفات"
else:
text23 = "Clean Discord Windows Client Squirrel Temp"
self.clr_discordapp_squirrel_temp_data_btn = ttk.Checkbutton(self.lblframe3, text=text23, variable=self.var40, onvalue="1", offvalue="0", command=None)
self.clr_discordapp_squirrel_temp_data_btn.grid(column=0, row=26, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text24 = "Clean Internet Explorer Cookies Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text24 = "مسح الكعكات الخاصة بمتصفح مستكشف الإنترنت"
else:
text24 = "Clean Internet Explorer Cookies Data"
self.clr_inetcookies_btn = ttk.Checkbutton(self.lblframe3, text=text24, variable=self.var17, onvalue="1", offvalue="0", command=None)
self.clr_inetcookies_btn.grid(column=0, row=27, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text25 = "Clean Internet Explorer Additional Cached Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text25 = "مسح الملفات المؤقتة الزائدة الخاصة بمتصفح مستكشف الإنترنت"
else:
text25 = "Clean Internet Explorer Additional Cached Data"
self.clr_additionalinet_cacheddata_btn = ttk.Checkbutton(self.lblframe3, text=text25, variable=self.var18, onvalue="1", offvalue="0", command=None)
self.clr_additionalinet_cacheddata_btn.grid(column=0, row=28, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text26 = "Clean Internet Explorer Downloads History Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text26 = "محو سجل التنزيلات الخاصة بمتصفح مستكشف الإنترنت"
else:
text26 = "Clean Internet Explorer Downloads History Data"
self.clr_iedownload_history_data_btn = ttk.Checkbutton(self.lblframe3, text=text26, variable=self.var19, onvalue="1", offvalue="0", command=None)
self.clr_iedownload_history_data_btn.grid(column=0, row=29, sticky='w')
# ---------------------------
self.lblframe3.grid(column=0, row=16, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text27 = "Photo Editors Cleanup"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text27 = "منظفات برامج تعديل الصور"
else:
text27 = "Photo Editors Cleanup"
self.lblframe4 = ttk.Labelframe(self.show_frame, text=text27)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text28 = "Clean GNU Image Manipulation Program's Temporary data (gimp's tmps)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text28 = "المؤقتة GNU Image Manipulation Program محو ملفات برنامج"
else:
text28 = "Clean GNU Image Manipulation Program's Temporary data (gimp's tmps)"
self.clr_gimpstmps_btn = ttk.Checkbutton(self.lblframe4, text=text28, variable=self.var13, onvalue="1", offvalue="0", command=None)
self.clr_gimpstmps_btn.grid(column=0, row=31, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text29 = "Clean GNU Image Manipulation Program Recent Documents List (GIMP)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text29 = "GNU Image Manipulation Program محو قائمة الملفات المفتوحة مؤخرا في برنامج"
else:
text29 = "Clean GNU Image Manipulation Program Recent Documents List (GIMP)"
self.clr_gimp_recentdocs_btn = ttk.Checkbutton(self.lblframe4, text=text29, variable=self.var47, onvalue="1", offvalue="0", command=None)
self.clr_gimp_recentdocs_btn.grid(column=0, row=32, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text30 = "Clean Adobe Photoshop 2020 Webcached data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text30 = "محو ملفات الإنترنت المؤقتة الخاصة ببرنامج فوتوشوب 2020"
else:
text30 = "Clean Adobe Photoshop 2020 Webcached data"
self.clr_adobephotoshop_webcached_data_btn = ttk.Checkbutton(self.lblframe4, text=text30, variable=self.var27, onvalue="1", offvalue="0", command=None)
self.clr_adobephotoshop_webcached_data_btn.grid(column=0, row=33, sticky='w')
# ---------------------------
self.lblframe4.grid(column=0, row=30, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text31 = "Microsoft Windows Update Cleaners"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text31 = "منظفات برنامج تحديث الويندوز"
else:
text31 = "Microsoft Windows Update Cleaners"
self.lblframe5 = ttk.Labelframe(self.show_frame, text=text31)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text32 = "Clean all Windows Update's Downloaded Update Files"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text32 = "مسح جميع الملفات التي تم تنزيلها بواسطة برنامج تحديث الويندوز"
else:
text32 = "Clean all Windows Update's Downloaded Update Files"
self.clr_windowsupdate_downloaded_updates_btn = ttk.Checkbutton(self.lblframe5, text=text32, variable=self.var15, onvalue="1", offvalue="0", command=None)
self.clr_windowsupdate_downloaded_updates_btn.grid(column=0, row=35, sticky='w')
# ---------------------------
self.lblframe5.grid(column=0, row=34, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text33 = "Windows 10/11 only Cleaners"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text33 = "منظفات خاصة بنظامي ويندوز 10 و ويندوز 11 فقط"
else:
text33 = "Windows 10/11 only Cleaners"
self.lblframe6 = ttk.Labelframe(self.show_frame, text=text33)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text34 = "Clean Windows 10/11 Operating System Cached Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text34 = "تنظيف ملفات نظامي التشغيل ويندوز 10 او ويندوز 11 المؤقتة"
else:
text34 = "Clean Windows 10/11 Operating System Cached Data"
self.clr_win10os_cached_data_btn = ttk.Checkbutton(self.lblframe6, text=text34, variable=self.var16, onvalue="1", offvalue="0", command=None)
self.clr_win10os_cached_data_btn.grid(column=0, row=37, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text35 = "Clean Windows 10/11 Action Center/Notifications Center Cached data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text35 = "تنظيف ملفات مركز الإشعارات المؤقتة"
else:
text35 = "Clean Windows 10/11 Action Center/Notifications Center Cached data"
self.clr_win10_action_center_cached_data_btn = ttk.Checkbutton(self.lblframe6, text=text35, variable=self.var20, onvalue="1", offvalue="0", command=None)
self.clr_win10_action_center_cached_data_btn.grid(column=0, row=38, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text36 = "Clean Windows 10/11 Modern Applications Cached data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text36 = "تنظيف الملفات المؤقتة الخاصة ببرامج ويندوز 10 او 11 الحديثة"
else:
text36 = "Clean Windows 10/11 Modern Applications Cached data"
self.clr_winappux_cached_data_btn = ttk.Checkbutton(self.lblframe6, text=text36, variable=self.var21, onvalue="1", offvalue="0", command=None)
self.clr_winappux_cached_data_btn.grid(column=0, row=39, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text37 = "Clean Microsoft Store Based Edge Web cached data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text37 = "تنظيف ملفات الانترنت المؤقتة الخاصة بمتصفح ميكروسوفت ادجي نسخة متجر ويندوز"
else:
text37 = "Clean Microsoft Store Based Edge Web cached data"
self.clr_msstore_based_edge_webcached_data_btn = ttk.Checkbutton(self.lblframe6, text=text37, variable=self.var22, onvalue="1", offvalue="0", command=None)
self.clr_msstore_based_edge_webcached_data_btn.grid(column=0, row=40, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text38 = "Clean Additional Windows Explorer Thumbnails Cached Data (thumbcachetodelete)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text38 = "(thumbcachetodelete) تنظيف ملفات الصور المصغرة الإضافية الخاصة ببرنامج مستكشف الويندوز"
else:
text38 = "Clean Additional Windows Explorer Thumbnails Cached Data (thumbcachetodelete)"
self.clr_winexplorer_thumbcache_to_delete_files_btn = ttk.Checkbutton(self.lblframe6, text=text38, variable=self.var23, onvalue="1", offvalue="0", command=None)
self.clr_winexplorer_thumbcache_to_delete_files_btn.grid(column=0, row=41, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text39 = "Clean Windows 10/11 Cryptnet URL Cached data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text39 = "المؤقتة في نظامي ويندوز11 و10 Cryptnet URL تنظيف ملفات مسار "
else:
text39 = "Clean Windows 10/11 Cryptnet URL Cached data"
self.clr_cryptnet_urlcache_data_btn = ttk.Checkbutton(self.lblframe6, text=text39, variable=self.var30, onvalue="1", offvalue="0", command=None)
self.clr_cryptnet_urlcache_data_btn.grid(column=0, row=42, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text40 = "Clean Windows 10/11 ConnectedDevicesPlatform Cached Data (Requires you to set it's path in Settings)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text40 = "الخاصة بنظامي ويندوز 10و 11 (مطلوب تعيين مسارها في الضبط) ConnectedDevicesPlatform تنظيف ملفات "
else:
text40 = "Clean Windows 10/11 ConnectedDevicesPlatform Cached Data (Requires you to set it's path in Settings)"
self.clr_connecteddevicesplatform_win10_cached_data_btn = ttk.Checkbutton(self.lblframe6, text=text40, variable=self.var34, onvalue="1", offvalue="0", command=None)
self.clr_connecteddevicesplatform_win10_cached_data_btn.grid(column=0, row=43, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text41 = "Clean Elevated Diagnostics Data folder (Only for Windows 10/11)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text41 = "تنظيف الملفات المؤقتة لبرنامج التشخيصات العليا (ويندوز 10 و 11 فقط)"
else:
text41 = "Clean Elevated Diagnostics Data folder (Only for Windows 10/11)"
self.clr_elevated_diagnostics_data_btn = ttk.Checkbutton(self.lblframe6, text=text41, variable=self.var42, onvalue="1", offvalue="0", command=None)
self.clr_elevated_diagnostics_data_btn.grid(column=0, row=44, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text42 = "Clean IdentityNexusIntegration Folder contents (Only for Windows 10/11)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text42 = "(ويندوز 10و 11 فقط) IdentityNexusIntegration تنظيف محتويات المجلد "
else:
text42 = "Clean IdentityNexusIntegration Folder contents (Only for Windows 10/11)"
self.clr_identitynexus_integration_folder_btn = ttk.Checkbutton(self.lblframe6, text=text42, variable=self.var49, onvalue="1", offvalue="0", command=None)
self.clr_identitynexus_integration_folder_btn.grid(column=0, row=45, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text43 = "Clean ServiceHub Identity file (that salt file)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text43 = "(ملف salt) ServiceHub تنظيف ملف الهوية الشخصية لبرنامج "
else:
text43 = "Clean ServiceHub Identity file (that salt file)"
self.clr_servicehub_identity_file_btn = ttk.Checkbutton(self.lblframe6, text=text43, variable=self.var56, onvalue="1", offvalue="0", command=None)
self.clr_servicehub_identity_file_btn.grid(column=0, row=46, sticky='w')
# ---------------------------
self.lblframe6.grid(column=0, row=36, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text44 = "Games Cleaner"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text44 = "منظفات الالعاب"
else:
text44 = "Games Cleaner"
self.lblframe7 = ttk.Labelframe(self.show_frame, text=text44)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text45 = "Clean ROBLOX Game Downloaded Textures/Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text45 = "محو جميع القوام المحملة بواسطة لعبة روبلوكس"
else:
text45 = "Clean ROBLOX Game Downloaded Textures/Data"
self.clr_roblox_game_downloads_btn = ttk.Checkbutton(self.lblframe7, text=text45, variable=self.var26, onvalue="1", offvalue="0", command=None)
self.clr_roblox_game_downloads_btn.grid(column=0, row=48, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text46 = "Clean ROBLOX Game Verbosed Log files"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text46 = "محو جميع ملفات السجلات المطولة للعبة روبلوكس"
else:
text46 = "Clean ROBLOX Game Verbosed Log files"
self.clr_roblox_game_log_files_btn = ttk.Checkbutton(self.lblframe7, text=text46, variable=self.var51, onvalue="1", offvalue="0", command=None)
self.clr_roblox_game_log_files_btn.grid(column=0, row=49, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text47 = "Clean Axolot Games Scrap Mechanic Workshop Items Cached data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text47 = "Axolot Games Scrap Mechanic محو جميع الملفات المؤقتة لعناصر لعبة "
else:
text47 = "Clean Axolot Games Scrap Mechanic Workshop Items Cached data"
self.clr_scrapmechanic_axolot_games_workshop_items_cached_data_btn = ttk.Checkbutton(self.lblframe7, text=text47, variable=self.var50, onvalue="1", offvalue="0", command=None)
self.clr_scrapmechanic_axolot_games_workshop_items_cached_data_btn.grid(column=0, row=50, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text48 = "Clean Minecraft Webcached data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text48 = "Minecraft مسح ذاكرة التخزين المؤقتة الخاصة بمتصفح الإنترنت الموجود بلعبة "
else:
text48 = "Clean Minecraft Webcached data"
self.clr_minecraft_webcached_data_btn = ttk.Checkbutton(self.lblframe7, text=text48, variable=self.var58, onvalue="1", offvalue="0", command=None)
self.clr_minecraft_webcached_data_btn.grid(column=0, row=51, sticky='w')
# ---------------------------
self.lblframe7.grid(column=0, row=47, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text49 = "Python Cleaners"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text49 = "منظفات بايثون"
else:
text49 = "Python Cleaners"
self.lblframe8 = ttk.Labelframe(self.show_frame, text=text49)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text50 = "Clean Python PIP Cached Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text50 = "المؤقتة pip محو ملفات بايثون "
else:
text50 = "Clean Python PIP Cached Data"
self.clr_python_pip_cached_data_btn = ttk.Checkbutton(self.lblframe8, text=text50, variable=self.var31, onvalue="1", offvalue="0", command=None)
self.clr_python_pip_cached_data_btn.grid(column=0, row=53, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text51 = "Clean Pyinstaller Bin Cached Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text51 = "Pyinstaller محو جميع بيانات برنامج "
else:
text51 = "Clean Pyinstaller Bin Cached Data"
self.clr_pyinstaller_temporary_data_btn = ttk.Checkbutton(self.lblframe8, text=text51, variable=self.var45, onvalue="1", offvalue="0", command=None)
self.clr_pyinstaller_temporary_data_btn.grid(column=0, row=54, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text52 = "Clean Jedi Python Additional Temporary Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text52 = "بايثون المؤقتة Jedi محو جميع ملفات "
else:
text52 = "Clean Jedi Python Additional Temporary Data"
self.clr_jedipython_additionals_btn = ttk.Checkbutton(self.lblframe8, text=text52, variable=self.var46, onvalue="1", offvalue="0", command=None)
self.clr_jedipython_additionals_btn.grid(column=0, row=55, sticky='w')
# ---------------------------
self.lblframe8.grid(column=0, row=52, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text53 = "RAM Cleaners"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text53 = "منظفات ذاكرة الوصول العشوائي"
else:
text53 = "RAM Cleaners"
self.lblframe9 = ttk.Labelframe(self.show_frame, text=text53)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text54 = "Empty Running Software Workingsets using RAMMap"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text54 = "RAMMap تفريغ الذاكرة عن طريق مسح مجموعات العمل للبرامج الفعالة بإستخدام "
else:
text54 = "Empty Running Software Workingsets using RAMMap"
self.empty_winworkingsets_rammap_btn = ttk.Checkbutton(self.lblframe9, text=text54, variable=self.var32, onvalue="1", offvalue="0", command=None)
self.empty_winworkingsets_rammap_btn.grid(column=0, row=57, sticky='w')
# ---------------------------
self.lblframe9.grid(column=0, row=56, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text55 = "Video Editing Software Cleaners"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text55 = "منظفات برامج تعديل الفيديوهات (المونتاج)"
else:
text55 = "Video Editing Software Cleaners"
self.lblframe10 = ttk.Labelframe(self.show_frame, text=text55)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text56 = "Clean Sony VEGAS Pro 17 Temporary data and log files"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text56 = "Sony VEGAS Pro 17 مسح جميع الملفات المؤقتة وملفات السجل لبرنامج "
else:
text56 = "Clean Sony VEGAS Pro 17 Temporary data and log files"
self.clr_sony_vegas_pro_temp_and_logs_data_btn = ttk.Checkbutton(self.lblframe10, text=text56, variable=self.var28, onvalue="1", offvalue="0", command=None)
self.clr_sony_vegas_pro_temp_and_logs_data_btn.grid(column=0, row=59, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text57 = "Clean Sony VEGAS Pro ERROR Reports files"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text57 = "Sony VEGAS Pro مسح جميع ملفات تقارير الاخطاء الخاصة ببرنامج "
else:
text57 = "Clean Sony VEGAS Pro ERROR Reports files"
self.clr_sony_vegas_pro_error_reports_data_btn = ttk.Checkbutton(self.lblframe10, text=text57, variable=self.var61, onvalue="1", offvalue="0", command=None)
self.clr_sony_vegas_pro_error_reports_data_btn.grid(column=0, row=60, sticky='w')
# ---------------------------
self.lblframe10.grid(column=0, row=58, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text58 = "3D Moduling Software Cleaners"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text58 = "منظفات برامج تعديل النماذج ثلاثية الابعاد"
else:
text58 = "3D Moduling Software Cleaners"
self.lblframe11 = ttk.Labelframe(self.show_frame, text=text58)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text59 = "Clean McNeel Rhinoceros 3D Moduling Software Temporary Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text59 = "McNeel Rhinoceros مسح الملفات المؤقتة الخاصة ببرنامج "
else:
text59 = "Clean McNeel Rhinoceros 3D Moduling Software Temporary Data"
self.clr_mcneel_rhinoceros_3d_moduling_soft_cached_data_btn = ttk.Checkbutton(self.lblframe11, text=text59, variable=self.var29, onvalue="1", offvalue="0", command=None)
self.clr_mcneel_rhinoceros_3d_moduling_soft_cached_data_btn.grid(column=0, row=62, sticky='w')
# ---------------------------
self.lblframe11.grid(column=0, row=61, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text60 = "Additional Software Cleaners"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text60 = "منظفات إضافية لبعض البرامج"
else:
text60 = "Additional Software Cleaners"
self.lblframe12 = ttk.Labelframe(self.show_frame, text=text60)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text61 = "Clean Icon Cache file in Local app data folder"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text61 = "مجلد Local app data مسح ملف التخزين المؤقت للرموز الموجود في "
else:
text61 = "Clean Icon Cache file in Local app data folder"
self.clr_iconcache_db_file_in_localappdata_dir_btn = ttk.Checkbutton(self.lblframe12, text=text61, variable=self.var35, onvalue="1", offvalue="0", command=None)
self.clr_iconcache_db_file_in_localappdata_dir_btn.grid(column=0, row=64, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text62 = "Clean Microvirt MEmu Logs and Memory Dump Files"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text62 = "Microvirt MEmu مسح ملفات السجل وملفات اخطاء الذاكرة الخاصة ببرنامج "
else:
text62 = "Clean Microvirt MEmu Logs and Memory Dump Files"
self.clr_microvirt_memu_log_data_memdump_files_btn = ttk.Checkbutton(self.lblframe12, text=text62, variable=self.var36, onvalue="1", offvalue="0", command=None)
self.clr_microvirt_memu_log_data_memdump_files_btn.grid(column=0, row=65, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text63 = "Clean Malwarebytes Adware Cleaner Log data and its files"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text63 = "Malwarebytes Adware Cleaner مسح ملفات سجل برنامج "
else:
text63 = "Clean Malwarebytes Adware Cleaner Log data and its files"
self.clr_adwcleaner_log_files_btn = ttk.Checkbutton(self.lblframe12, text=text63, variable=self.var37, onvalue="1", offvalue="0", command=None)
self.clr_adwcleaner_log_files_btn.grid(column=0, row=66, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text64 = "Clean the folder Perflogs in Systemdrive volume"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text64 = "في قرص النظام Perflogs مسح ملفات المجلد "
else:
text64 = "Clean the folder Perflogs in Systemdrive volume"
self.clr_perflogs_in_systemdrive_btn = ttk.Checkbutton(self.lblframe12, text=text64, variable=self.var38, onvalue="1", offvalue="0", command=None)
self.clr_perflogs_in_systemdrive_btn.grid(column=0, row=67, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text65 = "Clean Android Cached data in your computer"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text65 = "المتروكة عند توصيل جهاز اندرويد بالكمبيوتر الخاص بك Android مسح ملفات نظام "
else:
text65 = "Clean Android Cached data in your computer"
self.clr_dotcache_folder_in_userprofile_path_btn = ttk.Checkbutton(self.lblframe12, text=text65, variable=self.var39, onvalue="1", offvalue="0", command=None)
self.clr_dotcache_folder_in_userprofile_path_btn.grid(column=0, row=68, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text66 = "Clean VMware Downloads (All files downloaded by all VMware Software)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text66 = "VMware مسح جميع الملفات التي تم تنزيلها بواسطة برامج "
else:
text66 = "Clean VMware Downloads (All files downloaded by all VMware Software)"
self.clr_vmware_downloads_folder_btn = ttk.Checkbutton(self.lblframe12, text=text66, variable=self.var43, onvalue="1", offvalue="0", command=None)
self.clr_vmware_downloads_folder_btn.grid(column=0, row=69, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text67 = "Clean BalenaItcher webcached data (Incl. GPUCache, Code Cache, Local Storage, Session Storage)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text67 = "BalenaItcher مسح ملفات التخزين المؤقت الخاصة ببرنامج "
else:
text67 = "Clean BalenaItcher webcached data (Incl. GPUCache, Code Cache, Local Storage, Session Storage)"
self.clr_balena_itcher_webcached_data_btn = ttk.Checkbutton(self.lblframe12, text=text67, variable=self.var44, onvalue="1", offvalue="0", command=None)
self.clr_balena_itcher_webcached_data_btn.grid(column=0, row=70, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text68 = "Clean LowLevelFormatTool (LLFT) License Agreement Confirmation File"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text68 = "LowLevelFormatTool (LLFT) مسح ملف قبول إتفاقية برنامج "
else:
text68 = "Clean LowLevelFormatTool (LLFT) License Agreement Confirmation File"
self.clr_lowlevelformattool_licenseagreement_confirmationfile_btn = ttk.Checkbutton(self.lblframe12, text=text68, variable=self.var48, onvalue="1", offvalue="0", command=None)
self.clr_lowlevelformattool_licenseagreement_confirmationfile_btn.grid(column=0, row=71, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text69 = "Clean WinXPE Creator Downloads Diretory (Requires you to set it's path on Settings)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text69 = "(يتطلب تعيين مسارها في الضبط) WinXPE Creator مسح جميع الملفات التي تم تنزيلها بواسطة الاداة "
else:
text69 = "Clean WinXPE Creator Downloads Diretory (Requires you to set it's path on Settings)"
self.clr_winxpe_app_downloads_folder_btn = ttk.Checkbutton(self.lblframe12, text=text69, variable=self.var55, onvalue="1", offvalue="0", command=None)
self.clr_winxpe_app_downloads_folder_btn.grid(column=0, row=72, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text70 = "Clean Huawei HiSuite Log data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text70 = "Huawei HiSuite مسح ملفات سجلات برنامج "
else:
text70 = "Clean Huawei HiSuite Log data"
self.clr_huawei_hisuite_log_data_btn = ttk.Checkbutton(self.lblframe12, text=text70, variable=self.var57, onvalue="1", offvalue="0", command=None)
self.clr_huawei_hisuite_log_data_btn.grid(column=0, row=73, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text71 = "Clean Huawei HiSuite Drag 'n' Drop Temporary Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text71 = "Huawei HiSuite مسح جميع الملفات المؤقتة لخاصية السحب والإفلات لبرنامج "
else:
text71 = "Clean Huawei HiSuite Drag 'n' Drop Temporary Data"
self.clr_huawei_hisuite_dnd_temp_btn = ttk.Checkbutton(self.lblframe12, text=text71, variable=self.var63, onvalue="1", offvalue="0", command=None)
self.clr_huawei_hisuite_dnd_temp_btn.grid(column=0, row=74, sticky='w')
# ---------------------------
self.lblframe12.grid(column=0, row=63, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text72 = "Microsoft Visual Studio Code Cleaners"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text72 = "Microsoft Visual Studio Code منظفات برنامج "
else:
text72 = "Microsoft Visual Studio Code Cleaners"
self.lblframe13 = ttk.Labelframe(self.show_frame, text=text72)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text73 = "Clean Microsoft Visual Studio Code Webcached data (Incl. GPUCache, Code Cache, CachedData, Cache paths)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text73 = "(GPUCache, Code Cache, CachedData, Cache paths يتضمن ) Microsoft Visual Studio Code تنظيف الملفات المؤقتة الخاصة ببرنامج "
else:
text73 = "Clean Microsoft Visual Studio Code Webcached data (Incl. GPUCache, Code Cache, CachedData, Cache paths)"
self.clr_vscode_webcached_data_btn = ttk.Checkbutton(self.lblframe13, text=text73, variable=self.var52, onvalue="1", offvalue="0", command=None)
self.clr_vscode_webcached_data_btn.grid(column=0, row=76, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text74 = "Clean Microsoft Visual Studio Code Cookie data (Incl. Cookies-journal)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text74 = "Microsoft Visual Studio Code مسح كعكات برنامج "
else:
text74 = "Clean Microsoft Visual Studio Code Cookie data (Incl. Cookies-journal)"
self.clr_vscode_cookie_data_btn = ttk.Checkbutton(self.lblframe13, text=text74, variable=self.var53, onvalue="1", offvalue="0", command=None)
self.clr_vscode_cookie_data_btn.grid(column=0, row=77, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text75 = "Clean Microsoft Visual Studio Code Cached Extensions Data (Incl. VSIXs)"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text75 = "(VSIXs يتضمن ) Microsoft Visual Studio Code مسح الملفات المؤقتة الخاصة بالإضافات الخاصة ببرنامج "
else:
text75 = "Clean Microsoft Visual Studio Code Cached Extensions Data (Incl. VSIXs)"
self.clr_vscode_cached_extensions_data_btn = ttk.Checkbutton(self.lblframe13, text=text75, variable=self.var54, onvalue="1", offvalue="0", command=None)
self.clr_vscode_cached_extensions_data_btn.grid(column=0, row=78, sticky='w')
# ---------------------------
self.lblframe13.grid(column=0, row=75, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text76 = "Java Deployment Cache Cleaner"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text76 = "منظفات توظيف الجافا"
else:
text76 = "Java Deployment Cache Cleaner"
self.lblframe14 = ttk.Labelframe(self.show_frame, text=text76)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text77 = "Clean Java Deployment Cached Data"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text77 = "مسح ملفات توظيف الجافا المؤقتة"
else:
text77 = "Clean Java Deployment Cached Data"
self.clr_java_deployment_cached_data_btn = ttk.Checkbutton(self.lblframe14, text=text77, variable=self.var62, onvalue="1", offvalue="0", command=None)
self.clr_java_deployment_cached_data_btn.grid(column=0, row=80, sticky='w')
# ---------------------------
self.lblframe14.grid(column=0, row=79, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text78 = "All done?"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text78 = "هل انتهيت؟"
else:
text78 = "All done?"
self.lblframe15 = ttk.Labelframe(self.show_frame, text=text78)
# ---------------------------
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
text79 = "Do you want to close this program when it's done with cleaning up temp?"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
text79 = "هل تريد ان يقوم هذا البرنامج بإغلاق نفسه تلقائيا عقب إنتهائه من التنظيف؟"
else:
text79 = "Do you want to close this program when it's done with cleaning up temp?"
self.destroy_activity_after_done_btn = ttk.Checkbutton(self.lblframe15, text=text79, variable=self.var64, onvalue="1", offvalue="0", command=None, cursor='hand2')
self.destroy_activity_after_done_btn.grid(column=0, row=82, sticky='w')
# ---------------------------
self.lblframe15.grid(column=0, row=81, sticky='w')
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
about_btn_text = "About"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
about_btn_text = "حول هذا البرنامج"
else:
about_btn_text = "About"
# Defining the about button.
self.about_window_btn = ttk.Button(self.show_frame, text=about_btn_text, command=self.show_about_window, cursor='hand2')
self.about_window_btn.place(x=10, y=2000, relwidth=0.3, relheight=0.035)
if str(GetConfig['ProgConfig']['languagesetting']) == 'en':
self.begin_cleaning_btn_text = "Execute"
elif str(GetConfig['ProgConfig']['languagesetting']) == 'ar':
self.begin_cleaning_btn_text = "ابدأ بالتنظيف"
else:
self.begin_cleaning_btn_text = "Execute"
# Defining the execute button.
self.exec_btn = ttk.Button(self.show_frame, text=self.begin_cleaning_btn_text, command=self.execute_theprogram, cursor='hand2')
self.exec_btn.place(x=400 ,y=2000, relwidth=0.3, relheight=0.035)
# declaring a space.
self.space = Label(self.show_frame, text="", font=("Arial Bold", 50))
if str(GetConfig['ProgConfig']['appearancemode']) == '2':