Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 06-01-2009, 01:27 AM   #1
Solid State Member
 
Join Date: Jul 2008
Posts: 20
Default A crazy question

I was wondering about is it possible like using codes maybe like .bat
to "use" a program?

Let say I want to save a word doc, using Microsoft word is it possible that using code to save the file somehow?
maybe like using the hotkey like Ctrl+F+S ?
__________________

ksclans is offline   Reply With Quote
Old 06-01-2009, 01:38 AM   #2
Fully Optimized
 
vampist's Avatar
 
Join Date: Oct 2008
Location: USA
Posts: 2,404
Default Re: A crazy question

Quote:
Originally Posted by ksclans View Post
I was wondering about is it possible like using codes maybe like .bat
to "use" a program?

Let say I want to save a word doc, using Microsoft word is it possible that using code to save the file somehow?
maybe like using the hotkey like Ctrl+F+S ?
Ok let me try and get this straight...

You want to have a batch file (.bat) to "run" and "use" a program.

For example.. The batch file would open notepad then type out "hello world" then save that file as hello_world.txt.

Is that what you are asking?

If so, to an extent.
__________________

__________________
Everyone's Favorite Turd xD
ET: "Phone home!"
Geek: "ping 127.0.0.1"

"If that guy knew half the $h*t that I know, his fuzzy little head would explode. " - Matthew Farrell
vampist is offline   Reply With Quote
Old 06-01-2009, 01:43 AM   #3
Solid State Member
 
Join Date: Jul 2008
Posts: 20
Default Re: A crazy question

yes like that but I not sure if bat file can do that, and I don't know much other kind of codes
but yea like typing something and save that file without me click the save button
ksclans is offline   Reply With Quote
Old 06-01-2009, 01:47 AM   #4
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: A crazy question

When do you want it to save the file? After you hit a certain command? Microsoft word already has that. Just hit Ctrl+S. There's this one program that saves whatever you type in it automatically. Download Notepad++. When you close it, whatever you have written on it gets saved. Next time you open it, whatever was typed is still there. However it only does automatically for one instance. For example, you can't open it, type "Hi", close it, open it again, type "Hey", and open two instances of the program to find "Hi" and "Hey". Whatever was last one it, is what you will find next time you open it. It also features the Ctrl+S save shortcut.
JogaBonito1502 is offline   Reply With Quote
Old 06-01-2009, 01:52 AM   #5
Solid State Member
 
Join Date: Jul 2008
Posts: 20
Default Re: A crazy question

um... what i trying to do is
want to have a batch file (.bat) [or other kind of code] to "run" and "use" a program.

so it can work with almost any program like word, notepad, firefox....
ksclans is offline   Reply With Quote
Old 06-01-2009, 02:06 AM   #6
Bogan
 
Neodude112320's Avatar
 
Join Date: Feb 2006
Location: Australia
Posts: 8,471
Send a message via MSN to Neodude112320
Default Re: A crazy question

Unless your a leet programmer,Not possible.
__________________
Desktop:BitFenix Survivor~Gigabyte GA-P67A-UD3R~ i7 2600K @ 4hz~AMD 6870 1GB~12gb Team Elite DDR3 1333~3xWD In RAID5~W7 Ult
Laptop:Alienware M11x~ i7-2637M 1.7GHz~16GB 1333MHz DDR3~GeForce GT 540M~W7 Ult
Neodude112320 is offline   Reply With Quote
Old 06-01-2009, 02:11 AM   #7
In Runtime
 
Sedah's Avatar
 
Join Date: Mar 2009
Posts: 132
Default Re: A crazy question

Quote:
Originally Posted by Neodude112320 View Post
Unless your a leet programmer,Not possible.
lol 'leet'
__________________
http://www.evga.com/community/ModsRigs/comment.asp?sysid=18238
Sedah is offline   Reply With Quote
Old 06-01-2009, 03:36 AM   #8
Wizard of Wires
 
setishock's Avatar
 
Join Date: Feb 2005
Location: Not sure
Posts: 10,030
Default Re: A crazy question

Programs have too many variables to write just one size fits all macro.
setishock is offline   Reply With Quote
Old 06-01-2009, 09:29 AM   #9
Solid State Member
 
Join Date: Jul 2008
Posts: 20
Default Re: A crazy question

yea, so like my point is instead of programing everything, how can I use "something" to run a program that is already on the PC..
ksclans is offline   Reply With Quote
Old 06-01-2009, 11:30 AM   #10
Fully Optimized
 
dude_56013's Avatar
 
Join Date: Jul 2007
Posts: 4,262
Default Re: A crazy question

Is there a problem with your mouse and keyboard? Seriously....I don't think anyone is understanding what you are trying to do...there are too many programs like seti said.

You aren't telling us anything...you keep using "somethings" and "make run" and "use" stuff. It's so ambiguous it's not even funny....
__________________

__________________
Intel Core i7-2600K @ 3.4GHz || GIGABYTE GA-Z68X-UD3P-B3 || Corsair Vengeance 16GB DDR3-1600 || EVGA GeForce GTX 480 || Samsung EVO 256GB SSD
my feet get cold and that gives me diarrhea sometimes - Smart_Guy
dude_56013 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 05:10 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0