tommytx
Active Members-
Posts
253 -
Joined
-
Last visited
Profile Information
-
WWW
http://www.vahud.com
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
tommytx's Achievements
Universalist (6/7)
0
Reputation
-
I have not been working autoit for awhile now but i used to use it a lot... but now that I am back i tried every example in the help file and not of them would work for me.. The browser never came up on any of them.. If its no longer working what is our favorite browser now... Firefox, chrome... if so can anyone point me to a sample that works on other browsers.. Thanks in advance. #include <IE.au3> $oIE = _IECreate() _IENavigate($oIE, "www.autoitscript.com") It won't even do really basic stuff like this.
-
I am a long time autoit user but have not used it for a few years.. I just downloaded the latest version the one that is selfloading exec.. and it appears to be missing a lot of stuff... here is what it looks like when i type "Autoexe" into the Windows Task Bar.. Autoit Windows Info (x86) heck i don't want the info window.. plus it says froze. Autoit V3 Setup. exe (never seen the setup come up in the task bar. Autoit - 123 Autoit 123 Source Autoit Windows Info (x86 I sure do not want all the info windows. Have i done something wrong... I am familiar with Auto it so i know this is not right. I can see the file i downloaded on my hard drive and its named.. autoexec v3 setup.exe and is 12,011 bytes.. This seems weird... the computer i originaly downloaded to is pretty old so I downloaded to a NEW Lenov puter and did the same thing. any suggestions would be appreciated.
-
How to control the value in the Address Bar via Autoit"
tommytx replied to tommytx's topic in AutoIt General Help and Support
Thanks for your response TheXman... I am aware that I could simply Navigate to the site... by I simply dumping in a new URL then visit the site.. Its a simple matter to click the left end of Address Bar.. and then Send the URL and follow with an enter and off it goes and that is what I have been doing but having recently come back across the get the locationURL seems like it wold be so much simpler to just send the new url back as a locationURL... so I apparently have assumed that id i can read a value form the page i can write a valulue to that same page... But not knowing how to get it by id it may not be something that can be done.. but I was sure that one of you experts would immediately know how to do it.. or simply quickly tell me can't be done.. and if so I just continue to click and dump... puts it in the address bar but a little messy.. I also have used click and drag to grab hilite the url.. then delete it and simply send followed by an enter to make it navigate to the new location. So bottom line is it possible to write the address bar as simple as we can read the address bar... Thanks for looking at this.. -
How to control the value in the Address Bar via Autoit"
tommytx replied to tommytx's topic in AutoIt General Help and Support
I did not post my phone number and SSN either. its just a matter of trying to stay safe from all the idiots on the web with their spam and attacks.. Have you heard of the folks that attack your site for fun... This is a very simple question and can be tested on any site... but since its apparently needed.. have fun.. its vahud.com... just an old test site.. or was that a serious question did you really need to test t hat on a specific site.. if so I apologize... of course if it works. I did test it on 3 different random sites... and if I am working on a customer site.. I certainly do not spread thier domain name all over the web... for their privacy unless its actually needed to solve the problem. -
Seem to have a problem training autoit.. to control the Address Bar.. ; Question how to easily write to the Address bar... ; This will type the new user name into the input box on the site.. $username = "tommytx" $tomboy = _IEGetObjById ($oIE, "ctl00_SampleContent_ctlLogin_UserName") $tomboy.value=$username ; This will grab the URL from the address bar line... Local $oIE = _IECreate("https://www.onewebsite.com") $cur_url = _IEPropertyGet($oIE, "locationurl") Msgbox(0,"",$cur_url) ; But what I am looking to do is type a new name into the location bar of the site. $new_url = "https://www.anotherwebsite.com" $cur_url = _IEPropertyGet($oIE, "locationurl") $cur_url.value=$new_url ; does not work ; Folowing is the error generated.. ; "C:\___BRUCE_EXPORT_MYSQL\Update-Premium\attach.au3" (10) : ==> Variable must be of type "Object".: ; $cur_url.value=$new_url ; $cur_url^ ERROR ; Exit code: 1 Time: 10.98 Appreciate any help toward getting me back on the track. Thanks
-
Qick way to find last \ in a URL.
tommytx replied to tommytx's topic in AutoIt General Help and Support
OOPS! Sorry guys this was way simpler than i though in my mind.. I was not thinking about even though the array might have 20 items in some cases they only thing I need todo is simply get the last split... so I will use this.. but would still like to know if anything simpler than this is available.. Thanks.. $dog = "shorty\wp-content\plugins\IDXSEO\css\colors.php" $cat = StringSplit($dog, "\") ConsoleWrite($cat[$cat[0]] & @CRLF) Prints - colors.php -
Does anybody know of short quick simple command to find the last \ in the url... I know i can splitstring orcount them and figure it out.. but surely as nice as autoit is.. there must be something simple... Please. What i need is to grab the filename at the end of each line.. like colors.php So i could split at the \ and grab the last array item... but if anyone has something simpler I would appreciate it.. Thanks shorty\wp-content\plugins\IDXSEO\css\colors.php -> shorty\wp-content\plugins\IDXSEO\Geocoding\Geocron.php -> shorty\wp-content\plugins\IDXSEO\include\CRM.php -> shorty\wp-content\plugins\IDXSEO\include\FieldCategoriesFrontend.php
-
Its working now.. have no idea what did it.. may have been as someone said above a strange character running around. I put it into Notepad++ and lit up all the characters to see but nothing.. Anyway thanks for they help... it should have worked all along as I have used that display command many time.. Thanks a lot.
-
Thanks for the help pseakins and subz. Let's try again.. what I am saying that is not working is the array does not load so the _ArrayDisplay() will not pop up. When I placed the error printer as requested, no error was shown.... but the _arrayDisplay() still does not function and the reason is the 5 items in file are not being placed in an array as they should be so the display will not show an array as it does not exist. Further the missing array is confirmed when I try to print an item from the array which simply errors out.. Yet the @error suggests that the array loaded fine by no error. $mylist = "doggone.txt" Local $aRec _FileReadToArray($mylist, $aRec) ConsoleWrite('Error Y or N -> ' & @error & @CRLF) _ArrayDisplay($aRec) ; Problem is the display does not work. ; Note this errors out since the array was never loaded. ConsoleWrite($aRec[0]) Error Y or N -> 1 "E:\NEW_IDXSEO\_Recursive_Directory\plugins_real_short_archive_out\recursive-2.au3" (14) : ==> Subscript used on non-accessible variable.: ConsoleWrite($aRec[0]) ConsoleWrite($aRec^ ERROR
-
#include <FileConstants.au3> #include <File.au3> #include <Array.au3> ; This works fine.. Local $bRec[5] = ["Item 0", "Item 1", "Item 2", "Item 3", "Item 4"] _ArrayDisplay($bRec) ConsoleWrite($bRec[0] & @CRLF) ConsoleWrite($bRec[1] & @CRLF) $mylist = "doggone.txt" ConsoleWrite($mylist & @CRLF) Local $aRec _FileReadToArray($mylist, $aRec) _ArrayDisplay($aRec) ConsoleWrite($aRec[0] & @CRLF) ConsoleWrite($aRec[1] & @CRLF) >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "E:\NEW_IDXSEO\_Recursive_Directory\plugins_real_short_archive_out\recursive-2.au3" Item 0 Item 1 doggone.txt "E:\NEW_IDXSEO\_Recursive_Directory\plugins_real_short_archive_out\recursive-2.au3" (18) : ==> Subscript used on non-accessible variable.: ConsoleWrite($aRec[0] & @CRLF) ConsoleWrite($aRec^ ERROR >Exit code: 1 Time: 2.765
-
#include <FileConstants.au3> #include <File.au3> #include <Array.au3> $mylist = "doggone.txt" ConsoleWrite($mylist & @CRLF) Local $aRec _FileReadToArray($mylist, $aRec) _ArrayDisplay($aRec) Can anyone see anything wrong with this code... I have used it a zillion times before.. Just dead but shows The 0 0 at bottom suggesting it operated with no output. This is in the text file in same directory as the au3 file Yes it does print out the doggone.txt based on the ConsoleWrite command but no array box showing the data in the txt file.. NOTHING!. doggone.txt dog cat pig hog Added to show the result.. >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "E:\NEW_IDXSEO\_Recursive_Directory\plugins_real_short_archive_out\recursive-2.au3" doggone.txt >Exit code: 0 Time: 0.2863 When I added this just to see: ConsoleWrite($aRec[0] & @CRLF) ConsoleWrite($aRec[1] & @CRLF) >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "E:\NEW_IDXSEO\_Recursive_Directory\plugins_real_short_archive_out\recursive-2.au3" doggone.txt "E:\NEW_IDXSEO\_Recursive_Directory\plugins_real_short_archive_out\recursive-2.au3" (11) : ==> Subscript used on non-accessible variable.: ConsoleWrite($aRec[0] & @CRLF) ConsoleWrite($aRec^ ERROR
-
Any Common failures for activation of OIE?
tommytx replied to tommytx's topic in AutoIt General Help and Support
Ok my new drive is installed and its hit and miss.. working fine now but who knows.. it comes and goes...not fixed but is working for now.. gonna be aggravating not knowing when I can depend on it and when i can't but thanks for the assist.. -
Any Common failures for activation of OIE?
tommytx replied to tommytx's topic in AutoIt General Help and Support
Thanks Dan.. tried much of that including the SFC or what ever the scan repair was but none worked for me.. now here is the kicker.. I removed my 2nd drive and rebooted and all is fine.. so with one drive i am fine.. once i make the new 2nd drive i will connect that same drive back up and see if it kills it again.. so thanks for those who offered help. Works great for the moment. Did you see the comment about Sandboxie in the thread I posted? Yes thank you. Are you able to load IE manually? IE version 10 works great manually. What version of Windows? Win 10 Have you tried rebooting? several times but see above a reboot w/o the second drive fixed it... so will put the second drive back on later tonight and see if it returns or not.. if it still works later tonight with 2nd drive i will mark this one solved.. -
Any Common failures for activation of OIE?
tommytx replied to tommytx's topic in AutoIt General Help and Support
Here is the error output after running the move complex looking code suggested by VIP >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "G:\show_pos.au3\test.au3" G:\show_pos.au3\test.au3 (215) : ==> COM Error intercepted ! err.number is: 0x80040154 err.windescription: Class not registered err.description is: err.source is: err.helpfile is: err.helpcontext is: err.lastdllerror is: 0 err.scriptline is: 215 err.retcode is: 0x00000000 --> IE.au3 T3.0-2 Error from function _IECreate, (Browser Object Creation Failed) >Exit code: 0 Time: 37.52 -
Any Common failures for activation of OIE?
tommytx replied to tommytx's topic in AutoIt General Help and Support
This is what my errors look like now studying to see what all i can do to find out why the class is not registered. Meanwhile if anyone has ideas.. pls comment.. G:\show_pos.au3\test.au3 (215) : ==> COM Error intercepted ! err.number is: 0x80040154 err.windescription: Class not registered err.description is: err.source is: err.helpfile is: err.helpcontext is: err.lastdllerror is: 0 err.scriptline is: 215 err.retcode is: 0x00000000 --> IE.au3 T3.0-2 Error from function _IECreate, (Browser Object Creation Failed) >Exit code: 0 Time: 30.61