- 1 名前:名無しさん@お腹いっぱい。 mailto:sage [2005/06/09(木) 14:16:23 ID:yH7etwQi]
- CraftLaunch/Ex(倉)
hp.vector.co.jp/authors/VA012411/ について語るスレ 過去スレ Craftlaunchを応援しよう!Part 4 pc8.2ch.net/test/read.cgi/software/1074523900/ Craftlaunchを応援しよう! Part 3 pc2.2ch.net/test/read.cgi/software/1041429042/ Craftlaunchを応援しよう! Part 2 pc3.2ch.net/test/read.cgi/software/1015665823/ Craftlaunchを応援しよう! pc.2ch.net/win/kako/981/981464983.html 関連スレ おすすめのランチャーを教えるスレ Part5 pc8.2ch.net/test/read.cgi/software/1107340418/ 関連サイト CraftLaunchを応援したいし (Wiki) craft.office.vg/ Craft Launchを応援したいし、生きているし。 www.geocities.jp/craftlaunchex/ 名無し屋本舗 www.geocities.co.jp/SiliconValley-SantaClara/1364/
- 298 名前:名無しさん@お腹いっぱい。 mailto:sage [2006/02/09(木) 23:01:26 ID:0olw8ohJ0]
- >>297
config.py に以下を追加でできるみたいですが 空白を含むパスだと失敗します... ショートネームに変換すればよさそうだけど... import clmode_launcher OldLauncherExecute = clmode_launcher.LauncherMode.OnExecute def MyLauncherExecute(self, event): import os.path if os.path.isdir(event.str): event.str = 'explorer.exe;/e,"%s"' % os.path.normpath(event.str) OldLauncherExecute(self, event) clmode_launcher.LauncherMode.OnExecute = MyLauncherExecute
- 299 名前:名無しさん@お腹いっぱい。 mailto:sage [2006/02/09(木) 23:18:21 ID:0olw8ohJ0]
- というわけで、win32api を使ったバージョンも置いておきますね。
こちらは空白を含むパスもOKですが、Python for Windows extensions が必要です。 import clmode_launcher OldLauncherExecute = clmode_launcher.LauncherMode.OnExecute def MyLauncherExecute(self, event): import os.path import win32api if os.path.isdir(event.str): event.str = win32api.GetShortPathName( os.path.normpath(event.str) ) event.str = 'explorer.exe;/e,"%s"' % event.str OldLauncherExecute(self, event) clmode_launcher.LauncherMode.OnExecute = MyLauncherExecute
|

|