Jump to content

vtdlbm

Members
  • Posts

    4
  • Joined

  • Last visited

vtdlbm's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. how can I do this? (first topic...)
  2. thanks a lot for your help !
  3. that's great, but not exactly what i'm looking for I have no problem configuring manually .xyz files to open with the script (from control panel) what I do not know how to do is how to pass file.xyz as an argument to the script not even sure if you can do this, but there should be a way...
  4. ok.. here's what i'm trying to do: i want to associate a bogus extension - text file (let's say .xyz) with this script whenever I doubleclick on a .xyz extension file, the script would run and add it's content to the windows clipboard here's what i've got so far: $file = FileOpen("$file opened with this script$", 0) ; Check if file opened for reading OK If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf ; copy the content to clipboard While 1 $chars = FileRead($file) If @error = -1 Then ExitLoop ClipPut($chars) Wend what i'm having problems with is finding a way to define < $file opened with this script$ > -> this being the .xyz file i doubleclicked on, starting the script does anyone know how i could do this? thanks for reading
×
×
  • Create New...