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 Chriss Miller 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: *

  • Users: fdservices
  • Content: Threads
  • Order by date
  1. fdservices

    System Tray and StatusNotifier

    Apparently the system tray now uses StatusNotifier instead of xembed to display tray icons. Is there any way to implement the new standard in tcltk? Andrew
  2. fdservices

    Upgrade to 8.6 causes file problems.

    I have an simple script which opens a file, reads it and puts each line, until it reaches an eof and then closes. This is then called by other scripts which are performing actions and logging the results. So the first script reads the log, as it is written, and displays the progress. Up until...
  3. fdservices

    Quickly manipulate photo images

    I have created a page displayed as a png file. To show a thumbnail of the image I have used the following code: image create photo tmppage -file "$file" page copy tmppage -subsample $zoom $zoom -shrink Unfortunately the -subsample option reduces the clarity of the image to a huge degree, is...
  4. fdservices

    Get progress of exec command

    Put simply I would like to follow the progress of a background task. The task would be run as: exec some_task & While it is running I would like to check its progress: while {true} {test_progress} So I was thinking: set pid [exec some_task &]...
  5. fdservices

    Numlock

    Having some problems with the state of the numlock key with my tcltk programmes. Problem is I am running Linux (numlock enabled) and windows in Virtualbox (numlock enabled) but when I open my tcltk programme I find that the numlock is disabled. How can I tell the state of the numlock key and...
  6. fdservices

    Trapping tab in text box

    I know this must be simple, but, I have a text widget and would like to trap a tab entry within the text such that: Pressing tab executes a tcl script but does not enter a tab character in the text. A simple "bind" enters the tab character and then runs the script. Thanks Andrew
  7. fdservices

    Exec command in Windows

    I need to execute the following command in windows: "C:\Program Files\gs\gs9.04\bin\gswin32c.exe" -sDEVICE=pdfwrite -dMaxSubsetPct=100 -dPDFSETTINGS=/ebook -sOutputFile="out.pdf" -dNOPAUSE -dQUIET -dBATCH "$file" If I exec the command in tcl then it fails with odd errors. If I run the command...
  8. fdservices

    Digital ID Certificate Authority

    Is there any way to import Certificate Authority data for ALL users. As far as I can see it must be imported fro each user - one at a time, which would be very time consuming. Thanks Andrew
  9. fdservices

    Programme already running

    I am trying to add some code which will run the programme called unless it is already running, in which case it simply raises the existing instance. So far I have tried wmctrl as follows: # if wmctrl is loaded then use it to raise an already running application if {[catch {exec which wmctrl}]...
  10. fdservices

    Glob Pattern Matching

    Here's what I want to do: set $prefix "ABC" set $directory "/home/user" set files [lsort -dictionary [glob -directory "$directory" -tails -type f "${prefix}[0-9]+-*.pdf"]]}] where "${prefix}[0-9]+-*.pdf" is "ABC" + any sequence of numeric characters + "-" + any sequence of characters + ".pdf"...
  11. fdservices

    UCS2 to text

    I am reading an sms message from a file and it is identified as "Alphabet: UCS2" instead of a more normal "Alphabet: ISO". The ISO messages read in as text while the UCS2 read in as two byte text, so I get ?T?h?i?s? ?i?s? ?t?e?x?t returned. If I use iconv to convert the text I get an "incomplete...
  12. fdservices

    Beginners Question

    I ask this here because I know absolutely nothing about MSSQL. I recently uninstalled McAfee from our Windows SBS 2003 (with MSSQL Express) server and it in turn uninstalled it's EPOSERVER MSSQL service. As a result of this, apparently, the Accounts software ceased to run. I assume that in...
  13. fdservices

    The inetinfo.exe process is allocating more memory than usual.

    I know that this has been asked elsewhere, but I do not really understand what the answers mean, or, more accurately, what the question is. This message appears every day on our file server: The inetinfo.exe process is allocating more memory than usual. The following services are hosted by this...
  14. fdservices

    Monitoring a RAID Array

    Simple question, I hope. How can I get SBS2003 with Dell RAID to send me an email report on the health of the RAID Array? Many thanks for any tips Andrew
  15. fdservices

    VirusScan Enterprise 8.5i and SBS 2003

    We are running the above combinations and every time that I change a VirusScan setting it is automatically restored to the previous setting within a few minutes. Clearly there must be some process running but I have no idea where. Anyone help please? Andrew
  16. fdservices

    ifconfig & iwconfig

    OK I'm stupid but - this code: set if_iswireless [eval [concat exec sudo ifconfig]] sets the variable to the result of the command ifconfig but this code: set if_iswireless [eval [concat exec sudo iwconfig]] throws an error. Help!!!!
  17. fdservices

    Window refuses focus

    I have a main window which generates a second window on to of the first. I would like to make it so that the main window refuses to take the focus, an that if the main window is clicked then the second window automatically takes the focus, if that makes sense. Grab does not make the first window...
  18. fdservices

    Postscript 2 Structure

    I am absolutely new to Postscript and I wondered if someone would be kind enough to help me out. I have written a very simple postscript 2 file which prints OK, but does not display correctly in Ghostview. I imagine that this is a structure problem, but I cannot solve it on my own. My file...
  19. fdservices

    exec batch files

    My tcl code includes the line: exec /var/spool/fax/index/$x/delete which is fine as long as $x does not include any starnge characters or white space, eg "Program Files". However exec '/var/spool/fax/index/$x/delete' thows up an error although # exec '/var/spool/fax/index/what ever (I)...

Part and Inventory Search

Back
Top