| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Mon May 18, 2009 4:26 pm Post subject: you know what AHK needs???!!!!!!!! |
|
|
You know what AHK needs? A mode where highlighting some text in the forum brings up a 'run!' button next to it, creating and running a corresponding temporary AHK file -- and deleting it once the script is closed!
Why?
1)
people would stop going through the trouble of typing "(-n-o-t- -t-e-s-t-e-d- -b-u-t- -s-h-o-u-l-d- -w-o-r-k-)"
when they can just:
- highlight the code
- click run
and see that it works!
2.
People could check code posted in the forum without going through the trouble of selecting the code - copying the code - minimizing, minimizing, minimizing (until they can see the desktop) - right-clicking - clicking create a new AHK file - opening the new ahk file - pasting what they copied - saving the file - closing the file - double-clicking the file to run it and see what it does - right-clicking the file - clicking delete - confirming delete - opening one window they minimized - opening the other window they minimized - opening the forum window where they wanted to test the code in the first place
when they can just:
- highlight the code
- click run
and see what it does without even leaving the forum!
Who's with me?? |
|
| Back to top |
|
 |
ahklerner
Joined: 26 Jun 2006 Posts: 1381 Location: USA
|
Posted: Mon May 18, 2009 4:37 pm Post subject: |
|
|
there are scripts on the forum if you search _________________
ʞɔпɟ əɥʇ ʇɐɥʍ |
|
| Back to top |
|
 |
infogulch
Joined: 27 Mar 2008 Posts: 649
|
Posted: Mon May 18, 2009 4:43 pm Post subject: |
|
|
you know what AHK needs???!!!!!!!!
Forum users who take five seconds to make an account and log in.
ahklerner is right. I dont think it's a horrible idea, but making this a built in function of the forums is off the quick&easy-implementation/return scale. _________________ Scripts - License |
|
| Back to top |
|
 |
sinkfaze
Joined: 18 Mar 2008 Posts: 5043 Location: the tunnel(?=light)
|
Posted: Mon May 18, 2009 4:46 pm Post subject: Re: you know what AHK needs???!!!!!!!! |
|
|
| loud and font-tastic Guest wrote: | 1) people would stop going through the trouble of typing "(-n-o-t- -t-e-s-t-e-d- -b-u-t- -s-h-o-u-l-d- -w-o-r-k-)"
when they can just:
- highlight the code
- click run
and see that it works! |
Not really. Some (if not many) of us aren't running the program(s) a particular user is talking about but we can tell by the code what corrections should make it work properly. Hence why many people qualify their script with "not tested" because, well, we can't test it if we don't have their software to verify it.
| loud and font-tastic Guest wrote: | 2.People could check code posted in the forum without going through the trouble of selecting the code - copying the code - minimizing, minimizing, minimizing (until they can see the desktop) - right-clicking - clicking create a new AHK file - opening the new ahk file - pasting what they copied - saving the file - closing the file - double-clicking the file to run it and see what it does - right-clicking the file - clicking delete - confirming delete - opening one window they minimized - opening the other window they minimized - opening the forum window where they wanted to test the code in the first place
when they can just:
- highlight the code
- click run
and see what it does without even leaving the forum! |
That opens up some rather large opportunities for people to post malicious code in the forum with the forum's "auto-executing" software facilitating its action on your PC (and probably no meaningful way for the end user to stop its execution in time before some damage has been done). Granted, malicious code isn't typically a problem at the forums and most users here are pretty good at sniffing out trouble, but I think it would be a bad idea for the forum to help them on their way. If you want a script that you can use to run code without doing much of your mentioned rigamarole you can always download ACConsole, and maybe it would be a good idea to promote some scripts that have this capability. But I don't think it would be a good idea to host such functionality on the site. _________________ Try Quick Search for Autohotkey or see the tutorial for newbies. |
|
| Back to top |
|
 |
opfoo Guest
|
Posted: Mon May 18, 2009 4:49 pm Post subject: |
|
|
| infogulch wrote: | you know what AHK needs???!!!!!!!!
Forum users who take five seconds to make an account and log in.
ahklerner is right. I dont think it's a horrible idea, but making this a built in function of the forums is off the quick&easy-implementation/return scale. |
okay I made an acct (opfoo). It's not POSSIBLE to make it a function of the FORUMS, since there's no way a web site could (or should!!!) be able to just create and run an arbitrary script on a user's computer . Instead, as I said, it should be a mode of AHK. You just start it in that mode and whenever you highlight something a little button comes up that you can click to try to run whatever is highlighted as a script (and delete it once it's done running). |
|
| Back to top |
|
 |
Guest
|
Posted: Mon May 18, 2009 4:49 pm Post subject: |
|
|
| ahklerner wrote: | | there are scripts on the forum if you search |
what should I search for? I'm not getting this... |
|
| Back to top |
|
 |
