StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
 All Forums
 General Discussion
 General Discussion
 gesture for opening a subfolder?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
patrickcas Posted - 04/07/2015 : 03:35:16
Hi everyone,

I've been trying to create a gesture for opening a given subfolder (D:\Video\_Da vedere)

I tried the usual gesture I use for folders such as d:\Folder (acShellExecute("open", "D:\\Folder\\", "", "", 1)) by replacing the path.
I tried these two scripts (which do not work):
acShellExecute("open", "D:\\Video\_Da vedere\\", "", "", 1)
acShellExecute("open", "D:\\Video\\_Da vedere\\", "", "", 1)

If someone could fix this, I would be very grateful.

thanks, and ciao from Italy.
6   L A T E S T    R E P L I E S    (Newest First)
Rob Posted - 04/10/2015 : 13:28:25
Ah! I thought something was weird about that message after using forward slashes. Glad to hear you solved it.
patrickcas Posted - 04/10/2015 : 13:26:26
Hi, at the end I solved the riddle:
the problem was that the name of the action contained "_": I changed it (keeping the original name of the folder in the directory) and everything runs perfectly!

What a great software this is!


patrickcas Posted - 04/08/2015 : 11:24:14
Yes, but I keep getting this Lua script error!:
[string "ActionScript"]:18: invalid escape sequence near '\_'

I also tried to change the gesture, and I also tried with another subfolder
(D:\Video\Telefilm), but it is always the same behaviour.

Rob Posted - 04/08/2015 : 08:42:51
Have you tried using single forward slashes instead?
patrickcas Posted - 04/08/2015 : 06:52:35
Thank you for your kind reply:

I tried again, and I get either this message:
[string "ActionScript"]:18: invalid escape sequence near '\_'
or this folder opens:
Desktop\Questo PC

It seems that every time I try the gesture, I get 1 error, 1 Questo Pc opened, 1 error, and so on...
Rob Posted - 04/08/2015 : 04:39:44
I created the folder structure above and this script works on my computer:

acShellExecute("open", "D:\\Video\\_Da vedere\\", "", "", 1)

I'm not sure what is happening on your system that is causing it not to work. Have you tried putting something in place of the acShellExecute call to make sure the code is being executed? Like:

acMessageBox("Da vedere")

... then perform the gesture and see if the message box appears.

StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000