topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 6:17 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Shortcut Creator  (Read 88366 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #25 on: June 04, 2010, 06:44 PM »
MMMMM

Failed to find path.
 :(
I have installed windows xp several times in the same pc. I usually install many programs as portables. So I can take advantage.

Is It possible to use environmental variables and the path found ?

Best Regards


Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #26 on: June 04, 2010, 07:25 PM »
I try multiple instances and receive this window. But there is not help file.

http://img97.imageshack.us/img97/12/screenshot0506201001243.jpg
Shortcut Creator


 :(

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #27 on: June 04, 2010, 10:47 PM »
New version uploaded -- minimally tested.

SHA1: 58bd28e144e2d191e9466a015b15c35a3e39d555

Changes include:

  • Environment variable substitution support for locations in ini file
  • Allow multiple instances to run at the same time -- remember to change hotkey setting :)
  • Menu item "Choose Location..." brings up a dialog to choose a folder to create shortcuts in
  • Archive no longer contains sample ini, if there is no ini file, one should be created by the program
  • Archive only contains a single executable
  • Tray icon menu changes
  • Credits
  • Cosmetic changes

Please let me know if you experience any problems.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #28 on: June 05, 2010, 01:37 PM »
Seen ewemoa.
I'll try and will comment

Best Regards
http://img101.imageshack.us/img101/7251/besotene2.gif
Shortcut Creator
http://img101.imageshack.us/img101/7251/besotene2.gif
Shortcut Creator

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #29 on: June 05, 2010, 02:24 PM »
Is something strange.
I have been manipulating the ini.

1. With only one option :The program fails when I let only one option.
1=%userprofile%

2. The program is more powerful , but is not "ultra-fast". The interesting point when only one option is desired is inmediately creation.

By example : (extracted fromo autohotkey forum by author None )


^+s::
Clipboard=
Send ^c
ClipWait
Loop, Parse, Clipboard,`n,`r
  {
  SplitPath, A_LoopField ,,,,OutNameNoExt
  FileCreateShortcut, %A_LoopField%, %A_Desktop%\%OutNameNoExt%.lnk
  }
SoundBeep ; Play the default pitch and duration.
Return

Probably the 80% users only need one option.

Now for the rest without loose powerful.

3. the program fails in the recreation of the ini file. I close the program. I edit the ini file. But after the environmental variables are not recognized.

4. Feature one to many .

I select the icon or subfolder in the active window  I am. And automatically the same shortcut is created in all active windows i have opened selecting the option "Active Windows" or similar.
The option "This active Window" is irrelevant because the windows xp system come with that option almost directly.

5. Please everybody. Perhaps the best way of fast linking wil be two or more hotkeys. One , by example, to send the icon to the desktop, and other to open the general selection table.





ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #30 on: June 05, 2010, 03:42 PM »
Thanks for the feedback.

Is something strange.
I have been manipulating the ini.

1. With only one option :The program fails when I let only one option.
1=%userprofile%
I tried:

[Settings]
; hotkey for activation, see AutoHotkey 'Hotkey' command docs
Hotkey=^+c
; destination locations to choose from
1=%userprofile%
; total number of locations to display (starting at 1)
Total=1

and it worked fine here -- may be I misunderstood.  Would you mind providing your full ini file?

2. The program is more powerful , but is not "ultra-fast". The interesting point when only one option is desired is inmediately creation.
There is a sleep command in the loop that forces a pause.  May be I can rearrange the code so that the sleep only happens if there is more than one item to make a shortcut of.

Do you have any comments, skwire?

3. the program fails in the recreation of the ini file. I close the program. I edit the ini file. But after the environmental variables are not recognized.
I don't understand what you mean by "recreation".  Would you mind elaborating?

If you don't mind, perhaps you could provide step-by-step instructions on an example case demonstrating the issue and how you think it should behave.  Then I can try to reproduce it locally.

BTW, the tray icon menu should contain some menu items that might be handy, in case you haven't seen them:

  • Open Configuration File
  • Reload Configuration
  • Exit

Have you tried them out?

4. Feature one to many .

I select the icon or subfolder in the active window  I am. And automatically the same shortcut is created in all active windows i have opened selecting the option "Active Windows" or similar.
The option "This active Window" is irrelevant because the windows xp system come with that option almost directly.
Hmm, I don't understand.  Would you mind showing me some screenshots?

Perhaps the best way of fast linking wil be two or more hotkeys. One , by example, to send the icon to the desktop, and other to open the general selection table.
Let's come back to this after addressing the other points.  Perhaps you can bring it up again later?

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #31 on: June 05, 2010, 06:44 PM »
Understood. I'll try the best of my own documentating.

I'll take screenshots or even a video.

Best Regards

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #32 on: June 06, 2010, 07:15 AM »
There is a sleep command in the loop that forces a pause.  May be I can rearrange the code so that the sleep only happens if there is more than one item to make a shortcut of.
Do you have any comments, skwire?

That small of a sleep shouldn't make that much of a difference.  I put it in there as a failsafe against a user selecting many thousands of files and having their computer act unresponsive while that many shortcuts were created.  Take it out...see if anything changes for Contro.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #33 on: June 06, 2010, 11:08 AM »
That small of a sleep shouldn't make that much of a difference.  I put it in there as a failsafe against a user selecting many thousands of files and having their computer act unresponsive while that many shortcuts were created.  Take it out...see if anything changes for Contro.
Thanks for the suggestion.  I will try that.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #34 on: June 06, 2010, 07:55 PM »
General idea :

http://img404.imageshack.us/img404/6985/file0189.png
Shortcut Creator



Screenshots explaining the general idea.








« Last Edit: June 10, 2010, 09:52 AM by Contro »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #35 on: June 06, 2010, 08:03 PM »
One to many create several shortcuts according to the number of tabs opened in the browser, o windows opened, or predefined by an ini text file (like the example to create six shortcuts known the target paths)

« Last Edit: June 06, 2010, 08:07 PM by Contro »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #36 on: June 07, 2010, 06:47 PM »
Thanks for the further explanation.

I am working on digesting it (and my food :) ).

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #37 on: June 07, 2010, 08:25 PM »
Thanksss ewemoa. Excuse my english.

I am working hard trying to depurate my work system with expedients and incidences. My references are very simple : 125.09 , where 125 is the number of the expedient, and 09 is the year.
But sometimes I need reorganize the expedient-incidence, because affect to the same contact several times , or affect to several contacts. O have a common environmental incidence with peculiar rules. Reagrupating with shorcuts permits me a perfect organization maintening a simple reference code like 125.09. Save space and accurate information with no duplicates.

Incidences are numerated stiled : 0130.10 , where 10 is the year

an finally very quick ideas or consulting with no reference at all , but with linking in goldmine and with several external documentation in several folders that may need reagrupping or relate with additional shortcuts.

Is more simple for me use shortcuts in some folders that linking all this with Goldmine.

The use with Firefox (or IE) is because i need the web to collect information. I can reference quickly with shortcuts to certain webs, forum, etc.

I use Phrase Express to automation with certain processes i need with goldmine or other elements.

Finally : I think intensive use of shortcuts make my work more easy.



By example : I wanto to get a software or script to make menu photo and this expedient need several parallel aims or partial objectives. In these partial objectives i would like to put a shorcut to the main aim or objective. But this partial objective are shared with other expedients.

So I need a special relation. Sobreyective (i don't know if is the correct word).

Revising the expedient I can reorganize dynamically according to my needs with simple shortcuts, forming a neural network . In programation i think are procedures or something like that. The basic points you need many times.

I use Goldmine 5.5 (an old version as a CRM). Or freemind to organize certain ideas.

When I have to solve a problem in the time and open several expedients or incidences that may be related to the prior ones, i would like to use shortcuts too in a simple way. Before I close an incidence I revise any other relation with the rest of interacting elements.

 :-\




ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #38 on: June 08, 2010, 03:35 AM »
I don't have any significant experience getting AutoHotkey to work with Firefox.  My guess is it is unlikely I would come up with anything useful in relation to Firefox any time soon.

With regard to the Windows Explorer one-to-many features I'm still considering and researching.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #39 on: June 08, 2010, 08:15 AM »
I made an attempt at supporting a few things.  Here's an example ini file:

Code: Text [Select]
  1. [Settings]
  2. ; hotkey to bring up menu
  3. Hotkey=^+c
  4. ; destination locations (numbered starting at 1) to choose from
  5. ; absolute path
  6. 1=C:\
  7. ; environment variable support
  8. 2=%TEMP%
  9. ; multiple locations, separate by |
  10. 3=C:\WINDOWS|C:\
  11. ; hotkey for location(s)
  12. 4=^+d::C:\Documents and Settings
  13. 5=^+p::%USERPROFILE%|%TEMP%

Now to explain what is different.

First, no need to specify Total= in settings any more.  Just make sure to start at 1 and increase by 1 each time.  (Lines 6-13).

Multiple destinations may be specified for a single menu item -- just separate them using the | character (sometimes called 'pipe' or 'vertical bar').  (Lines 10 and 13).

A menu item may have an associated hotkey -- using the hotkey the popup menu can be bypassed altogether.  (Lines 12 and 13).  (Put the hotkey string after the leftmost = on the line, and put two colons right after the hotkey string.)

If the earlier was code was still in-development, this is even more so :)

  http://ewemoa.dcmemb...reateShortcutsIn.exe

SHA1: 34336f348fc6d8ff0f056b2518ff597c213952d7

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #40 on: June 10, 2010, 08:21 AM »
I don't have any significant experience getting AutoHotkey to work with Firefox.  My guess is it is unlikely I would come up with anything useful in relation to Firefox any time soon.

With regard to the Windows Explorer one-to-many features I'm still considering and researching.

I have intended in the firefox specialized forums get information about this addon. When I have good information I'll put here.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #41 on: June 10, 2010, 08:29 AM »
I made an attempt at supporting a few things.  Here's an example ini file:

Code: Text [Select]
  1. [Settings]
  2. ; hotkey to bring up menu
  3. Hotkey=^+c
  4. ; destination locations (numbered starting at 1) to choose from
  5. ; absolute path
  6. 1=C:\
  7. ; environment variable support
  8. 2=%TEMP%
  9. ; multiple locations, separate by |
  10. 3=C:\WINDOWS|C:\
  11. ; hotkey for location(s)
  12. 4=^+d::C:\Documents and Settings
  13. 5=^+p::%USERPROFILE%|%TEMP%

Now to explain what is different.

First, no need to specify Total= in settings any more.  Just make sure to start at 1 and increase by 1 each time.  (Lines 6-13).

Multiple destinations may be specified for a single menu item -- just separate them using the | character (sometimes called 'pipe' or 'vertical bar').  (Lines 10 and 13).

A menu item may have an associated hotkey -- using the hotkey the popup menu can be bypassed altogether.  (Lines 12 and 13).  (Put the hotkey string after the leftmost = on the line, and put two colons right after the hotkey string.)

If the earlier was code was still in-development, this is even more so :)

  http://ewemoa.dcmembers.com/tmp/CreateShortcutsIn.exe

