I want to make a program that goes through this path and moves the file to the trash and empties the trash.
I WANT TO BE ABLE TO LEAVE THIS APP RUNNING AND HAVE IT RUN AUTOMATICALLY WHEN SOMETHING APPEARS IN THAT FOLDER.
Here is the path: home folder (account short name with the picture of the home) → Library (folder) → Keychains (folder) → take the file(s) in that folder & move it to trash and empty trash. DONT DELETE THE FOLDER THOUGH.
This is no joke, bad trick, ect… Do you get ever get the “Safari wants to use your keychain info”, “enter your password” when you use Safari some times? This application will get rid of that message.
Thanks.
Ben
Hi,
very bad idea! That’s not the normal behavior. I never had this problem.
Try first to delete all lists in Safari > Preferences > Autofill or Reset Safari via the appropriate menu item
Not a bad idea. This is the only way (safely) to remove the popup. I would rather only have a reply with an answer please. AND, all this app is doing is removing the file automatically so I dont have to.
Let’s try this…
How do I have an applescript app go a specific location and delete a specific file and empty the trash? Does that help? I will customize it for myself later after I have the app built except for the things I am going to modify.
All the best,
Ben
I think, If you go to keychains,
Look for safari ( use the search )
the ‘Safari Forms AutoFill’ will show up.
Double click this.
Click the Access control tab.
Click the + button
Add Safari to the always allow.
will solve the pop problem
I agree that you have something weird going on with Safari to track down and deleting the keychain is a workaround.
BUT…
Since you asked, I would use the code below to make a folder action attached to the Keychains folder. It’s been a while since I used folder actions but a search on this site will give you the basic form.
set myKeychain to POSIX path of ((path to keychain folder as string) & "*.keychain")
set theShell to "rm -f " & myKeychain
do shell script theShell
Model: iMacintel
AppleScript: xCode 3.0
Browser: Safari 525.20.1
Operating System: Mac OS X (10.5)
it worked Matt-boy! thanks!