Hi, I'm about to purchase 15 licenses, but need to resolve this problem first..
Problem: the keyboard shortcut I assign to a Run a Script (shift + F9) only work for the very first try for each (2) scripts, then do nothing.
The script runs fine with "User > run Script" by the way.
What settings have I missed !?!?
Environment - Terminal Server - windows 2008.
(While I'm here, is there a way to switch from XY to an MS Access window using script? ...I'm validating the users new file name choice when renaming an exisitn file, against a list of of valid entries in an Access table)
Thanks,
Greg
Keyboard shortcut assignments to run scripts
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Keyboard shortcut assignments to run scripts
Hi and welcome to the XY forums!
About the window switching...I'm not a script'r but I don't believe XY script can do it; however, I'm pretty sure that another product that I read about here extensively can do so: AHK (AutoHotKey at http://www.autohotkey.com) and we have a few users here who are quite experienced on that app.
BTW, just curious: Did the recent dual pane addition have any impact on your decision to buy the product, given that you plan on mutiple licenses, or were you already a potential user?
About the window switching...I'm not a script'r but I don't believe XY script can do it; however, I'm pretty sure that another product that I read about here extensively can do so: AHK (AutoHotKey at http://www.autohotkey.com) and we have a few users here who are quite experienced on that app.
BTW, just curious: Did the recent dual pane addition have any impact on your decision to buy the product, given that you plan on mutiple licenses, or were you already a potential user?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66312
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Keyboard shortcut assignments to run scripts
Hi,
Don
Hmm, looks like a bug. I cannot reproduce it here though. So I guess it's specific to the script you are running. Does the script move the focus to somewhere where a keyboard shortcut cannot reach? (If your shortcut is shift + F9 then it should work always, but I ask anyway...)gregP wrote:Problem: the keyboard shortcut I assign to a Run a Script (shift + F9) only work for the very first try for each (2) scripts, then do nothing.
Don
FAQ | XY News RSS | XY X
-
gregP
- Posts: 4
- Joined: 17 Jun 2009 07:34
Re: Keyboard shortcut assignments to run scripts
G'day Don..and thanks for the fast reply.
The 2 scripts are as simple as you can get..
The first just copies the file name to the clip board
copytext report("{Name}", 1);
And the second renames a file using the contens of the clipboard.
rename , <clipboard>;
(You're right that when I re-assigned shift + F9 to the script, it always worked)
My point in having a keyboard shortcut with a minimum of key presses needed to activate the script (as distinct to using the built in ones), is that each month we rename thousands of scanned files, and I'm trying to make it as easy as I can for the operator.
To explain a little further...
- in XY, the user left clicks on the subject file to be renamed, then triggers the simple script in copy the file name to the clipboard (using the keyboard shortcut...that I'm having the trouble with).....(WISH LIST ITEM...to run scripts using right click.)
- then the user clicks an an already opend MS Access window. XY passes the file name to MS Access via the clipboard.
- the user then amends the file name in MS Access. MS Access checks the new proposed file name for validity against our in-house criteria, then passes the file name back to the clipbaord.
-Then, the user triggers the second XY script to rename the file.
Okay..it's clunky I know, but the best way I've come up with at this earlier stage of XY'ing.
Thanks again Don (I'll be out of range of an interent connection for the next couple of days, so don't let my silence indicate a lack of interest!)....cheers, Greg
The 2 scripts are as simple as you can get..
The first just copies the file name to the clip board
copytext report("{Name}", 1);
And the second renames a file using the contens of the clipboard.
rename , <clipboard>;
(You're right that when I re-assigned shift + F9 to the script, it always worked)
My point in having a keyboard shortcut with a minimum of key presses needed to activate the script (as distinct to using the built in ones), is that each month we rename thousands of scanned files, and I'm trying to make it as easy as I can for the operator.
To explain a little further...
- in XY, the user left clicks on the subject file to be renamed, then triggers the simple script in copy the file name to the clipboard (using the keyboard shortcut...that I'm having the trouble with).....(WISH LIST ITEM...to run scripts using right click.)
- then the user clicks an an already opend MS Access window. XY passes the file name to MS Access via the clipboard.
- the user then amends the file name in MS Access. MS Access checks the new proposed file name for validity against our in-house criteria, then passes the file name back to the clipbaord.
-Then, the user triggers the second XY script to rename the file.
Okay..it's clunky I know, but the best way I've come up with at this earlier stage of XY'ing.
Thanks again Don (I'll be out of range of an interent connection for the next couple of days, so don't let my silence indicate a lack of interest!)....cheers, Greg
-
admin
- Site Admin
- Posts: 66312
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Keyboard shortcut assignments to run scripts
2 things:
1. Instead of script/UDC copytext report("{Name}", 1); you could simply assign your desired keyboard shortcut to the native function Copy Item Name(s) (in menu File / To Clipboard).
2. You can place commands into the POM to have them quickly under the mouse.
See http://www.xyplorer.com/tour/index.php?page=pom
1. Instead of script/UDC copytext report("{Name}", 1); you could simply assign your desired keyboard shortcut to the native function Copy Item Name(s) (in menu File / To Clipboard).
2. You can place commands into the POM to have them quickly under the mouse.
See http://www.xyplorer.com/tour/index.php?page=pom
FAQ | XY News RSS | XY X
-
gregP
- Posts: 4
- Joined: 17 Jun 2009 07:34
Re: Keyboard shortcut assignments to run scripts
Hi Don. You suggested..
1. Instead of script/UDC copytext report("{Name}", 1); you could simply assign your desired keyboard shortcut to the native function Copy Item Name(s) (in menu File / To Clipboard).
I tried this, still with the same bug...that is, it worked once.
2. You can place commands into the POM to have them quickly under the mouse.
See http://www.xyplorer.com/tour/index.php?page=pom
Works well, but still not as functional as a keyboard shortcut.
I've also noticed that any shortcut I assign that begins with the ALT key selects the menu.
Is there a bug?...maybe just in the trial version. So, I'm going to purchase a single license to see how it goes.
If that doesn't work, I would ask you to log in using to our server to see for yourself Don.
I'll let you know.
Greg
1. Instead of script/UDC copytext report("{Name}", 1); you could simply assign your desired keyboard shortcut to the native function Copy Item Name(s) (in menu File / To Clipboard).
I tried this, still with the same bug...that is, it worked once.
2. You can place commands into the POM to have them quickly under the mouse.
See http://www.xyplorer.com/tour/index.php?page=pom
Works well, but still not as functional as a keyboard shortcut.
I've also noticed that any shortcut I assign that begins with the ALT key selects the menu.
Is there a bug?...maybe just in the trial version. So, I'm going to purchase a single license to see how it goes.
If that doesn't work, I would ask you to log in using to our server to see for yourself Don.
I'll let you know.
Greg
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Keyboard shortcut assignments to run scripts
The ALT key has some special limitations due to its use for menu accelerators, in case you weren't aware of that...don't have details right now, but that's the basic issue.gregP wrote:I've also noticed that any shortcut I assign that begins with the ALT key selects the menu.
Update: See this thread http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=2777
as one source...there are others also.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
gregP
- Posts: 4
- Joined: 17 Jun 2009 07:34
Re: Keyboard shortcut assignments to run scripts
Hi Don,
no change since buying a license. Also tried it logged onto the SBS server as well as a terminal server session, and a completely different machine.
I've run out of things to try, and would like you to log in to a terminal server session to confirm that I've not missed some configuration setting.
Can I send the rdp link directly to you? I'd be more relaxed if I could send the link privately to you. If so, you may need my email: gregp@pagepearce.com.au to forward your send address.
Thanks, greg
no change since buying a license. Also tried it logged onto the SBS server as well as a terminal server session, and a completely different machine.
I've run out of things to try, and would like you to log in to a terminal server session to confirm that I've not missed some configuration setting.
Can I send the rdp link directly to you? I'd be more relaxed if I could send the link privately to you. If so, you may need my email: gregp@pagepearce.com.au to forward your send address.
Thanks, greg
-
admin
- Site Admin
- Posts: 66312
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Keyboard shortcut assignments to run scripts
Hi greg,gregP wrote:Hi Don,
no change since buying a license. Also tried it logged onto the SBS server as well as a terminal server session, and a completely different machine.
I've run out of things to try, and would like you to log in to a terminal server session to confirm that I've not missed some configuration setting.
Can I send the rdp link directly to you? I'd be more relaxed if I could send the link privately to you. If so, you may need my email: gregp@pagepearce.com.au to forward your send address.
Thanks, greg
you find my email on the Contact page of the XYplorer website (and also here in the forum at the bottom of each post -- or do only I as admin see this?).
Just to make sure: You are still talking about the issue that a keyboard shortcut only works once?
don
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Keyboard shortcut assignments to run scripts
I don't see it...all I see at sig is the link to the game....I don't recall seeing email addr in forum on regular basis anywhere.admin wrote:(and also here in the forum at the bottom of each post -- or do only I as admin see this?).
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66312
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Keyboard shortcut assignments to run scripts
Ah, good, so it's only me.j_c_hallgren wrote:I don't see it...all I see at sig is the link to the game....I don't recall seeing email addr in forum on regular basis anywhere.admin wrote:(and also here in the forum at the bottom of each post -- or do only I as admin see this?).
FAQ | XY News RSS | XY X
XYplorer Beta Club