
JackDinn
Active Members-
Posts
530 -
Joined
-
Last visited
Everything posted by JackDinn
-
Help with a function and passing a Cmd Line Parameter.
JackDinn replied to RickB75's topic in AutoIt General Help and Support
Had similar problems passing to cmd but if i remember right i removed the @SW_HIDE from the command and you can see exactly whats being executed on the cmd , -
Organize Includes in SciTE4Autoit3
JackDinn replied to Xenobiologist's topic in AutoIt Example Scripts
yea that sounds about right , well fits the bill anyhow maybe you should a check for the file finnished being saved before moving on. Anyhow , all good now , Cheers, JD. -
Organize Includes in SciTE4Autoit3
JackDinn replied to Xenobiologist's topic in AutoIt Example Scripts
well i dont understand why but putting a small sleep between fileopen and fileread has got it working on both comps It makes no sense to me , iv never seen a problem with the file commands before and i do a lot of file reading and writing all the time myself with AI i thought it looked a bit like a security app blocking the fileread while it checks who is opening it . only thing is i dont have anything like that running on either of my comps. really stumped me. many thx -
Organize Includes in SciTE4Autoit3
JackDinn replied to Xenobiologist's topic in AutoIt Example Scripts
is very odd, Iv looked at the _getSource() func , i put in a couple of consolewrite() The file path is correct but the fileread() is not reading the file but it is not throwing any error http://imgur.com/AKsDRVk all very odd. -
Organize Includes in SciTE4Autoit3
JackDinn replied to Xenobiologist's topic in AutoIt Example Scripts
both completely empty http://imgur.com/McoWaDu http://imgur.com/dPpnl2u i would have a dig around myself but im kinda in the middle of my own new project atm, but i dont mind at all trying to help you get to the bottom of it. -
Organize Includes in SciTE4Autoit3
JackDinn replied to Xenobiologist's topic in AutoIt Example Scripts
ok well i did as you instructed on my lappy and got the following http://imgur.com/HuG6umf so it seems to have picked up all the functions but none of the code :-/ -
Organize Includes in SciTE4Autoit3
JackDinn replied to Xenobiologist's topic in AutoIt Example Scripts
it is something that happens occasionally on my win7 but every time on my lappy (xp) It does not seem to be limited to just the first time i use it or any particular script/folder when i press restart on my lappy it does restart but is still blank, not tried that on win7 yet I will still use it, if it loads up blank i shall try restarting it and if its still blank i just put the includes in myself, its not something i use every day but if i spot something that might help you i shall let you know. You can have a look at it happening on my lappy with a remote connection if it would help, i have team viewer on it. -
Organize Includes in SciTE4Autoit3
JackDinn replied to Xenobiologist's topic in AutoIt Example Scripts
well iv just notice it does it on my main comp (win7x64) as well, I cant reproduce at will because it seems to open blank one time then if i close it and open it again its working again. So i shall leave it at that , as its not very helpful to you if i cant give a way to reproduce but there somming happening there sometimes. screen shots :- I open OI first time :- '> then just close it and open it again :- '> Cheers. -
Organize Includes in SciTE4Autoit3
JackDinn replied to Xenobiologist's topic in AutoIt Example Scripts
Hi, It looks like its to do with the slow lappy (xp) im using , does it make a copy of the script file before reading it into OI ? because i tried to make a screen shot video of the problem and low and behold it was working again :-/ only thing i can think is that because my screen recorder really slowed my comp down OI had time to read the data but when i turned the screen recorder of again OI did not work again , it looks like its not able to read the script , all its getting is a blank. -
Now even my test script for the embedded html control that DID work now crash's with error :- E:Program Files (x86)AutoIt3IncludeIE.au3 (3690) : ==> The requested action with this object has failed.: Local $oTemp = $o_object.document Local $oTemp = $o_object.document^ ERROR and now same error on my little skype program. heres a copy of what iv got , please excuse the code mess its just how iv always worked , i tidy up at the end (usually ) https://dl.dropbox.com/u/92486143/ShareX/2013-06/test_html.au3 (this one was working with old IE.au3) https://dl.dropbox.com/u/92486143/ShareX/2013-06/im_encryption.au3 You'll need to select one of your skype contacts from the combo dropdown and then it errors when you send an IM.
-
well i downloaded your update and now with it "as is" i get this gui error And if i rem out the line 17 If ObjEvent("AutoIt.Error") = "" Then Global Const $oError = ObjEvent("AutoIt.Error", "Skype_Error") I dont get the gui error but still get the console errors , same errors as shown in my first post. , confused :-/
-
HI, well its AI v3.3.8.0 and i assume that there must be another ObjEvent("AutoIt.Error", .... somewhere but how do i find it ? my includes are :- #include <ButtonConstants.au3> #include <GuiEdit.au3> #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> #include <skype.au3>;~~~;~~~;~~~ #include <String.au3> #include <ComboConstants.au3> #include <GuiComboBox.au3> #include <IE.au3>
-
hi, thx but
-
Hi, Iv been trying to use your skype udf together with <IE.au3> but im really having problems with the COM error handler. Iv got the skype udf working fine on its own and also iv got the embedded html control working fine on its own to but when i try to put the two together i get these kind of errors --> IE.au3 V2.4-0 Warning from function _IELoadWait, Cannot register internal error handler, cannot trap COM errors (Use _IEErrorHandlerRegister() to register a user error handler) --> IE.au3 V2.4-0 Warning from function internal function __IEIsObjType, Cannot register internal error handler, cannot trap COM errors (Use _IEErrorHandlerRegister() to register a user error handler) --> IE.au3 V2.4-0 Warning from function internal function __IEIsObjType, Cannot register internal error handler, cannot trap COM errors (Use _IEErrorHandlerRegister() to register a user error handler) --> IE.au3 V2.4-0 Warning from function internal function __IEIsObjType, Cannot register internal error handler, cannot trap COM errors (Use _IEErrorHandlerRegister() to register a user error handler) --> IE.au3 V2.4-0 Warning from function _IELoadWait, Cannot register internal error handler, cannot trap COM errors (Use _IEErrorHandlerRegister() to register a user error handler) E:\Program Files (x86)\AutoIt3\Include\IE.au3 (3767) : ==> Variable must be of type "Object".: $IEComErrorScriptline = $oIEErrorHandler.scriptline $IEComErrorScriptline = $oIEErrorHandler^ ERROR It happens when i try to _IEDocWriteHTML() (but probably many other func's of the IE.au3 udf as well) Iv looked through the skype.au3 and the only thing i can see that might be of relevance is line 17 Global Const $oError = ObjEvent("AutoIt.Error", "Skype_Error") but iv taken that out and it still does it. I really dont have enough understanding of com objects (or even just objects) to be able to track down what is causing this, any suggestions ? Thx.
-
Organize Includes in SciTE4Autoit3
JackDinn replied to Xenobiologist's topic in AutoIt Example Scripts
Hi, Is this still working , iv updated scite 3.3.0 and re-downloaded from the first post. The GUI loads fine, there are no errors shown but when i click "organize includes" button it removes ALL my code in SciTE and leaves it blank , not even any includeds in the right hand side list of Organize includes. Iv just used a help file .au3 , removed one of the #include's as a demo. -
ok thx all @Firefox, your method wont run a url in the default browser , it needs a file to execute so you would have to use something like runas /trustlevel:<trustlevel> Iexplorer.exe url Turns out that it was only after the installer installs my app. The installer is elevated so it can write to programfiles then after the installation (or update) it runs the app again but now the app is elevated to because it was run by the installer ! Once the app has been closed and restarted it is then running in "normal" privileges Is a little odd though cos this never caused a problem on win7 , no matter i can sort it i think :-/ Thx.
-
I'v always been using ShellExecute("URL") to open a url in the default browser but today i found out that when win8 is in elevated privilege it dont work it just errors saying "Class not registered" It works if a limited account Been working fine in xp & 7 for years I want it to open in the users default browser ,Any suggestions.
-
Yea i was looking at the reg where the counter values were held as it looks like theres nothing comming back from them at all but i didn't want to ask him to do to much as hes not really a "tech head" of any sort and might confuse or worse if i ask him to have a look in the reg. I could just right a quick script to check them and build them (iv not read your links just yet) if needed but that was something else i was not sure about as i thought your code might have already checked they exist. Ok , thx i shall see what i can see.
- 135 replies
-
- performance counters
- monitor
-
(and 8 more)
Tagged with:
-
Hi, So i have had a couple of reports of the network adapter counters not working so i added a debug output to your TestPDH_NetworkUsage.au3 and sent it out to the people who were having problems. 1 Chap has responded , the problem is that none of his adapters can be "seen" Heres his debug log:- I just wanted you to have a quick look over it and see if you can help out (pls bare in mind i have quite a difficult time understanding exactly how the performance counters work). Cheers. EDIT:- Here's hes actual network adapters Realtek RTL8101E Family PCI-E Fast Ethernet NIC (NDIS 6.20) Realtek 8185 Extensible 802.11b/g Wireless Device
- 135 replies
-
- performance counters
- monitor
-
(and 8 more)
Tagged with:
-
Rebar demo's on XP dont seem to work?
JackDinn replied to JackDinn's topic in AutoIt GUI Help and Support
yea , my main comp is win7 but i do like to tinker whilst in bed on my "craplap" which might have a problem running 7 plus im really not so much into doing the upgrade on it but i get where your coming from. If anything iv been thinking more along the lines of getting into one of the linux distos but of course thats not so helpful for AI ^^ -
Rebar demo's on XP dont seem to work?
JackDinn replied to JackDinn's topic in AutoIt GUI Help and Support
cool that sorted it, now i just need to remember this info until AI is updated again , thats if they are going to do anything about it as xp is getting quite old now. -
Rebar demo's on XP dont seem to work?
JackDinn replied to JackDinn's topic in AutoIt GUI Help and Support
o right , cheers, i wonder why i didnt find that when i was searching :-/ o well thx anyhow