Jex
Joined: 01 Aug 2008 Posts: 101
|
Posted: Mon May 18, 2009 4:54 pm Post subject: |
|
|
Search Sparrow, it's something DerRaphael has been working on. It could do that. But sinkfaze is right, it does put many opportunities for malicious code. _________________ Woot.
Please read forum etiquette |
|
| Back to top |
|
 |
MasterFocus
Joined: 08 Apr 2009 Posts: 3035 Location: Rio de Janeiro - RJ - Brasil
|
Posted: Mon May 18, 2009 5:20 pm Post subject: Re: you know what AHK needs???!!!!!!!! |
|
|
| Anonymous wrote: | 2.
People could check code posted in the forum without going through the trouble of selecting the code - copying the code - minimizing, minimizing, minimizing (until they can see the desktop) - right-clicking - clicking create a new AHK file - opening the new ahk file - pasting what they copied - saving the file - closing the file - double-clicking the file to run it and see what it does - right-clicking the file - clicking delete - confirming delete - opening one window they minimized - opening the other window they minimized - opening the forum window where they wanted to test the code in the first place |
Create a script to automate this. Done. _________________ "Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried."
Antonio França
My stuff: Google Profile |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
Posted: Mon May 18, 2009 5:28 pm Post subject: |
|
|
I posted a script [here] that attempts to run the contents of the clipboard as though it were an AHK script. Whether or not to use it (or use your own) is up to individual preference. My version does have limited detection of potentially malicious code as well as a killswitch and lifespan. _________________ Ternary (a ? b : c) guide TSV Table Manipulation Library
Post code inside [code][/code] tags! |
|
| Back to top |
|
 |
Guest
|
Posted: Mon May 18, 2009 6:16 pm Post subject: |
|
|
| [VxE] wrote: | | I posted a script [here] that attempts to run the contents of the clipboard as though it were an AHK script. Whether or not to use it (or use your own) is up to individual preference. My version does have limited detection of potentially malicious code as well as a killswitch and lifespan. |
but why should I trust YOU to program those functions? I want to just trust the writer of AHK to do it... |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
Posted: Mon May 18, 2009 6:23 pm Post subject: |
|
|
| Anonymous wrote: | | but why should I trust YOU to program those functions? I want to just trust the writer of AHK to do it... |
Don't trust me at all
My source code contains a gating ritual that will call forth hellspawn from your computer monitor. _________________ Ternary (a ? b : c) guide TSV Table Manipulation Library
Post code inside [code][/code] tags! |
|
| Back to top |
|
 |
sinkfaze
Joined: 18 Mar 2008 Posts: 5043 Location: the tunnel(?=light)
|
Posted: Mon May 18, 2009 6:40 pm Post subject: |
|
|
| Anonymous wrote: | | but why should I trust YOU to program those functions? I want to just trust the writer of AHK to do it... |
Who says the actual programmer(s) of AHK are any more trustworthy than anybody else here? Sure they have to put their name on the software but that aside whatever reasons you would have to trust one versus the other are pretty arbitrary.
| [VxE] wrote: | | My source code contains a gating ritual that will call forth hellspawn from your computer monitor. |
That sounds kind of fun, really.  _________________ Try Quick Search for Autohotkey or see the tutorial for newbies. |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Tue May 19, 2009 12:08 am Post subject: |
|
|
| opfoo wrote: | It's not POSSIBLE to make it a function of the FORUMS, since there's no way a web site could (or should!!!) be able to just create and run an arbitrary script on a user's computer . | oh now that's funny since i make a profession of doing just that _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
BoBo³ Guest
|
Posted: Tue May 19, 2009 8:56 am Post subject: |
|
|
| I thought about that challenge the time I wrote the [FSC - Forum Script Copier], but wasn't really interested to 'auto-start' uninspected scripts for the above mentioned reason(s). |
|
| Back to top |
|
 |
tidbit
Joined: 09 Mar 2008 Posts: 1807 Location: Minnesota, USA
|
Posted: Mon May 31, 2010 4:40 pm Post subject: |
|
|
1) I copy code and press a hotkey and then the code is created in a new file and then ran. simple.
2) you have a very bad system. let me fix it a bit for you:
| Quote: | | selecting the code - copying the code - minimizing, minimizing, minimizing (until they can see the desktop) - right-clicking - clicking create a new AHK file - opening the new ahk file - pasting what they copied - saving the file - closing the file - double-clicking the file to run it and see what it does - right-clicking the file - clicking delete - confirming delete - opening one window they minimized - opening the other window they minimized - opening the forum window where they wanted to test the code in the first place |
Things in red could be removed easily with built-in windows hotkeys and/or buttons. Such as: Minimize all, restore all, show desktop, Delete Key, Enter key. and you DON'T need to close your editor to run ahk code... you can leave it open.
How about code with external resources, like pictures and dll's and libraries and whatever? how would it know what and where to get them? _________________ rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
Even monkeys fall from trees. - Japanese proverb |
|
| Back to top |
|
 |
|