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 SkipVought 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. FastLearner

    DDE with Excel

    The following string passed to Excel via DDE will properly execute the save.as macro comand. Note that the filename has quotes around it. [SAVE.AS("testsave.xls")] So, the following SHOULD work via Aspect. macrostring="[SAVE.AS(`"testsave.xls`")]&quot...
  2. FastLearner

    Is there an easy way to convert Python code into a DLL?

    I'm fairly new to PYTHON, but so far I like what I see. I've been able to build functions to do a variety of useful things that I would like to call from a different language. How would one go about converting the Python code to a .dll so that the function calls can be called from other...
  3. FastLearner

    How do you make the monitor "wake up" from the screen saver?

    OK! FINE! I GIVE UP!!! I'll use the minimize/restore already! :) Here's what I finally settled on. Will wakeup only if no alarms received for greater than 10 minutes and it remembers the last time it wokeup. That keeps things happy... integer lastwake=$ltime ;Global Variable main...
  4. FastLearner

    How do you make the monitor "wake up" from the screen saver?

    Darn it, it looks like the same holds true for movement. I implemented this in my script and it failed to wake the monitor. Worked fine during testing though.... Arrgh!! Also, to update the issue with winactivate not putting procomm "on top", it seems to do with the Task List. As...
  5. FastLearner

    How do you make the monitor "wake up" from the screen saver?

    Finally, a solution! A "mouse wiggle" works great! Here's how: Use "setpointer" twice (to ensure a change of position). Also, Procom MUST be the active task for this to work. Example below proc main pause 90 if $TASK != $PWTASK ; Is current task PW...
  6. FastLearner

    Anyone have info on ASPECT DLL interface specifications?

    When I looked in the help files under the DLLCALL command, I found the following: Only .dlls that have been written with the ASPECT DLL interface specification can be used with this command. Calling an arbitrary .dll may cause a critical application error to occur! Anyone have any more info on...
  7. FastLearner

    How do you put the Procomm window on top when WINFOCUS doesn't work?

    Winfocus is supposed to change the active window for keyboard input, but it does not seem to be accomplishing that task. See code below... This code should check for focus every 10 seconds and if Procomm doesn't have it, it should take it. Run this and while running, click on another app...
  8. FastLearner

    How do you make the monitor "wake up" from the screen saver?

    Revised: look below... Run this and while running, click on another app. According to what Procomm can see, it IS changing the focus, but that doesn't mean it's on top?!? Anyone know how to solve this? We can't do much window navigation at all if this command doesn't work. Winfocus is...
  9. FastLearner

    How do you make the monitor "wake up" from the screen saver?

    Does anyone have a clue why the following does not work? This test script should steal the focus every 10 seconds. I'm trying to get Procomm to put itself ontop when events occur. IF the winfocus would work the winactivate would kill the screensaver. proc main while 1 ;loop indefinitely...
  10. FastLearner

    Trapping Procomm+ Exit?

    One handy way to do this is to set up all your "clean up" activity in a batch file. Once you've tested it to run, put the "c:\program files\procomm\programs\pw4.exe" as the first line of your batch. From here on out use the batch to start Procomm. The batch will hold...
  11. FastLearner

    How do you make the monitor "wake up" from the screen saver?

    Knob, This is for an "Alarm Server". I simply want it to wake up from the screen saver when activity occurs. Sometimes alarms come within the same second. If I use minimize/restore on every alarm instance, it will wake up the from the screen saver, but you'll have a hard time...
  12. FastLearner

    How do you make the monitor "wake up" from the screen saver?

    Did you make sure that Procomm was NOT the active window? To test, activate the script and quickly click on another app to take the focus away from procomm, then let the screensaver start. If PW is minimized, the Maximize command will kill the screensaver. However, if it's NOT minimized and...
  13. FastLearner

    How do you make the monitor "wake up" from the screen saver?

    Good solution! But not perfect... The winactivate will ONLY work when the main procomm window has the focus. If it's minimized or another application is on top, winactivate fails to kill the screensaver. I used winfocus to put Procomm on top but it doesn't seem to do anything. It stays in...
  14. FastLearner

    How do you make the monitor "wake up" from the screen saver?

    That would work great if I had an NT4 box, but I'm running Win2000 Pro. "c:\winnt\system32\scrsvr" does not exist. Not only that but I can't locate ANY executable that triggers the screensaver from the command-line. If you double-click on "Misc.SCR" from explorer it...
  15. FastLearner

    How do you make the monitor "wake up" from the screen saver?

    I've written a nifty script that runs in line with our system alarm printer. (I work on an Intecom E-14 PBX.) All the alarms that hit the printer also display to the screen in my work area in color coded format. It also pages/emails out on certain alarms, plays wave files on others, and even...
  16. FastLearner

    Procomm Scheduler & Scripts

    I've had similar issues with Procomm Scheduler. The easiest solution I've found is also to use Windows Task Scheduler. I've found this works better anyway as I have other processes that need to run AFTER procomm scripts have completed. So you can just create a .BAT that contains something...
  17. FastLearner

    ddeexecute Options for Excel 97

    I'm very interested in seeing DDE for Aspect as well. Thanks in advance for sharing!

Part and Inventory Search

Back
Top