Jump to content

saurabh

Members
  • Posts

    14
  • Joined

  • Last visited

saurabh's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hello, I have a exe made in delphi, when we open it, i prompts a web browser window which opens web.whatsapp.com, i scan it with my phone and phone gets connected. Now when a message comes, it saves that message in mysql table. As i have not created this exe, but i want to achieve the same using autoit, any help will be much appreciated.
  2. Downloaded again, everything worked fine, code is below..now i converted it to exe..exe generated successfully....but when i click the exe nothing happens Func _FileList($sFolder = "FileList") If FileExists(@ScriptDir & "\" & $sFolder & "\lib_Data") Then DirCreate(@ScriptDir & "\" & $sFolder & "\lib_Data") EndIf If FileExists(@ScriptDir & "\" & $sFolder & "\lib_Data\Resources") Then DirCreate(@ScriptDir & "\" & $sFolder & "\lib_Data\Resources") EndIf If FileExists(@ScriptDir & "\" & $sFolder & "\lib_Data\Managed") Then DirCreate(@ScriptDir & "\" & $sFolder & "\lib_Data\Managed") EndIf If FileExists(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono") Then DirCreate(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono") EndIf If FileExists(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc") Then DirCreate(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc") EndIf If FileExists(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono") Then DirCreate(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono") EndIf If FileExists(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\1.0") Then DirCreate(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\1.0") EndIf If FileExists(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0") Then DirCreate(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0") EndIf If FileExists(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\mconfig") Then DirCreate(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\mconfig") EndIf If FileExists(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\Browsers") Then DirCreate(@ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\Browsers") EndIf FileInstall("E:\unity\builds\exe test\scene\lib.exe", @ScriptDir & "\" & $sFolder & "\lib.exe", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\output_log.txt", @ScriptDir & "\" & $sFolder & "\lib_Data\output_log.txt", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\sharedassets0.assets", @ScriptDir & "\" & $sFolder & "\lib_Data\sharedassets0.assets", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\mainData", @ScriptDir & "\" & $sFolder & "\lib_Data\mainData", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\Assembly-CSharp-firstpass.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\Assembly-CSharp-firstpass.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\Assembly-UnityScript-firstpass.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\Assembly-UnityScript-firstpass.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\Assembly-UnityScript.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\Assembly-UnityScript.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\Boo.Lang.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\Boo.Lang.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\Mono.Security.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\Mono.Security.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\mscorlib.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\mscorlib.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\System.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\System.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\UnityEngine.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\UnityEngine.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\UnityEngine.dll.mdb", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\UnityEngine.dll.mdb", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\UnityScript.Lang.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\UnityScript.Lang.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\mono.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\mono.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\config", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\config", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\browscap.ini", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\browscap.ini", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\1.0\machine.config", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\1.0\machine.config", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\1.0\DefaultWsdlHelpGenerator.aspx", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\1.0\DefaultWsdlHelpGenerator.aspx", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0\machine.config", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\machine.config", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0\settings.map", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\settings.map", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0\web.config", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\web.config", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0\DefaultWsdlHelpGenerator.aspx", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\DefaultWsdlHelpGenerator.aspx", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0\Browsers\Compat.browser", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\Browsers\Compat.browser", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\mconfig\config.xml", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\mconfig\config.xml", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Resources\unity default resources", @ScriptDir & "\" & $sFolder & "\lib_Data\Resources\unity default resources", 1) Return 1 EndFunc ;==>_FileList
  3. i downloaded installed, selected the folders, this is the code below generated...then when i tried to convert it to exe then this error came 1. am i going in right direction ? please see attached error image ** Please Note - I Want to bundle my exe + "folders/files-subfolders" to 1 exe , i am not looking for an installer Func _FileList($sFolder = "FileList") If FileExists(@ScriptDir & "\" & $sFolder & "\lib_Data") Then DirCreate(@ScriptDir & "\" & $sFolder & "\lib_Data") EndIf FileInstall("E:\unity\builds\exe test\scene\lib_Data\Resources", @ScriptDir & "\" & $sFolder & "\lib_Data\Resources", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\output_log.txt", @ScriptDir & "\" & $sFolder & "\lib_Data\output_log.txt", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\sharedassets0.assets", @ScriptDir & "\" & $sFolder & "\lib_Data\sharedassets0.assets", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\mainData", @ScriptDir & "\" & $sFolder & "\lib_Data\mainData", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\Assembly-CSharp-firstpass.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\Assembly-CSharp-firstpass.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\Assembly-UnityScript-firstpass.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\Assembly-UnityScript-firstpass.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\Assembly-UnityScript.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\Assembly-UnityScript.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\Boo.Lang.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\Boo.Lang.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\Mono.Security.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\Mono.Security.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\mscorlib.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\mscorlib.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\System.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\System.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\UnityEngine.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\UnityEngine.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\UnityEngine.dll.mdb", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\UnityEngine.dll.mdb", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Managed\UnityScript.Lang.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Managed\UnityScript.Lang.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\mono.dll", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\mono.dll", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\1.0", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\1.0", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\mconfig", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\mconfig", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\config", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\config", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\browscap.ini", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\browscap.ini", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\1.0\machine.config", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\1.0\machine.config", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\1.0\DefaultWsdlHelpGenerator.aspx", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\1.0\DefaultWsdlHelpGenerator.aspx", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0\Browsers", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\Browsers", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0\machine.config", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\machine.config", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0\settings.map", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\settings.map", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0\web.config", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\web.config", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0\DefaultWsdlHelpGenerator.aspx", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\DefaultWsdlHelpGenerator.aspx", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\2.0\Browsers\Compat.browser", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\2.0\Browsers\Compat.browser", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Mono\etc\mono\mconfig\config.xml", @ScriptDir & "\" & $sFolder & "\lib_Data\Mono\etc\mono\mconfig\config.xml", 1) FileInstall("E:\unity\builds\exe test\scene\lib_Data\Resources\unity default resources", @ScriptDir & "\" & $sFolder & "\lib_Data\Resources\unity default resources", 1) Return 1 EndFunc ;==>_FileList
  4. can u elaborate me ? just for clarity my files are here - E:\unity\builds\exe test\lib.exe E:\unity\builds\exe test\lib_Data lib_Data has so many files and folders is there any sample script for this ? will it generate 1 exe only as a result ?
  5. Hii, i have an exe and a folder along it. The name of my exe is lib.exe and i have a folder along it naming lib_data. This folder has files and subfolders. I want to pack all this to 1 exe, can AutoIT help me in it ? do we have some script..please help
  6. Hello, i want to autostart the computer with autoit, is it possible, please share the code if this is possible Thanks
  7. Firefox - Tools - Option - [in tabs] Open new window in new tab instead.. i want to make a function which checks this and if it is ticked, then script should untick / deselect and save.. i dont want to do this like - open firefox, use shortkeys and all...i m looking for a backend sure to work method.. please suggest
  8. thanks mate its done...ur right this was the issue.... 1 more thing.. how to maximize the windows ?? winActivate and Send("{F11}") should work but are not working.. how to achieve this ??
  9. hi i am in win 7 32-bit now, what happens is - when i use this code $URL1="http://www.bing.com/" ShellExecute("C:\Program Files\Mozilla Firefox\firefox.exe",$URL1,@ScriptDir) sleep(2000) ;MsgBox(0, "Example", "My variable is aha") $URL2="http://www.google.com/" ShellExecute("C:\Program Files\Mozilla Firefox\firefox.exe",$URL2,@ScriptDir) sites r opening in tabs, i need seperate window..i m still not successful
  10. Hi, i want to open multiple url's in different windows...and for that i was using $URL1="http://www.yahoo.com/" ShellExecuteWait("C:\Program Files\Internet Explorer\iexplore.exe",$URL1,@ScriptDir $URL2="http://www.google.com/" ShellExecuteWait("C:\Program Files\Internet Explorer\iexplore.exe",$URL2,@ScriptDir and everything was working so well, for some reason now i want to use firefox, issue is -- in firefox 2 seperate windows does not open, first yahoo open and then google open on the same window, where as i want it to open on new window..please help ... for firefox, i am using exactly the same way $URL1="http://www.yahoo.com/" ShellExecuteWait("C:\Program Files\Mozilla Firefox\firefox.exe",$URL1,@ScriptDir) $URL2="http://www.google.com/" ShellExecuteWait("C:\Program Files\Mozilla Firefox\firefox.exe",$URL2,@ScriptDir)
  11. what i want is - it should download the exe n corresponding stuff to a location in the user's computer for the first time and plays from there.. i mean to play exe inside the html from local computer, user do not understand like its loading in his computer n then opening inside html..
  12. Exe is lets say on my web server, for example at http://www.mywebsite.com/folder/myexe.exe now what i want is - when any1 open a page http://www.mywebsite.com/mypage.html, it should call the above exe and that exe should run on the computer...can any1 guide me how can this work ??
  13. Hello, i need to open a website via script and want my window position to particular x,y position as i want... i am simply using ShellExecute ("http://www.google.com.au") or by #include <IE.au3> $oIE = _IECreate() _IENavigate($oIE, "http://www.google.com") please any 1 help me on this
×
×
  • Create New...