Hehe .mac i saw your first reply ill do mac and kde today but i wont be able to test mac so ill prob just be guessing bits.
ok @.mac Ill whip something up in a hour or so, not sure but can you set file assosiations from command line in mac?
@Hyperz ok, thought it would be easier
Heres what I want you to do.
cd ~/.gnome2/nautilus-scripts
- ls (see if there is a "Image Upload" script and its executable)
export NAUTILUS_SCRIPT_SELECTED_FILE_PATHS=(Full path to a image)
./Image Upload
tell me if you get mono errors etc.
hyperz@ubuntu:~/.gnome2/nautilus-scripts$ export NAUTILUS_SCRIPT_SELECTED_FILE_PATHS=/home/hyperz/Documents/openarena-0.8.1/openarena128.png
hyperz@ubuntu:~/.gnome2/nautilus-scripts$ ./Upload\ Image
bash: ./Upload Image: /bin/sh^M: bad interpreter: No such file or directory
#!/usr/bin/python
import os
import sys
os.system("echo 'starting' > ~/.gnome2/bin/upload-log.txt")
def send_images(images):
quoted = ''
for img in images:
quoted += ' "%s"' % (img)
os.system("mono ~/.gnome2/bin/Im4ge-dt.exe " + quoted + " > ~/.gnome2/bin/upload-log.txt")
send_images(sys.argv[1:])
Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.
Contact us