
cburak
Active Members-
Posts
20 -
Joined
-
Last visited
cburak's Achievements

Seeker (1/7)
0
Reputation
-
FileInstall with user permissions
cburak replied to cburak's topic in AutoIt General Help and Support
Thank you both for advice. I tought I should have adminrights to write a file. Now I know I can use those dir's without permission. -
Hi I wrote a small application with small gui which uses custom animations and graphics. I know I have to use #include and FileInstall(), but cant decide where to put my temporary files? My script doesnt need to admin rigths so I didnt add #requireadmin paramater to top of my script. I know little about UAC and Windows user permissions. I allways use my computer with adminright and script is running just fine in mu pc. But I will distribute that scipt so where should I put my temp files with least permissions. $k[0]=@AppDataCommonDir $k[1]=@AppDataDir $k[2]=@ProgramsDir $k[3]=@DocumentsCommonDir $k[4]=@FavoritesDir $k[5]=@LocalAppDataDir $k[6]=@MyDocumentsDir $k[7]=@TempDir $k[8]=@WorkingDir BTW a friend of mine told me (Iam not sure) that I have to choose it wisely because not all system have all temp folders. Thank you for any suggestions?
-
a tiny advice, any script that have a connection with game doesnt allowed here. No offense, just saying before Melba comes here
-
Hi I wrote a simple application with AutoIt & support of the that forum. But Iam looking for some make up > Is it possible to make an Video Loop in GUI with ANY way? For example I have a warning message and I want to put a video near the message, 1-2 seconds long and looping until user sees the message and close it. Btw I can convert that video and sound to any format that it need to be in. I couldnt find any similar question/answer. For now Iam focusing looping a gif and add sound to it. But thats not a nice solution as you can guess. Its hard to sync them and I need to loop that sound&gif that way (Still working on it tough) Thanks for any advice! Edit: I tried GUICtrlCreateAvi but i cant make it work with sound. I hope I wasnt miss something. Edit2: Looking for something called 'MCI' (Yeah Iam new and totaly lost) (Sorry to not posting any code. I think its not necessary in that sitution, still can provide if you need)
-
cburak reacted to a post in a topic: Autoit SysInfo Clock v0.9.9.7 build 2014-08-27 beta
-
Resizing GUI to right side with WinMove
cburak replied to cburak's topic in AutoIt General Help and Support
Thanks thats exacly what I looking for. -
Wrong Topic Title: Resizing GUI to "LEFT" side Hi Iam trying to make an options GUI and that GUI can expand both sides "left" and "right" with WinMove and AutoItSetOption("GUIResizeMode",802). (That 802 indicates all controls wont move) However expanding right side is flawless but I cant expand window to left side. I want this to expand like this when I click proper buttons: I coulnt make left side expand. Thanks for any help.
-
Thanks for your effort, your sample perfectly works. I tought I have syntax mistake but now I realise I "have" to copy 1 by 1.
-
Hey Iam trying to copy an Array in to another Array with no luck. I have an ArrayA(2dimension) and ArrayB(1Dimension) I want to copy whole ArrayB in ArrayA. Global $GradeArray[8][2] $GradeArray[0] = StringSplit($Text," ",3) Stringsplit returns 1dimension array with 2 elements and GradeArray have 2dimension. But this code only gives me error. Do I have to copy 1 element by 1 like this?: $i = StringSplit($Text," ",3) $GradeArray[0][0] =$i[0] $GradeArray[0][1] =$i[1] Or simply Iam just making simple syntax mistake? Thanks for any advice.
-
(I solved myself - Sorry to disturb you. I should look more before asking for help) Solution: Local $oInput, $oInputs = _IETagNameGetCollection($oIELogin, 'input') For $oInput In $oInputs If String($oInput.alt) = "giris" Then _IEAction($oInput, "click") EndIf Next Hello. Iam trying to login a website automatically but I cannot click login. Here is the webpage HTML: <tbody><tr> <td height="25" align="left" background="../images/baslik.gif"><span class="style13"> :: Öğrenci Girişi </span></td> </tr> <form name="frmLogin" action="login.asp" method="post"></form> <tr> <td width="204" align="center" valign="top"><table width="100%" border="0" cellpadding="1" cellspacing="1"> <tbody><tr> <td width="44%"><span class="style17">Kullanıcı Adı : </span></td> <td width="56%"><input name="frmName" type="text" size="8"></td> </tr> <tr> <td><span class="style17">Şifre : </span></td> <td><input name="frmPass" type="password" size="8"></td> </tr> <tr> <td> </td> <td><input type="image" src="../images/cmdtamam.jpg" alt="giris" width="67" height="22" style="border:none"></td> </tr> </tbody></table></td> </tr> <input type="hidden" name="submit" value="1"><input type="hidden" name="frmTip" value="3"> <tr> <td height="25" align="left"><hr size="1"></td> </tr> <!--<tr> <td height="25" align="left" valign="top" background="../images/baslik.gif"><span class="style13"> » Anket </span></td> </tr> <tr> <td align="center" valign="top"><table width="100%" border="0" cellpadding="1" cellspacing="1"> <tr> <td colspan="2"><span class="style17">Anket sorusu burada sorulacak ? </span></td> </tr> <tr> <td><input name="radiobutton" type="radio" value="radiobutton"></td> <td class="style2">1. Seçenek </td> </tr> <tr> <td><input name="radiobutton" type="radio" value="radiobutton"></td> <td class="style2">2. Seçenek </td> </tr> <tr> <td width="18%"><span class="style17"> <input name="radiobutton" type="radio" value="radiobutton"> </span></td> <td width="82%" class="style2">3. Seçenek </td> </tr> <tr> <td> </td> <td align="right"><img src="../images/dugme_tamam.gif" alt="giris" width="67" height="22"></td> </tr> </table></td> </tr>--> </tbody> I have succesfully set the forms but can not submit it. $i=_IEGetObjByName($oIELogin,"frmName") _IEFormElementSetValue($i,$username) $i=_IEGetObjByName($oIELogin,"frmPass") _IEFormElementSetValue($i,$password) I have no idea which one should I click or how to click it: <form name="frmLogin" action="login.asp" method="post"></form> or <input type="image" src="../images/cmdSubmit.jpg" alt="giris" width="67" height="22" style="border:none"> or <input type="hidden" name="submit" value="1"> or <input type="hidden" name="frmTip" value="3"> I have tried so many combinations but here is my last part of code for click: $oSubmit = _IEGetObjByName($oIELogin,"submit") $oSubmit.click $osubmit = _IEformgetobjbyname($oIE,"frmLogin") _IEFormSubmit($oSubmit) $oFormLogin = _IEFormGetObjByName($oIELogin,"frmLogin") _IEAction($oFormLogin,"click") _IEImgClick($oIELogin,"giris","alt",0,1) 2. mini question. is there a any difference between : _IEFormGetObjByName _IEGetObjByName for getting this obj: <form name="frmLogin" action="login.asp" method="post"></form> Any help much appreciated:) Edit: Code view
-
How to get detailed information in a webpage with IE.au3
cburak replied to cburak's topic in AutoIt General Help and Support
Thank you! Works like charm:) -
Hey guys! Iam trying to get an information in a website with usefull UDF IE.au3. I need a little help. <li> <a href="myacc"> <div class="notification">1</div> <img src="http://cdn.example.com/img/my_acc.png" alt="My Account"> <span>my accs</span> </a> </li> <li> <a href="mysets"> <div class="notification">3</div> <img src="http://cdn.example.com/img/my_sets.png" alt="My Sets"> <span>my sets</span> </a> </li> So there is 2 information Iam trying to get: 1. There is 1 notification in "myacc" 2. There is 3 notification in "mysets" If I figure out how should I get notification in "myaccs" then I can get the other one same way I dont know how to get it because I dont know what kind a property is this ">1<" or is it even a property. Iam trying to reach those separetly. Here is what did I do so far: $oIE = _IECreate("http://example.com/") Login() Check() Func Check() Local $oA, $oAs = _IETagNameGetCollection($oIE, 'a') For $oA In $oAs If String($oA.href) = "myacc" Then Local $oDiv, $oDivs = _IETagNameGetCollection($oA, 'div') For $oDiv In $oDivs If String($oDiv.classname) = "notification" Then ;There is need be some code to get how many notifications. I mean ">1<" part. Else MsgBox(1,"failed","exit") ExitLoop EndIf Next Else ;MsgBox(1,"fail2","try2") EndIf Next MsgBox(1,"didnt find anything","??") EndFunc Iam new about objects so my way could be way too lame. Any improvement and suggestions are much appreciated. Thanks!
-
Thanks for info. Actually I dont know much about child-parent windows. I will try to explain My gui is overlapping with 'taskbar'. But taskbar allways top of my gui. Even I use 'topmost' style (when I use anything on taskbar it becomes top forever). My main purpose is make my gui allways top of everything. I succeed that by making my gui child window of a Full-Screen application.(But that is not working everytime - I thinks its depends on application) I also noticed some of 'Windowed Full Screen' applications allways top of taskbar too like idiot adds popups on web. I tried to copy their style (by Autoit Window Info) to my gui and failed. Maybe it was a dummy idea. I have an other option that hiding taskbar. I keeping this option for last because its annoying for me. But if there is no way to arhcive this then I will have to use it Shortly: If there is a way to making a gui even top of takbar thats will work better for me than using child option. Iam using Win8 64bit. Thanks
-
Hi all, I created a small gui for monitoring some usefull informartion about my system like a tiny toolbox.(like what is in clipboard currenty and many more) And I want to use the advantage of parent window option in 'GuiCreate' but just wondering if I make my gui child of for example an excel document or a webpage which is in Chrome will my gui interact his parent application? (I dont send any messages to parent in any way and I dont want any interactions or slowing down parent application) Basicly I want to know when I make my gui child of an application does that change anything about parent application? Thanks for help.
-
Win8 ProgressBar Options cant be set? (Like Color)
cburak replied to cburak's topic in AutoIt General Help and Support
Again amazing idea .. Çok sağol.. -
cburak reacted to a post in a topic: Win8 ProgressBar Options cant be set? (Like Color)
-
cburak reacted to a post in a topic: Win8 ProgressBar Options cant be set? (Like Color)
-
Win8 ProgressBar Options cant be set? (Like Color)
cburak replied to cburak's topic in AutoIt General Help and Support
Thank you! Thats a great way to do it. Also I have learn that: DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0) is totaly disables the current theme. Then I can create all my progressbars. but later do you know how can I enable the current theme back? Thanks again. Note: Nice signature:D