New question #267752 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267752

Environment: Sikulix IDE + sikulixsetup-1.1.0-20150601.231015-92-forsetup.jar

Just want to clear regarding the following:

makePath(path1, path2, path3, ...)
returns a path with the correct path seperators for the system running on by 
concatenating the given path elements
from left to right (given as strings). There is no trailing path seperator.

makeFolder(path1, path2, path3, ...)
same as makePath() but trailing path seperator to make it suitable for string 
concatenation.

NOTE makePath and makeFolder on Windows the first path element can be specified 
as a drive letter “X:”

-------------
mpath = makePath("D:\\","TestTool3","helloworld.sikuli")
print mpath
mpath = makeFolder("D:\\","TestTool3","helloworld.sikuli")
print mpath
-------------
D:\TestTool3\helloworld.sikuli
D:\TestTool3\helloworld.sikuli\
------------

But when I tried it, the drive should have "\\" because if not the output path 
will be
------------
D:TestTool3\helloworld.sikuli
D:TestTool3\helloworld.sikuli\
------------
Am I doing it correctly?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to