Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. gjorgi

    Tcl/Tk script-start by double click instead of calling from CLI

    Ok, got it. It doesn't have to do anything with tclsh vs. wish or making executable, linking, wrapping in C executable, changing MIME types etc. I selected the file in the file browser and then selected "Edit" -> Preferences -> Behavior -> to the section "executable text files" where the radio...
  2. gjorgi

    Tcl/Tk script-start by double click instead of calling from CLI

    But I need the window. When I substitute wish for tclsh in the shebang line, I get error message (only when I run the script in console): invalid command name "button" while executing "button .someButton -text etc -command {some-tcl-command}" I need the window, the buttons, etc. And I made the...
  3. gjorgi

    Tcl/Tk script-start by double click instead of calling from CLI

    That is exactly how my script starts, with the shebang line, but I still get the dialog box.
  4. gjorgi

    Tcl/Tk script-start by double click instead of calling from CLI

    Tried with chmod +x, but a dialog pops up and asks me how to run this script: in terminal, display or run. What I would like is to go straight to execution, without any dialog boxes. How to go about?
  5. gjorgi

    Tcl/Tk script-start by double click instead of calling from CLI

    Hi, I have a simple Tcl/Tk script which I would like to start by double clicking it instead of calling it from the command line. How to get my script started that way?
  6. gjorgi

    Checking a folder for new files

    Hi, I would like my script to check for any new files in a folder and open them as soon as they are saved in that folder. Folder is located on another machine and both machines are network connected. I am not looking for complete solution, just a friendly nudge in the right direction...
  7. gjorgi

    How to look for Tcl config definitions, which directory

    Hi, I am trying to install expect on my CentOS machine and am following directions given in the INSTALL file. It says that the Tcl source directory and Expect source directory should be in the same directory, if Tcl source is in /usr/share than Expect should be there too. I didn't do any manual...
  8. gjorgi

    the exec: commanding a client to open

    In other words, make an executable script out of the command that is to be passed to exec and run it via exec... All I got that way is an empty blinking cursor that doesn't accept anything as input and the only way out is Ctr-C... But this may be a good nudge to the right direction...
  9. gjorgi

    the exec: commanding a client to open

    That is correct, when I type the commad at the prompt I get the windows share from my Windoze machine. But when I try it with exec, it keeps giving me the error message about directory not existing. Even with the suggested alternatives in wrapping the command before passing it to exec, I get the...
  10. gjorgi

    the exec: commanding a client to open

    Have tried and got error message: couldn't execute "smbclient /winComp/winShare -N": no such file or directory while executing "exec $cmdstr" My samba is otherwise running as usual, normal file sharing and no reported problems when started "manually" (by typing that command at the prompt). I...
  11. gjorgi

    the exec: commanding a client to open

    Hello, The command that I want to pass to the command prompt is: smbclient //winComp/winShare -N How to that with exec?
  12. gjorgi

    array

    The rules about Java arrays are pretty strict when it comes to size: once established, there's no change. But there is a usefull class in java.util package called ArrayList. That collection works just like an array except that you can change the size by adding/removing members. Moreover...

Part and Inventory Search

Back
Top