Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create clickable URLs in iCal events' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create clickable URLs in iCal events
Authored by: mark hunte on Jan 19, '06 10:49:09AM
This is a very Basic script, which can be put in Automator for a Contextual menu
or run from a hot key app.
tell application "Finder"
	set aItem to selection as alias
end tell

tell application "Finder" to set theFileURL to "<" & (URL of aItem) & ">"
tell application "iCal"
	
	set currentCal to calendar 1
	set theEvent to (make event at end of events of currentCal with properties {summary:theFileURL})
end tell
tell application "iCal"
	activate
	show theEvent
end tell
It will get the url of a file or folder and make a new event with it as a clickable
Url, in your first cal. Its an example and the script can be modified any
which way but loose to be less basic.

Personally if its a single file or folder, I would rather drag the file or folder to the
events Url tab and click it from there (Which you can do) as this is less
messy in the events view and Summery.

If its more than one file or folder, then I would put the url (file://) paths in the
notes.
When I want to click them , All I would do is right click and 'Open Url' .
Each entry in the notes only needs to be separated by a space. Also they do not
need the " " tags. This is again very easy to script.

---
mh

[ Reply to This | # ]

Create clickable URLs in iCal events
Authored by: mark hunte on Jan 19, '06 10:51:00AM

Thats < > tags



---
mh



[ Reply to This | # ]