SHA1: 34336f348fc6d8ff0f056b2518ff597c213952d7

I'll try and comment.

I have observed in the shortcut the possibility to comment :

a) Select the icon
b) create the shortcut
c) select the shortcut - right click properties - direct access tab - commentary

This image in my system :



I would like to modificate the script CTRL+SHIFT+S to modify during the shortcut copy the comment in it.


« Last Edit: June 10, 2010, 09:40 AM by Contro »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #42 on: June 10, 2010, 08:39 AM »
To follow the firefox addon for shortcuts
http://forums.mozill...p?f=38&t=1917131
 :) from Spins

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #43 on: June 10, 2010, 09:07 AM »
I would like to try one list.
I'll comment. With some path in my local net.

Best Regards

P.D. Please leave one option in the right menu to launch any application.

« Last Edit: June 10, 2010, 09:25 AM by Contro »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #44 on: June 10, 2010, 09:31 AM »
Fails because my list is too long :

« Last Edit: June 10, 2010, 09:38 AM by Contro »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Shortcut Creator
« Reply #45 on: June 10, 2010, 09:35 AM »
please don't use imageshack images -- attach images to posts instead.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #46 on: June 10, 2010, 09:36 AM »
And I don't see the sixth line created in my ini file. Can't I create new lines ?


Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #47 on: June 10, 2010, 09:36 AM »
please don't use imageshack images -- attach images to posts instead.

