Re: Getting rid of web page warning - Opening .html pages stored on drive -
Re: Getting rid of web page warning - Opening .html pages stored on drive -
- Subject: Re: Getting rid of web page warning - Opening .html pages stored on drive -
- From: DealTek <email@hidden>
- Date: Mon, 04 Apr 2011 09:00:52 -0700
On Apr 3, 2011, at 1:50 PM, DealTek wrote:
> Hi all,
>
> I sometimes save web pages to the desktop (safari or FF) - whenever I double click to open one - I always get a dialog .... are you sure you want to open this web app...?
>
> How do I disable this security dialog?
>
> this says it's for 10.5 only. I set it up as folder action in 10.6.6 but it does not work
>
> Q: - Is there an update to get it happening for snow leopard?
>
> http://hints.macworld.com/article.php?story=20071029151619619
>
- ok - now this folder action script below now works for 10.6
Now - I'd like to be able to create an applescript APP so I can drop a folder on the app icon and it will process the contents of the folder ( rather than a folder action )
Question: I'm a newbie AS person - how do I set this code to recognize whatever folder was dropped on it and process the contents?
I'm sure the change is to : on adding folder items to thisFolder after receiving addedItems ?????? but what is it exactly?
Thanks in advance - Dave
--------------
(*
Unquarantine folder items etc.
*)
on adding folder items to thisFolder after receiving addedItems
repeat with anItem in addedItems
set anItem's contents to (quoted form of POSIX path of (anItem as alias))
end repeat
set AppleScript's text item delimiters to " "
do shell script "xattr -d -r com.apple.quarantine " & (addedItems as text)
end adding folder items to
--
Thanks,
Dave - DealTek
email@hidden
[db-11]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden