AutoHotkey Community

It is currently May 27th, 2012, 2:45 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 58 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: November 23rd, 2009, 12:56 pm 
Offline

Joined: November 22nd, 2009, 1:54 am
Posts: 28
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]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 23rd, 2009, 2:00 pm 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
Look for Run and WinClose in the help file.
You also could look for WinMove.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 1:22 am 
Offline

Joined: November 22nd, 2009, 1:54 am
Posts: 28
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 3:18 am 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
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 :lol:). 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 ;)?

hth

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 9:14 am 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 10:14 am 
Offline

Joined: November 22nd, 2009, 1:54 am
Posts: 28
I will try and get back ASAP

Bit dissappointed but oh well.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 12:58 pm 
Offline

Joined: November 22nd, 2009, 1:54 am
Posts: 28
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 1:14 pm 
Offline

Joined: November 22nd, 2009, 1:54 am
Posts: 28
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 1:54 pm 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 4:42 pm 
Offline

Joined: May 12th, 2009, 2:37 pm
Posts: 640
Location: Gloucester UK
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 7:11 pm 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
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.

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 7:17 pm 
because
Image


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 7:42 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 8:04 pm 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
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 :roll:..

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.

:lol: Then again theres always FileMove :lol: :lol:

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 25th, 2009, 12:30 am 
Offline

Joined: November 22nd, 2009, 1:54 am
Posts: 28
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot], rbrtryn, XstatyK and 21 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group