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 

AHK CopyPassage v2.0
Goto page Previous  1, 2, 3, 4, 5  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
AGU
Guest





PostPosted: Tue Mar 21, 2006 2:07 pm    Post subject: Reply with quote

Hello afterburner,

FYI: I'm currently working on the new features. Smile

Concerning this New Folder hotkey:
What folder/entry is highlighted on the left side in your explorer after startup?
The hotkey just opens the FileMenu and chooses New - Folder.

Another way of achiving this might be using the Apps key. This solution might work on the desktop but I don't know exactly. Give it a try. Wink

Code:
#q::
  Send, {AppsKey}NO
Return


btw. in order to work correctly no icon shall be highlighted on the desktop.
Another point is that the AppsKeys doesn't work in Windows Explorer on every folder. e.g. My Documents.
____________
Cheers
AGU
Back to top
AGU
Guest





PostPosted: Tue Mar 21, 2006 2:17 pm    Post subject: Reply with quote

Quote:
-First hotkey: (This is what you have done already) saves it with time stamp.

-Second hotkey: First creates text file with time stamp then it auto prompts user to do our improved method (What is done by the Third hotkey).

-Third hotkey:(for individual renaming) Does the file rename/folder with that name/move thing.
As far as I understand it hotkey#2 and #3 can be combined.

E.g. using a new hotkey Ctrl+Win+C would open the little GUI/InputBox that demands for this sensemaking name and creates the folder and the .txt file within at once without creating a date-time stamp file within the notes subfolder. What do you think?
_________________
Cheers
AGU
Back to top
AGU
Guest





PostPosted: Tue Mar 21, 2006 2:21 pm    Post subject: Reply with quote

Embarassed The apps key hotkey above is languange specific. In an english XP it must be either:
Code:
#q::
  Send, {AppsKey}NF
Return

or
Code:
#q::
  Send, {AppsKey}N{Enter}
Return

___________
Cheers
AGU
Back to top
afterburner



Joined: 23 Jul 2005
Posts: 52

PostPosted: Tue Mar 21, 2006 3:05 pm    Post subject: Reply with quote

Quote:
As far as I understand it hotkey#2 and #3 can be combined.


My reason for having hotkey#2 and #3 seperate was lets say the user is feeling lazy and does not want to rename at the moment, the user can use just use hotkey #1. later the user has to rename a number of files, the the user can use hotkey #2 and rename files.

Your suggestion is great I'm just taking into account the lazy factor lol.

For the do-it now folks they would of course use hotkey #2.
Back to top
View user's profile Send private message
afterburner



Joined: 23 Jul 2005
Posts: 52

PostPosted: Tue Mar 21, 2006 3:46 pm    Post subject: New tests results Reply with quote

The following code I tested on my desktop with no icons highligted:
here are the results AGU:

Code:
#q::
  Send, {AppsKey}NO
Return


Code:
#q::
  Send, {AppsKey}NF
Return


The two samples of code above opened the apps context window only.

Code:
#q::
  Send, {AppsKey}N{Enter}
Return


This last code almost worked, I modified it to work on my desktop. The modified code is:

Code:
#q::
  Send, {AppsKey}
  Send, w{Enter}
Return


As I said this only works on my desktop.

--------------------------------------------------------
Other tests

Test on: Windows Explorer
Failed: "My Computer" was highlighted. Screen Flickered

Test on: D: drive
Failed: D: drive was highlighted - WinRar was started

Test on: C:\Test
Failed: Test was highlighted - "Copy to" box popped up

Test on: C:\Test - (this time I left clicked inside "Test" folder before using the hotkey)
Success

Conclusion: We have to get the script to move focus inside the target folder without any icons highlighted or always do it manually.
Back to top
View user's profile Send private message
AGermanUser



Joined: 12 Feb 2005
Posts: 82

PostPosted: Fri Mar 24, 2006 7:13 pm    Post subject: Reply with quote

OK, afterburner. Very Happy

New version. Please see first posting. Give it a try. There might be some bugs or script errors.
_______________
Cheers
AGU
_________________
Cheers
BBCodeWriterToDo-ListCopyPassage
Back to top
View user's profile Send private message
afterburner



Joined: 23 Jul 2005
Posts: 52

PostPosted: Fri Mar 24, 2006 11:07 pm    Post subject: You da man Reply with quote

After testing the new version I did a summersault. Thank AGermanUser.

I noticed that you did not include a way to view the document or to open the "export" folder.

Sugestions:
1: May I suggest you create a two tabs to view the documents in "notes" folder and "export" folder:

Notes:, Export Folder:

That way clicking the tab would show you the contents of that folder.

2: Please include a context menu item the would open the both "notes" and "export" folders individually?

3. I know you've been busy energies into the impovement so I will conclude you may have forgotten about the:

- dictionary lookup suggestion
- New folder suggestion.
Would you include these into the next version? Very Happy


Last edited by afterburner on Sun Mar 26, 2006 8:10 am; edited 2 times in total
Back to top
View user's profile Send private message
robiandi
Guest





PostPosted: Sat Mar 25, 2006 6:16 am    Post subject: Reply with quote

Starting "AHK CopyPassage 2.0" will create a window "AHK CopyPassage 2.0"
therefore at the label NoteGUI:
the else condition will never be reached.

That means, that the title in
Code:
Gui, 1:Show, x%PosX% y%PosY% w%GuiW% h%GuiH%, %ScriptName%
has to be changed, for example to
Code:
Gui, 1:Show, x%PosX% y%PosY% w%GuiW% h%GuiH%, %ScriptName% GUI
Only then the hotkey #g will display the GUI.

( Or have I made a mistake?)
Back to top
AGU
Guest





PostPosted: Sat Mar 25, 2006 11:35 am    Post subject: Reply with quote

@robiandi