Understood mouser

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #48 on: June 10, 2010, 03:37 PM »
Fails because my list is too long :
Perhaps the following idea will work:

Define environment variables for each of the separate paths and then use those in CreateShortcutsIn.ini.

For example, suppose there are the following six paths one wants to use for a single menu item:

  • C:\Documents and Settings\User\Red
  • D:\Documents and Settings\User\White
  • E:\Documents and Settings\User\Yellow
  • F:\Documents and Settings\User\Black
  • G:\Documents and Settings\User\Green
  • H:\Documents and Settings\User\Blue

One can use a batch file or other means to define environment variables such as:

  • set RED=C:\Documents and Settings\User\Red
  • set WHITE=D:\Documents and Settings\User\White
  • set YELLOW=E:\Documents and Settings\User\Yellow
  • set BLACK=F:\Documents and Settings\User\Black
  • set GREEN=G:\Documents and Settings\User\Green
  • set BLUE=H:\Documents and Settings\User\Blue

(If a batch file is used for this, one idea is to use it to launch CreateShortcutsIn.exe.)

In CreateShortcutsIn.ini, one might have:

Code: Text [Select]
  1. [Settings]
  2. ; hotkey to bring up menu
  3. Hotkey=^+c
  4. ; destination locations (numbered starting at 1) to choose from
  5. ; absolute path
  6. 1=%RED%|%WHITE%|%YELLOW%|%BLACK%|%GREEN%|%BLUE%

I tested something like this just now, and it seemed to work fine here.

Note: It is important that the environment variables are defined before CreateShortcutsIn.exe is launched.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Shortcut Creator
« Reply #49 on: June 10, 2010, 03:38 PM »
And I don't see the sixth line created in my ini file. Can't I create new lines ?
I don't understand the problem being described.

Would you mind posting your ini file or one that reproduces the problem for you?