Skip to content

Commit 7161dd7

Browse files
authored
Merge pull request #46 from vaishnavi-1/master
Added the code to search deleted files
2 parents 0699d7f + e8005d0 commit 7161dd7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Voice Assistant.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,11 @@ def user_mood():
448448
elif "snipping tool" in statement:
449449
speak("Opening Snipping Tool")
450450
os.system("start snippingtool")
451-
451+
452+
elif "show deleted files" in statement or "Recycle Bin" in statement or "Delete files" in statement or "search deleted files" in statement:
453+
speak("Opening Recycle Bin")
454+
os.system("start shell:RecycleBinFolder")
455+
452456
elif "calculator" in statement:
453457
speak("Opening Calculator")
454458
os.system("start calc")
@@ -505,3 +509,5 @@ def user_mood():
505509
statement = takeCommand().lower()
506510

507511
time.sleep(3)
512+
513+

0 commit comments

Comments
 (0)