AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help open all the programs & directories that I need
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Composer



Joined: 22 Nov 2009
Posts: 11

PostPosted: Mon Nov 23, 2009 11:56 am    Post subject: Help open all the programs & directories that I need Reply with quote

Does any one have the time to help me set up so my system opens up all the programs & directories etc that I need?

1) I need 10 x My Computer directories opened, 5 on the Left hand side of the Screen and 5 on the middle right side so I can swap files from 5 instances of C:/scriptural_data to 5 instances of G:/Scriptural_data folders.

2) I then need to execute several programs

i) EF Commander
ii) NET Bible Edition
iii) Pocket Oxford Dictionary
iv) Another bible program
v) Another html creation & editor program
vi) Text program
vii) 4 instances of Internet Explorer
viii) Outlook express

Please help if you can?

Is it possible to create a routine that will correctly close all these when I am finished but NOT closing the Computer down, I want to keep that action manually (at least for now)

Many thanks

[Title edited. Please write descriptive titles for your topics. ~jaco0646]
Back to top
View user's profile Send private message Send e-mail
aaffe



Joined: 17 May 2007
Posts: 942
Location: Germany - Deutschland

PostPosted: Mon Nov 23, 2009 1:00 pm    Post subject: Reply with quote

Look for Run and WinClose in the help file.
You also could look for WinMove.
Back to top
View user's profile Send private message
Composer



Joined: 22 Nov 2009
Posts: 11

PostPosted: Tue Nov 24, 2009 12:22 am    Post subject: Reply with quote

I am obviously asking too much 'cos all I get is - " Read it for yourself "

That isn't helping me one bit that I can't figure out for myself.

Do I want my hand held over this, YES please!

If no one wants to really help then please don't pretend this is a Help Forum.

Instead it should be called " Do it all yourself help forum " 'cos that's all the help you are going to get from here.
Back to top
View user's profile Send private message Send e-mail
TLM



Joined: 21 Aug 2006
Posts: 767
Location: The Shell

PostPosted: Tue Nov 24, 2009 2:18 am    Post subject: Reply with quote

Your probably not going to get your hand held here. What your asking has an obvious solutions in the manual. Creating a duplicate post is a big no no and will put you on 'the igg list' for sure (there isnt really a list Laughing). Never try to bait ppl into helping you by saying this is not a help forum, ppl here are not gullable..

Dont just read the manual. Test out the code examples found at the bottom of the commands!!! Do a search here for similar questions and see if there was any code posted.

Once you do that, if your still having problems, post what you've done and I'm sure someone will be more than happy to help out.

Consider this, what if an anonymous user simply posted code to download a virus or delete your hd on shutdown? If you didnt know it, that could be done to you right Wink?

hth
_________________

Off diving into dll functions..
Back to top
View user's profile Send private message
aaffe



Joined: 17 May 2007
Posts: 942
Location: Germany - Deutschland

PostPosted: Tue Nov 24, 2009 8:14 am    Post subject: Reply with quote

I agree with TLM. I showed you the commands that are necessary for your task.
So look them up in the help file, try it yourself and post your code, if you cant get it run.
THEN we will help you willingly.
Back to top
View user's profile Send private message
Composer



Joined: 22 Nov 2009
Posts: 11

PostPosted: Tue Nov 24, 2009 9:14 am    Post subject: Reply with quote

I will try and get back ASAP

Bit dissappointed but oh well.
Back to top
View user's profile Send private message Send e-mail
Composer



Joined: 22 Nov 2009
Posts: 11

PostPosted: Tue Nov 24, 2009 11:58 am    Post subject: Reply with quote

I have made a start -

Run ::{20d04fe0-3aea-1069-a2d8-08002b30309d} ; Opens the "My Computer" folder.
Run, iexplore.exe
Run, iexplore.exe
Run, iexplore.exe
Run, iexplore.exe
Run, msimn.exe
Run, wordweb.exe
Run, smw.exe
Run, efcw.exe
Run, netbible.chm

I get 4 instances of iexploere ok
I get msimn ok
wordweb fails
smw fails
efcw fails
netbible.chm fails (I guess it should be an .exe?) Can't find the exe file yet?

Also now I have got 1 instance of ' My Computer ' Opening, I need 10 instances altogether, 5 on the left and 5 on the middle right all of them open in a folder called Scriptural_data?

Thanks
Back to top
View user's profile Send private message Send e-mail
Composer



Joined: 22 Nov 2009
Posts: 11

PostPosted: Tue Nov 24, 2009 12:14 pm    Post subject: Reply with quote

I have refined a bit

Run ::{20d04fe0-3aea-1069-a2d8-08002b30309d} ; Opens the "My Computer" folder.
Run, iexplore.exe
Run, iexplore.exe
Run, iexplore.exe
Run, iexplore.exe
Run, msimn.exe
Run,C:\Program Files\WordWeb\wwnotray.exe
Run, C:\sm_bible\smw.exe
Run, C:\program files\Commander\efcw.exe
Run, C:\Program Files\NET Bible First Edition\netbible.chm