I`ve encountered this error already. Smile

It is because you have opened this thread in a browser window while running AHK CopyPassage.
When you open this thread, the browser window will have the WinTitle AHK CopyPassage 2.0.
Therefore there exists already a window with this name and CopyPassage thinks this is the script window.

I think I'll rename this thread. After doing this, the error might dissappear.
(Dieser Artikel enthält momentan keinen Text)
_________________
Cheers
AGU
Back to top
AGU
Guest





PostPosted: Sat Mar 25, 2006 12:08 pm    Post subject: Reply with quote

Quote:
After testing the new version I did a summersault.
As english is not my mother tounge, I searched quite some time until I realized that you did a somersault. Mr. Green

Quote:
I noticed that you did not include a way to view the document or to open the "export" folder.
Do you mean the document within the folder you give a name (which is created as a subfolder within the Export folder?)
Viewing the export folder is not a big problem I think. I could use
Run, explorer.exe %ExportDir% to open up an explorer window displaying the content of this folder. What do you think about this?

Quote:
1: May I suggest you create a "tabs" to view the documents in "export" folder. Is this possible with AHK? So you could have two tabs:

Notes:, Export Folder:

That way clicking the tab would show you the contents of that folder.
Tabs would be possible with AHK. I must have a look into it. But I fear this will make the whole script more complicated as I might have to change a lot of subroutines to pay attention which Tab is open at the moment. Therefore I would prefer another solution for this. Any idea?
Maybe another GUI which could be called by a menu entry, or a button within the GUI, ...

Or do you mean s.th like the current GUI with a ListView element, that lists all text files in the subfolders of the export folder. And clicking these files should display their content in an edit control in the same way?

Quote:
2: Could you include also including a context menu item the would open the both "notes" and "export" folders individually?
Why would you like to open the "notes" folder? Export folder sounds like #1. An explorer window?

Quote:
3. I know you've been busy energies into the impovement so I will conclude you may have forgotten about the:

- dictionary lookup suggestion
- New folder suggestion.
Would you include these into the next version? Very Happy
I think dictionary lookup might not be of common interest for all CopyPassage users. Therefore I left that out. But feel free to add this hotkey to the scripts (main.ahk) you have on your harddisk after installing CopyPassage.
Or convince me that this is of common interest. Mr. Green

Concerning New folder suggestion:
As you might have noticed there isn't a 100% reliable solution for creating a new folder by hotkey. It is a known problem. See e.g. this thread. Therefore I left that out too, to avoid users reporting these errors all the time. But again, feel free to add one of the hotkeys we found out already, to your own scripts.
_________________
Cheers
AGU
Back to top
afterburner



Joined: 23 Jul 2005
Posts: 52

PostPosted: Sat Mar 25, 2006 11:19 pm    Post subject: Reply with quote

I would not have known English was not your first language.

Concerning:

Quote:
Maybe another GUI which could be called by a menu entry, or a button within the GUI,


I'm sure you could do it that way; the tab idea was to make it easier for the user to see all the text files. I know it would make your job more challenging. Thank you again for your hard work.

I see your point about:

Quote:
Why would you like to open the "notes" folder? Export folder sounds like #1. An explorer window?


So instead just make a way to open the "export" folder. This would help a user who has downloaded a program and then used AHK Copy Passage to copy serial, install instructions, or a program description. Then the user can open the link to the folder then move the stuff somewhere else. This is just a time saving feature for the user.

Quote:
I think dictionary lookup might not be of common interest for all CopyPassage users. Therefore I left that out.


Quote:
Or convince me that this is of common interest.


Ok here's my shot lol:

(insert inspirational music) AHK Copy Passage is turning into more than just a quick notes program. I see it as a tool to copy notes and even keep those notes organized. That other view tab for the "export" folder I suggested would act like an organizer so a user would have quick access to important notes he might want handy and permanent on a daily basis so one would not have to search far for important quick stuff. The first tab, what is contained in the "notes" folder is actually a temporary folder.

Adding web/google look up, the dictionary look up, and the universal folder create hotkey add to the versatility of your program and fall in line with file management and minor editing. I simply see it as a natural progression of your original thought. (insert a huge crowd with loud applause)
Back to top
View user's profile Send private message
afterburner



Joined: 23 Jul 2005
Posts: 52

PostPosted: Wed Oct 25, 2006 3:02 pm    Post subject: Please Add Colon Character Reply with quote

I have noticed that this awesome script does not allow saving with ":" character. Is it possible to allow the script to allow it? If so how can this be done?

Note: May I again say how greatful I am that you created this script I use it every day without fail. I wish I had more knowledge this second so I could continue to customize and expand this script to do a few more awesome things.
Back to top
View user's profile Send private message
AGU
Guest





PostPosted: Wed Oct 25, 2006 3:33 pm    Post subject: Reply with quote

Quote:
Is it possible to allow the script to allow it?
Nope. Smile

Windows doesn't allow ":" as part of a file name. Give it a try. Create a new .txt file on your desktop and name it e.g. :test.txt. So it's not a limitation of the script but a limitation by the OS.
____________________
Cheers
AGU
Back to top
afterburner



Joined: 23 Jul 2005
Posts: 52

PostPosted: Thu Oct 26, 2006 7:11 am    Post subject: sigh, u'r correct... so how about... Reply with quote

You're correct. How about substituting ":" for a space in naming files.
Back to top
View user's profile Send private message
PatKing
Guest





PostPosted: Mon Nov 13, 2006 8:01 am    Post subject: Up and Down Keys don't work in FIFA07 while CP is running Reply with quote

Sorry for my poor english

FIFA use DirectInput and doesn't work with simulated Keys.

I've changed:
Code:
$F5::
  IfWinNotActive, %ScriptName%
    {
       Send, {F5}
       Return
    }
; Otherwise script is running and label can be executed
RefreshGui:
  GoSub, FillNoteFileList
Return

; Hotkey for Keyboard navigation within ListView
$Up::
  IfWinNotActive, %ScriptName%
    {
       Send, {Up}
       Return
    }
  Send, {Up}
  GoSub, FillNoteEditControl
Return

$Down::
  IfWinNotActive, %ScriptName%
    {
       Send, {Down}
       Return
    }
  Send, {Down}
  GoSub, FillNoteEditControl
Return


to

Code:
#IfWinActive, AHK CopyPassage
   Hotkey, F5, Press_F5
   Hotkey, Up, Press_Up
   Hotkey, Down, Press_Down

at the beginning of the script,
and added the Routines

Code:
Press_F5:
   Send, {F5}
Return

Press_Up:
   Send, {Up}
   GoSub, FillNoteEditControl
Return

Press_Down:
   Send, {Down}
   GoSub, FillNoteEditControl
Return


Now I can keep CopyPassage running while i play FIFA Wink
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
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