Jump to content

nitekram

Active Members
  • Posts

    2,427
  • Joined

  • Last visited

  • Days Won

    2

nitekram last won the day on March 11 2013

nitekram had the most liked content!

2 Followers

Profile Information

  • Member Title
    Ng1-Nf3

Recent Profile Visitors

1,606 profile views

nitekram's Achievements

  1. I wanted to create my own, that does not have the limitation of 254 characters... But I am unable to make it work, any help? It seems like once you hit enter, it stays for a bit, bypassing the second call - please let me know if I make no sense, it is early for me lol #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <Misc.au3> For $x = 0 to 1 MsgBox('','',_new_inputbox('test', 'enter some text and then hit enter')) Next Func _NEW_InputBox($sTitle, $sPrompt, $iwidth = 244, $iheight = 156) ;GUISetState(@SW_HIDE, $hGUIMIM) ;GUICtrlSetState($hGUIMIM, $GUI_HIDE) ;MsgBox('','','called new input box') Local $sTitleLocal = $sTitle, $sPromptLocal = $sPrompt, $sReturnString Local $hGUI_InputBox = GUICreate($sTitleLocal, 244, 156, -1, -1, $WS_POPUPWINDOW, -1) Local $idLable = GUICtrlCreateLabel($sPrompt, 10, 12) ;, $iwidth - 20, 25, ) Local $idInput = GUICtrlCreateInput('', 10, 87, $iwidth - 20, 21) Local $idOK = GUICtrlCreateButton("OK", 27, $iheight - 32, 77, 23) Local $idCancel = GUICtrlCreateButton("Cancel", 137, $iheight - 32, 77, 23) Local $bCancelled = False ;Local $hDLL = DllOpen("user32.dll") ; Display the GUI. GUISetState(@SW_SHOW, $hGUI_InputBox) ; Loop until the user exits. While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE, $idCancel $bCancelled = True ExitLoop Case $idOK $sReturnString = GUICtrlRead($idInput) ;MsgBox('','$sReturnString',$sReturnString) ExitLoop EndSwitch If _IsPressed('0D') Then $sReturnString = GUICtrlRead($idInput) ;MsgBox('','$sReturnString',$sReturnString) ExitLoop EndIf WEnd ; Delete the previous GUI and all controls. GUIDelete($hGUI_InputBox) If Not $bCancelled Then Return $sReturnString EndIf EndFunc ;==>_NEW_InputBox
  2. #include <Array.au3> ;"Junk One <Junkone@email.com>;Junk One <Junkone@email.com>;Junk One <Junkone@email.com>;Junk One <Junkone@email.com>;Junk One <Junkone@email.com>;Junk One <Junkone@email.com>;Junk One <Junkone@email.com>;Junk One <Junkone@email.com>;Junk One <Junkone@email.com>;Junk One <Junkone@email.com>;Junk One <Junkone@email.com>;" Global $sString = InputBox('send me some text','', Default, '', 2500) Global $aArray = StringSplit($sString, ';') _ArrayDisplay($aArray) use the following and copy an paste the junk email list into the input box - it cuts off the list. I am looking to be able to input maybe 20 maybe more names, but not sure how to continue, maybe just an input box on the form, but that does not allow me to make a _GUICtrlListBox_AddString?
  3. Not sure if this is a bug or supposed to be this way, or maybe just my version? Version 4.1.2 Nov 13 2018 21:38:53 When I type the two letters 'we' I am not able to use the space key after those two letters? So for example, I type: we went to the store. After the we, I can not hit a space key.
  4. Global $sBrowserPath = 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe ' Run($sBrowserPath & "https://www.yahoo.com/?guccounter=1") If @error Then MsgBox(0, 'ERROR', 'Browser Issue with links - does it exist?') If I open a new tab and paste the same URL it opens fine, Just want to know if it is my computer or not. This just started happening with my code and I have restarted a cleared cookies and cache from both chrom and edge, but when I run this code, it just spins and never opens the site.
  5. I have created a one line file with the code msgbox('','','') and still getting the same error. I do not think it is an issue with the code, as the code never runs. Something to do with permissions I am assuming, but prior to today, as of last week, my files ran fine on this PC.
  6. I have gave myself full access to the folder before moving the folder from its location to the current one right on the C:\ drive - getting same issue...also gave full access to the autoit folder, uninstalled and reinstalled autoit and scite, but keep getting >"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "C:\folder name\app\app.au3" /UserParams >Access is denied. Any ideas?
  7. This is exactly what I will use, thanks so much for everyone's help!
  8. I thank you for trying...I guess if all else fails, I could ask the user to find the information, and then I would know, but that kind of defeats the automated part of the script lol
  9. Somewhat fits lol...If that path was complete at the end...that would be closer? Profile Path C:\Users\%username%\AppData\Local\Google\Chrome\User Data\Default
  10. Yes I see the username, I can get that information, but I am looking for the profile information - unless I missed it?
  11. Does the session have to be open to be able to get the information, or can the window be hidden? I have not looked at the code, but will start to pull it up and see - thanks
×
×
  • Create New...