Skip to main content
23 events
when toggle format what by license comment
Mar 2, 2015 at 12:09 comment added gronostaj @hsawires Of course you don't have to explain. The thing is, if you are trying to solve X, but asking for a solution to Y, then often there is a solution Z which is simpler and more stable than Y. Ask for X and you'll probably get Z.
Mar 2, 2015 at 10:39 review Reopen votes
Mar 2, 2015 at 17:55
Mar 2, 2015 at 10:20 history edited hsawires CC BY-SA 3.0
deleted 11 characters in body
Mar 2, 2015 at 5:10 comment added hsawires @Gronostaj If you endeavored to read the rest of the issue you'll find it a problem - for me at least!! - and it has been solved .. and of course no problem does not have other dimensions. and I don't have to explain "in details" my job secrets for you to be sure it is not an XY problem!! .. the whole problem story will be so boaring and it is out of concern .. what I did is summarize the problem and complete my solutions with other Q&A. -- instead of saying that you may contribute if you like.
Mar 1, 2015 at 13:43 history closed DavidPostill
Mokubai
Needs more focus
S Feb 28, 2015 at 22:12 history suggested MMM CC BY-SA 3.0
grammar and editorial, so it makes more sense
Feb 28, 2015 at 21:49 review Suggested edits
S Feb 28, 2015 at 22:12
Feb 28, 2015 at 21:47 comment added gronostaj Sounds like a XY problem. Are you sure this is the actual problem you're solving?
Feb 28, 2015 at 19:26 review Close votes
Mar 1, 2015 at 13:43
Feb 28, 2015 at 18:06 vote accept hsawires
Feb 28, 2015 at 17:45 answer added younes zeboudj timeline score: 1
Feb 28, 2015 at 17:20 comment added hsawires @krowe thank you for your comment .. could you please edit your answer?
Feb 28, 2015 at 17:15 comment added krowe I think that what you really need here is to 1) copy the folder 2) load files from that copy in word 3) save the files to that copy dir 4) replace the original folder with the new copy after word closes. This should be fairly easy to do with my script by changing the rename commands to copy commands and adding a rmdir command before the final line.
Feb 28, 2015 at 17:12 comment added kodybrown Renaming the directory before starting Word is easy as shown in the answers listed. Even renaming after Word starts is easy enough using something like start "rename" cmd.exe /c sleep.exe 500 ren "dir1" "dir2". But, I don't think you can rename the folders back before Word has exited without writing a Word plugin/extension. Or, without using something like AutoHotkey or AutoIt, where the Alt+F4 is intercepted by AHK which in turn renamed the directories back and then exits Word. (Starting Word from a shortcut using AHK would allow for much more accurate renaming of the directories as well..)
Feb 28, 2015 at 16:58 comment added hsawires in the window title [Microsoft Word] the version is 2010, and in the process is [WINWORD.EXE*32]
Feb 28, 2015 at 16:53 comment added krowe Also, the part where we need to wait for it to close is going to require that we find the name of the program (the Windows HWND name [or the window title] not the file name). Because of this a batch file is going to be a horrible way to do this. I'd use .NET or C myself. Tell us EXACTLY which program you are using (include the version). Also, tell us what it is listed as in Task Manager > Processes.
Feb 28, 2015 at 16:49 comment added hsawires please check my edited question. -Thank you-
Feb 28, 2015 at 16:48 comment added krowe You NEED to give an explanation of what you are trying to accomplish better. I suggest asking a new question with exactly what you want explained. You've already messed this one up beyond redemption.
Feb 28, 2015 at 16:48 history edited hsawires CC BY-SA 3.0
added 299 characters in body
Feb 28, 2015 at 16:20 comment added Oliver Friedrich Please point out if you want the batch script to start your program, or the batch script should detect when the program is run. The latter is a lot more difficult.
Feb 28, 2015 at 16:03 answer added gogoud timeline score: 2
Feb 28, 2015 at 15:56 answer added krowe timeline score: 1
Feb 28, 2015 at 15:03 history asked hsawires CC BY-SA 3.0