Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 22:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



_screencapture_capture()

Discussion on _screencapture_capture() within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
_screencapture_capture()

Hallo ich wollte mal fragen warum der bei mir kein bild macht.
Sorry hab _screencpautre_capture() noch nie benutzt.

PHP Code:
for $i=0 to GUICtrlRead($Input2)
            
_ScreenCapture_Capture(@DesktopCommonDir"Image.jpg")
            
sleep(guictrlread($input1))
            
next 
Ludder231 is offline  
Old 03/30/2011, 20:21   #2
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
@Desktopdir gibt nur C:\....\Desktop zurück und nicht \Desktop\ also
PHP Code:
 _ScreenCapture_Capture(@DesktopCommonDir"\Image.jpg"
BlackHybrid is offline  
Thanks
1 User
Old 03/30/2011, 20:27   #3
 
V8II's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 475
Received Thanks: 130
Tut mir Leid für den Fehler.
V8II is offline  
Old 03/30/2011, 20:57   #4
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
Quote:
Originally Posted by V8II View Post
Tut mir Leid für den Fehler.
Macht nichts
Ludder231 is offline  
Old 03/30/2011, 21:08   #5
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
Und wie mach ich jetzt, dass das Bild immer einen neuen Namen bekommt?
Also Image1, Image2 usw.
Mit:
PHP Code:
&zahl=1
           
for $i=0 to GUICtrlRead($Input2)
            
_ScreenCapture_Capture(@DesktopCommonDir"Image.jpg"&$zahl+1)
            
sleep(guictrlread($input1))
            
next 
oderso?
Ludder231 is offline  
Old 03/30/2011, 21:33   #6
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
Mit
PHP Code:
 _ScreenCapture_Capture(@DesktopCommonDir "\Image" $i ".jpg"
oder du hängst einfach die Uhrzeit hinten drann.
BlackHybrid is offline  
Thanks
1 User
Old 03/31/2011, 13:26   #7
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
Jetzt hab ich noch eine frage, die zwar blöd ist aber egal

Wie kann ich einen ordner öffen, weiß den befehl gerade nicht :-o

Iwie mit Fileopen?

Code:
FileOpen("D:\jpgs\")
Code:
Run("D:\jpgs\")
Ludder231 is offline  
Old 03/31/2011, 15:23   #8
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,254
ShellExecute("D:\jpgs")
omer36 is offline  
Old 03/31/2011, 16:50   #9
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
Quote:
Originally Posted by omer36 View Post
ShellExecute("D:\jpgs")
Das geht doch nur bei dem neueren versionen von Autoit oder?
Werde ich mal runterladen
Ludder231 is offline  
Reply




All times are GMT +2. The time now is 22:51.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.