Jump to content

pauleffect

Members
  • Posts

    18
  • Joined

  • Last visited

Recent Profile Visitors

212 profile views

pauleffect's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I'm going to try everything you guys posted! Thanks for the support!
  2. oh, i already got it to work like this (main ui script + compiled exe). i was wondering if there was a way to compile a single exe like this: generate UI ----> click button ------->start script2 (contains infinite loop) click button 2 -----> close script2 I really apreciate your support and answers and I feel like a douche for wasting your time.
  3. Thank you friend. Already did. Nothing popped. I restarted the Pc and I got it working again. (the syntax checker was popping errors too - and the scripts were copy-pasted 10000000% identical to the docs). So, for further googlers... try Danp2's solution first, mine second. (restarting my pc made me cry inside - i felt like a granny using a mobile phone )
  4. i see, thank you for your time.i'll manage somehow.
  5. Hello. I'm at my wits end. I had a perfectly running script, ran it, stopped it. When I ran it again, bang, error. The one in the title. Now, whatever I try, even samples from the docs, variable must be of type "Object".: I copy - paste the code from the docs exactly as provided. I included ie.au3. I even redownloaded ie.au3 from the library section. I closed scite, i restarted everything. I can't get anything related to _Ie to function. This is ... baffling.
  6. I don't see the point. it's nothing wrong with the code. It acts exactly as it should. I have a problem I don't know how to fix . Exiting a loop. With a button click. While that loop is running. Thought there was a generic way, smthing I was missing. I see that this is not the case. I will try harder and... hope for the best. Best wishes and thank you for your time!
  7. GUICtrlSetOnEvent($btnMin, "button_min") GUICtrlSetOnEvent($btnClose, "button_Close") GUICtrlSetOnEvent($btnStoreip, "button_Storeip") GUICtrlSetOnEvent($btnConnect, "button_Connect") GUICtrlSetOnEvent($btnDisconnect, "button_Dissconect") GUICtrlSetOnEvent($btnStartV, "button_startV") GUICtrlSetOnEvent($btnStopV, "button_stopV") GUICtrlSetOnEvent($btnHelp, "button_help") I thought it was understood i did, considering it starts the 2nd loop... Sorry, my bad, forgot to mention
  8. Well, long story short - This is the main script Opt("GUIOnEventMode", 1) $Gui = GUICreate("Gui",500,700,-1,-1,$WS_POPUP,-1) bla-bla-bla GUISetState(@SW_SHOW,$Gui) while 1 sleep(1) wend Func button_Connect() ShellExecute(@scriptdir&"\serverapp_nowin.jar") ;~ #include "data\dav_hotkey.au3" Run("srv.exe") $toggle = true Endfunc Func button_Dissconect() ProcessClose("javaw.exe") ProcessClose("srv.exe") $toggle = false Endfunc the second is a file reading loop and keystrokes sender. while $toggle ..... when i try to close the script (or minimize, close the ui, etc) it does nothing. It's kind of logical, being stuck in the second loop... ___ Adlibregister i'll look into it
  9. I am... Opt("GUIOnEventMode", 1)
  10. Hello guys. I have a problem. I have a Ui with multiple buttons. One of those buttons starts a script. Another (should) closes it. The problem is that the 2nd script is an infinite loop. Thus, freezing my ui and utterly defeating the close button. One idea is to compile the 2nd script and run it silently - no tray icon, hidden, etc. But it's my own idea, so it must be a better way. I have searched for solutions but .... Thank you for your time.
  11. i would like to take my time to thank UDFLover123 for posting that answer! It solved my problem. I would like to further (respectfully) remind you all that a forum isn't like a bar. Being indexed by search engines it provides a far better documentation for any given piece of software than it's original one. A post, necro or not, can fix problems 10 years later and a solution, necro posted or not, remains a source of problem-solving for future readers, be that in the same week as the post or a decade later (as in this case). Have a great and productive day!
  12. sorry dude, i'm new to autoit, reading the forum and well.... i didn't see the harm in it. i'll keep it in mind though. still, insane is a strong word, don't you think? ____ edit: thanks for the color chooser. i was actually just thinking about that and there it was, in your sig. Perfect! Thanks again! edit2: באָבקעס מיט קודוצ׳ה does this really mean shivering shit balls?!
  13. ))))))))) 4 years later and here I am, lol-ing like a ************
  14. actually, no. ^c won't do the trick. for example, in photoshop, if you try it on a layer(a tiny slice), it returns, upon paste, a copy of a "flattened image" (the whole canvas). Will paste solution here for further googlers (as myself) even though this is dead. EDIT: Please be mindful of the clearly stated fact that CTRL + c <> CTRL + C . So, don't be idiots (like me) and use uppercase... :headbang:
  15. ) i was googleing the same thing. didn't see it there..... f1-12
×
×
  • Create New...