mesale0077 Posted June 7, 2012 Share Posted June 7, 2012 (edited) Edited September 4, 2014 by mesale0077 Quote Link to comment Share on other sites More sharing options...
Mehmet Posted June 7, 2012 Share Posted June 7, 2012 (edited) [img]http://i.imgur.com/vGIFW.jpg[/img] autoit olmayan bir bilgisayarda çalışması için au3 dosyasını önce kendi bilgisayarında compile etmen gerekir yani exe formatına çevirmen gerekir bunun için au3 dosyasına sağtıklayıp compile script demen yeterli eğer yanlış anlamadıysam tabi ama au3 dosyası autoit olmayan bir bilgisayarda çalışırmı orasını bilemem. Edited June 7, 2012 by MeHMeTBeN Quote Link to comment Share on other sites More sharing options...
teyos000 Posted June 7, 2012 Share Posted June 7, 2012 evet [color="#FF0000"]MeHMetBeN[/color] arkadaşımızın dediği gibi yapman lazımevet [color="#FF0000"]MeHMetBeN[/color] arkadaşımızın dediği gibi yapman lazım Quote Link to comment Share on other sites More sharing options...
g.a Posted June 7, 2012 Share Posted June 7, 2012 au3 dosyası çalıştırılabilir uygulama değil, kodların bulunduğu bir dosyadır. Derleyip exe ye çevirirsen hiç bir şeye bağlı kalmadan çalışır. Quote Link to comment Share on other sites More sharing options...
SimpsoN_Bart Posted June 7, 2012 Share Posted June 7, 2012 (edited) [font="Courier New"]Ben herhangi bir çalışma yapacaksam scite üzerinden yaparım yani kodları debug için F5 (Go) kullanırım ve sorun varsa output a bakarım zaten bana hata mesajı uyarı satır bilgisiyle verilir. Ayrıca compile yani derleme işlemini yapacaksam Ctrl+F7 (compile) yaparak scriptin daha sağlıklı uygulama olmasını sağlarım size önerim scite üzerinden işlemlerinizi yapmak böylece sorunları daha kolay çözersiniz..Kolay gelsin iyi çalışmalar..[/font] Edited June 7, 2012 by SimpsoN_Bart Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted June 7, 2012 Author Share Posted June 7, 2012 herkese teşekkürler sorun çözüldü anlatmak istediğim yaptığım işi yaptığım proğram aracılığıyla incelemekti ,au3 zaten compiler yapılamadan başka pc autoit olmazsa çalışmaz .amaç önceden bakma olayı ,hata aramak degil ,yapılan işin ön izlemesi gibi ,au3 dosyasını proğram üretecek sonra ,gene proğramla au3 dosyasınındaki çalışmasına bakacağım nasıl olduğuna ,sonra compiler yapılır autoit sitesinden buldum, [code]#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("[#] Form1 [#]", 623, 442, 192, 124) $Button1 = GUICtrlCreateButton("Önizleme", 224, 160, 185, 81) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 _RunWaitAU3(@ScriptDir&"\tnc_.au3") EndSwitch WEnd Func _RunAU3($sFilePath, $sCommandLine = "", $sWorkingDir = "", $iShowFlag = @SW_SHOW, $iOptFlag = 0) Return Run('"' & @AutoItExe & '" /AutoIt3ExecuteScript "' & $sFilePath & '" ' & $sCommandLine, $sWorkingDir, $iShowFlag, $iOptFlag) EndFunc ;==>_RunAU3 Func _RunWaitAU3($sFilePath, $sCommandLine = "", $sWorkingDir = "", $iShowFlag = @SW_SHOW, $iOptFlag = 0) Local $iPID $iPID = RunWait('"' & @AutoItExe & '" /AutoIt3ExecuteScript "' & $sFilePath & '" ' & $sCommandLine, $sWorkingDir, $iShowFlag, $iOptFlag) If @error Then Return SetError(@error, 1, 0) EndIf Return $iPID EndFunc ;==>_RunWaitAU3[/code] Quote Link to comment Share on other sites More sharing options...
SimpsoN_Bart Posted June 7, 2012 Share Posted June 7, 2012 (edited) Dediklerinden pek birşey anlamadım ama yaptığın işe bakılırsa sana dediğim şeyler yanlış değil, amacın ne olursa olsun hataları görmen veya outputa bakman önemlidir kanımca hem yazdıklarım da kullanmanı tavsiye ederim.Bu arada proğram değil program. Edited June 7, 2012 by SimpsoN_Bart Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.