Welcome Guest.   Make a donation to an author on the site December 19, 2014, 11:11:14 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2013! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 [2] 3 4 5 6 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Shortcut Creator  (Read 30939 times)
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #25 on: June 04, 2010, 06:44:21 PM »

MMMMM

Failed to find path.
 Sad
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

Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #26 on: June 04, 2010, 07:25:10 PM »

I try multiple instances and receive this window. But there is not help file.



 Sad
Logged
ewemoa
Honorary Member
**
Posts: 2,521



View Profile Give some DonationCredits to this forum member
« Reply #27 on: June 04, 2010, 10:47:45 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 smiley
  • 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.
Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #28 on: June 05, 2010, 01:37:06 PM »

Seen ewemoa.
I'll try and will comment

Best Regards
Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #29 on: June 05, 2010, 02:24:45 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.




Logged
ewemoa
Honorary Member
**
Posts: 2,521



View Profile Give some DonationCredits to this forum member
« Reply #30 on: June 05, 2010, 03:42:37 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:

[copy or print]
[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?

Quote
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?

Quote
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?

Quote
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?

Quote
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?
Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #31 on: June 05, 2010, 06:44:39 PM »

Understood. I'll try the best of my own documentating.

I'll take screenshots or even a video.

Best Regards
Logged
skwire
Global Moderator
*****
Posts: 4,180



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #32 on: June 06, 2010, 07:15:27 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.
Logged

ewemoa
Honorary Member
**
Posts: 2,521



View Profile Give some DonationCredits to this forum member
« Reply #33 on: June 06, 2010, 11:08:56 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.
Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #34 on: June 06, 2010, 07:55:50 PM »

General idea :




Screenshots explaining the general idea.










* screenshot.10-06-2010 15.50.27.png (228.95 KB, 1261x739 - viewed 172 times.)

* screenshot.10-06-2010 15.51.11.png (396.46 KB, 1269x744 - viewed 188 times.)
« Last Edit: June 10, 2010, 09:52:35 AM by Contro » Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #35 on: June 06, 2010, 08:03:45 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:35 PM by Contro » Logged
ewemoa
Honorary Member
**
Posts: 2,521



View Profile Give some DonationCredits to this forum member
« Reply #36 on: June 07, 2010, 06:47:33 PM »

Thanks for the further explanation.

I am working on digesting it (and my food smiley ).
Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #37 on: June 07, 2010, 08:25:39 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.

 undecided



Logged
ewemoa
Honorary Member
**
Posts: 2,521



View Profile Give some DonationCredits to this forum member
« Reply #38 on: June 08, 2010, 03:35:02 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.
Logged
ewemoa
Honorary Member
**
Posts: 2,521



View Profile Give some DonationCredits to this forum member
« Reply #39 on: June 08, 2010, 08:15:50 AM »

I made an attempt at supporting a few things.  Here's an example ini file:

Formatted for INI with the GeSHI Syntax Highlighter [copy or print]
  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 smiley

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

SHA1: 34336f348fc6d8ff0f056b2518ff597c213952d7
Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #40 on: June 10, 2010, 08:21:53 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.
Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #41 on: June 10, 2010, 08:29:10 AM »

I made an attempt at supporting a few things.  Here's an example ini file:

Formatted for INI with the GeSHI Syntax Highlighter [copy or print]
  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 smiley

  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.




* screenshot.10-06-2010 14.25.54.png (13.77 KB, 408x493 - viewed 143 times.)

* screenshot.10-06-2010 14.26.44.png (845.37 KB, 1280x1024 - viewed 173 times.)

* screenshot.10-06-2010 14.27.00.png (846.84 KB, 1280x1024 - viewed 178 times.)
« Last Edit: June 10, 2010, 09:40:48 AM by Contro » Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #42 on: June 10, 2010, 08:39:47 AM »

To follow the firefox addon for shortcuts
http://forums.mozillazine...ic.php?f=38&t=1917131
 smiley from Spins
Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #43 on: June 10, 2010, 09:07:11 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:40 AM by Contro » Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #44 on: June 10, 2010, 09:31:22 AM »

Fails because my list is too long :



* screenshot.10-06-2010 15.30.42.png (11.29 KB, 613x172 - viewed 145 times.)
« Last Edit: June 10, 2010, 09:38:00 AM by Contro » Logged
mouser
First Author
Administrator
*****
Posts: 33,786



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #45 on: June 10, 2010, 09:35:35 AM »

please don't use imageshack images -- attach images to posts instead.
Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #46 on: June 10, 2010, 09:36:24 AM »

And I don't see the sixth line created in my ini file. Can't I create new lines ?

Logged
Contro
Participant
*
Posts: 2,186

View Profile Give some DonationCredits to this forum member
« Reply #47 on: June 10, 2010, 09:36:53 AM »

please don't use imageshack images -- attach images to posts instead.

Understood mouser
Logged
ewemoa
Honorary Member
**
Posts: 2,521



View Profile Give some DonationCredits to this forum member
« Reply #48 on: June 10, 2010, 03:37:17 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:

Formatted for INI with the GeSHI Syntax Highlighter [copy or print]
  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.
Logged
ewemoa
Honorary Member
**
Posts: 2,521



View Profile Give some DonationCredits to this forum member
« Reply #49 on: June 10, 2010, 03:38:09 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?
Logged
Pages: Prev 1 [2] 3 4 5 6 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.055s | Server load: 0.07 ]