Linking Directly to a TWIKI Edit Page

I keep a work journal to track what I do day-to-day at work. This I access this journal with a keyboard hotkey (set up using Comiz Settings Config under Ubuntu) to directly launch firefox to the edit page in Twiki for my journal. The trick of the script is to add a timestamp so the URL is fresh and the page isn't cached. Otherwise, you'll end up with an older version of your page and potentially some lost work. If you ever find yourself in need of a quick script to launch Twiki directly to an edit page in firefox, here's how I did it.
#!/usr/bin/python import datetime import time import os nowString= time.strftime("%Y%m%d%H%M%S") # command = "firefox\&t="+nowString; os.system(command);

No comments

Post a Comment