Now only the SMW fails to execute?

Still also need the 10 My Computers opening as mentioned before

Many thanks
Back to top
View user's profile Send private message Send e-mail
aaffe



Joined: 17 May 2007
Posts: 942
Location: Germany - Deutschland

PostPosted: Tue Nov 24, 2009 12:54 pm    Post subject: Reply with quote

Try:
Code:
Loop 10
   Run,::{20d04fe0-3aea-1069-a2d8-08002b30309d} ; Opens the "My Computer" folder.
Loop 4
  Run, iexplore.exe
Run, msimn.exe
Run,C:\Program Files\WordWeb\wwnotray.exe
Run, C:\sm_bible\smw.exe,C:\sm_bible
Run, C:\program files\Commander\efcw.exe
Run, C:\Program Files\NET Bible First Edition\netbible.chm
Back to top
View user's profile Send private message
wooly_sammoth



Joined: 12 May 2009
Posts: 178
Location: Gloucester UK

PostPosted: Tue Nov 24, 2009 3:42 pm    Post subject: Reply with quote

The command FileCopy could be used to transfer the files from your C:\ Drive to your G:\ Drive.
The files would then be transferred in the background without having to open all the windows.
Not 100% sure it fits with what you're trying to achieve but if it does it'll mean there's less going on on your screen
Back to top
View user's profile Send private message
TLM



Joined: 21 Aug 2006
Posts: 767
Location: The Shell

PostPosted: Tue Nov 24, 2009 6:11 pm    Post subject: Reply with quote

Is it just me or can only one My Computer be opened via a command? Let me know..

I'm trying to create a workaround now.
_________________

Off diving into dll functions..
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Nov 24, 2009 6:17 pm    Post subject: Reply with quote

because
Back to top
None
Guest





PostPosted: Tue Nov 24, 2009 6:42 pm    Post subject: Reply with quote

If you try to open multiple copies of file explorer in same folder it just reactivates same folder
you could open directly the subfolders you want
Code:
Run C:\My Files\Jokes\

I also recomend WinMove: Changes the position and/or size of the specified window.
To put the folder where you want them.
Back to top
TLM



Joined: 21 Aug 2006
Posts: 767
Location: The Shell

PostPosted: Tue Nov 24, 2009 7:04 pm    Post subject: Reply with quote

Yes I tried changing the way windows open but still opens only one..

Heres my 1st workaround (still ruff)
Code:
Num=
Loop, 10
{
    Num++
    FileCreateDir, % A_Desktop "\Folder" Num
    Run, % A_Desktop "\Folder" Num
   WinWait, % "Folder" Num
   IfWinExist, % "Folder" Num
   ControlSetText, Edit1, My Computer, % "Folder" Num
   ControlClick, ToolbarWindow321, % "Folder" Num
       WinWait, My Computer
       WinGet, mcPID, PID, My Computer
       Sleep, 500
       FileRemoveDir, % A_Desktop "\Folder" Num
      if Num <= 5
      {
          WinWait, My Computer
          WinMove, My Computer,,0, 0, % A_ScreenWidth / 2
      }
      Else
      {
          WinWait, My Computer
          WinMove, My Computer,,% A_ScreenWidth / 2, 0, % A_ScreenWidth / 2
      }
}
ToolTip


Also places 5 on one side 5 on the other... Would have like to use the mcPID to move the folders but for some reason it doesnt work Rolling Eyes..

Anyway let me know if this works plz..


Composer wrote:
1) I need 10 x My Computer directories opened, 5 on the Left hand side of the Screen and 5 on the middle right side so I can swap files from 5 instances of C:/scriptural_data to 5 instances of G:/Scriptural_data folders.

Laughing Then again theres always FileMove Laughing Laughing
_________________

Off diving into dll functions..
Back to top
View user's profile Send private message
Composer



Joined: 22 Nov 2009
Posts: 11

PostPosted: Tue Nov 24, 2009 11:30 pm    Post subject: Reply with quote

Ok thanks for the suggestions and workarounds

So to be clear what routines do I use?

would I be correct in combining aafe's & TLM's Code? - i.e



Loop 10
Run,::{20d04fe0-3aea-1069-a2d8-08002b30309d} ; Opens the "My Computer" folder.
Loop 4
Run, iexplore.exe
Run, msimn.exe
Run,C:\Program Files\WordWeb\wwnotray.exe
Run, C:\sm_bible\smw.exe,C:\sm_bible
Run, C:\program files\Commander\efcw.exe
Run, C:\Program Files\NET Bible First Edition\netbible.chm

+ TLM's Code after or before?

Thanks
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group