PDA

View Full Version : Scripting Advice for a n00b



Jayzilla
June 25th, 2006, 04:59 AM
Hey there.

I'd like to write a script to open Firefox to a certain URL. Now, I don't know if I can do this with a simple bash script, or if I'd have to it in something like Python.

I have no idea how to approach this. Eventually I'd like to turn it into a standalone application using PyQt that loads the webpage inside a frame, but that's a project I'll save for when I know what the hell I'm doing. ;)

Can anybody give me some advice on a) whether to write a bash script or a script in another language and b) how to accomplish this?

Sorry if I'm at all vague. Sometimes my thoughts work faster than my fingers.

EDIT: Solved! Using Python's 'webbrowser' module, this was easily accomplished. Yay!