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
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...
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...
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 &]...
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...
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
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...
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
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}]...
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"...
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...
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...
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...
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
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
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!!!!
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...
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...
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)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.