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. srhoads

    Secure FTP2

    I did some searching and discovered that Secure FTP is a service running on Windows which makes the existing FTP software secure therefore there is nothing for me to change with my TCL script. However, I would like to change my TCL script so it doesn't create a text file script which is read by...
  2. srhoads

    Secure FTP

    Does anyone have info about writing TCL scripts which use Secure FTP for file transfers? I have written TCL scripts which automatically write FTP scripts and run them but I'm a bit clueless about using Secure FTP.
  3. srhoads

    TCL V8.0 ByteCode

    I have written programs which are used by approx 1,000 users in my workplace. I am writing a new set of programs and am being pressured to avoid distributing source code. I also don't want to upgrade 1,000 PC's to a new version of TCL. Does anybody know how to create and run bytecode on the...
  4. srhoads

    Sourcing Files and Glob Command

    the variable $argv0 will give you the name of the script being run.
  5. srhoads

    file mkdir problem with network path

    When trying to create the folder TEST in the shared folder SHARE1 on server SERVER1 using the TCL command "file mkdir \\\\SERVER1\\SHARE1\\TEST" I end up with folders SERVER1\SHARE1\TEST under the shared folder SHARE1. I tested this with wish80 & wish84 and got the same results. I tried numerous...
  6. srhoads

    list number of prints in queue

    Anybody know how to list the number of prints in a print queue? I am writing a program to automatically print thousands of engineering drawings and want it to loop and possibly display an error message if there are too many drawings already in the queue.
  7. srhoads

    Compare Bitmap Pictures

    I'm using Wish 8.0 and it will be a major undertaking to upgrade 1000 PCs in the company to a later version. I tried the "package require Img" and got an error. How do I acquire Img? Is it standard with later versions of TCL?
  8. srhoads

    Compare Bitmap Pictures

    Forget about everything written above. I just need to know how to read a Windows BMP file into TCL. I get the error "format error in bitmap data" when using the command "image create bitmap Text -file test.bmp". Apparently TCL wants an X11 bitmap and not a WIndows bitmap...
  9. srhoads

    Compare Bitmap Pictures

    I want to compare changes on engineering drawings and I was considering converting them to BMP format. I would like to overlay two images, have transparent backgrounds, linework of one image black and the linework of the other image red. I want to be able to shift 1 image in the x,y by several...
  10. srhoads

    3D/2D Transformation

    I am investigating the use of OpenGL.
  11. srhoads

    OpenGL and tags

    I am experimenting with TCL & OpenGL. I have written a TCL program which creates 3d wire frame geometry and assigns tags to every piece of geometry. I am considering modifying the program to utilize OpenGL but have not yet determined if I can assign tags to lines and arcs and query the tags by...
  12. srhoads

    3D/2D Transformation

    I have a need to display 3D wireframe graphics and have used code from Keith Vetter's Octabug, 3D to 2D transformation program. This works ok but it creates an illusion of perspective (parallel lines converge). I am looking for TCL code which works similiar to this but without the distortion. In...
  13. srhoads

    AutoCad

    Does anyone have info about using TCL/TK to customize AutoCad instead of using AutoLisp and Visual Basic?
  14. srhoads

    tk_messageBox screen location

    I rebooted the NT and everything is now ok. Thanks.
  15. srhoads

    tk_messageBox screen location

    I am using Wish 8.0 and recently my NT has gotten into a mode so the tk_messageBox windows in all the programs I have written popup in the lower right corner of the screen and I would like them to popup in the middle of the screen. Any ideas?
  16. srhoads

    Determining Overlapping Items

    I have found the solution. Using "$win overlapping $x $y $x $y" which is a zero-size rectangular area I can find the screen coordinates of the outline of an object and push them together by a calculated distance.
  17. srhoads

    Determining Overlapping Items

    I think this will only give me the endpoints of entities such as lines or the rectangular envelope of arcs. I need to know all pixels of arcs and sloping lines. For example moving the following letters close together A * e . T
  18. srhoads

    Determining Overlapping Items

    I am posting this for the 2nd time because this feature is important to me. Does anybody know how to determine if 2 canvas items touch or overlap? I need to determine this for extremely complex shapes. Simple examples are geometry shaped like the letters A X Y L T . I would like to manually...
  19. srhoads

    Method of determining overlapping canvas items

    I want to be able to drag items on the screen and determine if they overlap. Anybody have any ideas?
  20. srhoads

    move graphics entities to the origin

    I have written a TCL application which places graphics on a canvas and allows the user to zoom in, out, and pan. I record the scaling info so I am able to restore the canvas items to the original scale but I don't know how to restore them to the original position. If I could query the screen...

Part and Inventory Search

Back
Top