Locked Home » Forums » Legacy & Archived » Archived Content » Star Wars Galaxies » SWG Premium Discussions

running multiple accounts on the same computer with autoit : SWG Premium Discussions

Posted: May 1st, 2009
Total Posts:18 Joined:2009
is there a way to run more than one autoit script and account on a computer at the same time without using virtual machines?

i can use virtual machines but they crash sometimes and use a lot of cpu power.

for example the idea is to run two accounts on the same computer and each running a delete script. i have tried with user accounts and it isn't working

anyone know how to accomplish this?
Posted: May 3rd, 2009
Total Posts:121 Joined:2007
idea (can't test it atm): modify the delete script to send every minute an "ALT+Tab" keystroke, so active window switches to the other client instance running?

just make sure, you have the spot for delete at the same position so the script does not delete something you want to keep.


as i said - just an idea, can't test it atm.
Posted: May 12th, 2009
User avatar
Total Posts:387 Joined:2009
What you could do is give both SWG windows a different title, when running windowed, with the following autoit script:

Code: Register to unlock hidden link

$title = "Star Wars Galaxies"
$i=0
While WinExists($title)
	$i=$i+1
	WinSetTitle($title,"","SWG"&$i)
WEnd
Then accordingly in your code put WinActivate("SWG#") replacing the # with the instance of the SWG window you want to run. Just look at the title of the SWG window.

For example, if you want to switch between windows on a given interval, you could use a third autoit script,

Code: Register to unlock hidden link

$interval = 10 ; In seconds
HotKeySet("{ESC}", "Terminate")
While 1=1
	WinActivate("SWG1")
	Sleep($interval*1000)
	WinActivate("SWG2")
	Sleep($interval*1000)
WEnd

;Terminate Script
Func Terminate()
	Exit 0
EndFunc   ;==>Terminate
Then you'll of course have to make sure your other script doesn't mess up, E.G. having the interfaces exactly the same.


If there is enough interest, I can write up a script that works with multiple SWG's to delete junk
Posted: May 15th, 2009
Total Posts:348 Joined:2007
I am interested in this as can and do run more then one account on my PCs.
Posted: May 16th, 2009
User avatar
Total Posts:387 Joined:2009
I totally haven't tested this, because I just have one account, etc. Just run this script first before using:

Code: Register to unlock hidden link

$title = "Star Wars Galaxies"
$i=0
While WinExists($title)
   $i=$i+1
   WinSetTitle($title,"","SWG"&$i)
WEnd 


Attachments:
JunkFarmMultiAcc.txt Register to unlock hidden link
(2.24 KiB) Downloaded 16 times
Posted: May 16th, 2009
Total Posts:198 Joined:2007
EDIT: Nvm, missread your code Ro4r, what I was thinking is exactly what you made lol. Good one!
Posted: May 16th, 2009
User avatar
Total Posts:387 Joined:2009
I'd appreciate it if someone could try it out. I have no idea if it works! Hehee... heh...
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 2 guests
Locked