
punisa
Active Members-
Posts
38 -
Joined
-
Last visited
About punisa
- Birthday 05/01/1970
Profile Information
-
Location
Yugoslavia
punisa's Achievements

Seeker (1/7)
0
Reputation
-
Remote Desktop - Script does not work
punisa replied to neilontherock's topic in AutoIt General Help and Support
I had the same problem when working on remote machines while back and this fixed it. Also I'd recommend using ShellExecute instead of Run when you start something up. Good luck : ) -
error on screen capture over time
punisa replied to punisa's topic in AutoIt General Help and Support
Thanks for the tip Rasim, I was thinking that it might be cursor related error. I'll try it on my local computer. The only tricky part is that it sometimes took more then a day for one of my computers to pop out this error I'm not sure how I'll be able to perform some real tests with such a huge time span. Maybe if I temper with a temporary script to capture screen every second? Perhaps I'll speed the way towards the potential error. Anyhow, is this some sort of memory leak problem when the mouse cursor is captured? -
hi ! I have a script which captures my screen on server over n over again, it does it in time intervals of 2 minutes. I configured it like so: #include <ScreenCapture.au3> ; Capture full screen _ScreenCapture_Capture(@MyDocumentsDir & "\GDIPlus_Image1.jpg") Just as its found in the help file. Everything seems to work ok, but sometimes after 10 or more hours I get an unusual error "_Winapi_copyicon: the operation completed successfully" Doesn't even look like an error if you read it, but it does stop my script and it's displayed in a msgbox that has a title: "error". It also has an "OK" button. When I press it, the script exists and needs to be restarted manually. Any ideas what I should do? Should I alter the main screen capture script or go with a longer route and create another script which will monitor if the error appears and then close the "error" window and restart the script?
-
Hi ! I have a small USB stick which is actually a wireless internet device (vodafone provider). Problem is that sometimes the connection gets lost and doing a reconnect fixes it, BUT there are times when the device becomes permanently not able to connect. In such cases I need to plug out the actual USB stick and plug it back in. How would I go about creating this last step with auto-it? So I'm looking for: -a way to discconect the device, shut it off in a way. -then wait for example 10 seconds -connect the device back ABout the drive letter.. I won't be able to know the letter, but the good side is that this USB device will be the only USB that is connected to the machine.
-
Interested in programming at a higher level
punisa replied to Gar's topic in AutoIt General Help and Support
Yep, as Richard said, your best choice to seize networking knowledge is to start up on HTML and FTP languages/protocols (if you didn't already digg into those.) There are great things to learn on the subject. Just recently I've started developlments on remote synchronizations and such. You'll be able to produce best results when you find a project where you need to implement a huge array of skills - ranging from AutoIt, HTML, PHP to FTP, file sending and etc. But happens to me all the time, I'm pretty skilled with some advanced stuff, but I miss out on simple ones and vice versa. Good luck -
Determine if computer is "idle"
punisa replied to CaryLewis's topic in AutoIt General Help and Support
I believe monitoring the CPU usage would be your best bet -
Thanks for that info weaponx. Yeah, I believe you are right Well isn't that strange if you think about it. I can come up with many situations when such a function would be very usefull, still it seems there is no protocol that would allow one to put it in use. This actually means that if you have multiple public display screens or some user info points, even if you have them connected to the internet, you would have no idea if your displays are working or not. The trickiest part is that if one of your monitors die, you wouldn't even know it untill physically checking the location. What to do in such a scenario? Ok, we figured that data gets loaded on start-up. So to know that a public display is working I guess you'd have to let's say - restart the computer once in 24 hours so it can check the monitor state on start-up? Hehe, I can already see that my boss is not going to like this one bit
-
Yes, mine also detects it. It shows "Panasonic plasma TV" when connected, but again I believe it gets this info on computer start up if I remember well. Even if it gets it live, I'd have no idea how to call video card driver Ahhh, blast my lack of knowledge ! Let's see.. I believe computer can detect when for example mouse or keyboard is detached, so I guess it somehow pings the device - throws a looping signal to check if it exists. I remember reading somewhere that it's also important as to how the PC is actually connected. As I recall someone said that a HDMI cable should be used instead of VGA. I'm sorry that the topic is kinda drifting away from "auto it", that wasn't my intention. I hoped there would be an easy way to accomplish this with Auto It, something as reading the current memory usage. Anyway, all good ideas are still welcome, maybe we can still do something here
-
Displays some usefull info, but also gathers prefetched data from computer, not the actual monitor. I should have named the topic "pinging the monitor" actually
-
Probabbly the data is collected at start up, not in real time. I'll perform additional checks. This could work as a partial solution, although the ideal would be a small loop that would alert as soon as monitor looses contact.
-
Yep, tried it on a couple of monitors. It makes no difference if the monitor is connected or not? Does anyone have a clue as to what could be done about it? Or should I just discard the idea as impossible? Many thanks, don't leave me now : ))
-
Thanks Brett, I've tried to use this script, but every time it says that monitor is running, even when I physical disconnect it from the PC. Any clues why it does that? I'm currently checking this on my regular monitor and windows Vista, I'll try to use it with plasma screen and windows XP when I get to the office.
-
Yep, this one works.
-
That's a cool script there, been using it on one of my other projects. Unfortrunatly doesn't work on a plasma TV screen, it does go blank, but just for 1 second with or without the mouse movment.
-
Hey furrycow, thanks for taking interest. I'm sorry, but I admit that I don't actually understand what all this means. You'll have to excuse my noobishnes If it wouldn't be too much of a problem to point out some steps I should put in my script in order to make this work. I'm not asking to make the wholle script for me, I love to get my hands dirty, but I'm really puzzled right now