Author |
Message |
Krocker
|
Posted: Tue Mar 01, 2011 9:35 pm Post subject: Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
how do i make turing open up a hidden folder after the password was entered correctly? The folder is hidden and i want turing to open that folder when the users input the right password. is that posible? and how pplz, i have been at this all day!!!!! |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
mirhagk
|
Posted: Tue Mar 01, 2011 9:36 pm Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
from what I understand Turing does not have the ability to do that. It was developed for high school students, and so has many restrictions. |
|
|
|
|
 |
Krocker
|
Posted: Tue Mar 01, 2011 9:42 pm Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
darn, r u sure there is no way of creating a program that opens up a hidden folder if the password is correct?. is there another way to do that, maybe using a 3rd party or another programming software? |
|
|
|
|
 |
Insectoid

|
Posted: Tue Mar 01, 2011 10:13 pm Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
Well you could hide the folder in Explorer, and then just write a program to open it like a shell. Or if possible execute a console command to open Explorer to that folder. |
|
|
|
|
 |
Tony

|
Posted: Tue Mar 01, 2011 10:20 pm Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
I think you'd have to specify by which means a folder is hidden, and what is responsible for the password. What kind of content do you hope to keep in such a folder? |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
 |
mirhagk
|
Posted: Wed Mar 02, 2011 12:05 am Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
If it's specific data, you could write something that would encrypt the data, and decrypt it with the right password |
|
|
|
|
 |
Krocker
|
Posted: Wed Mar 02, 2011 7:27 am Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
its a folder that constains other folders with pictures, videos and documents. its for my usb. im trying to create a password that when typed correctly its displays the folder with the contant. |
|
|
|
|
 |
ecookman

|
Posted: Wed Mar 02, 2011 11:08 pm Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
Just wondering, is the folder just set to a hidden status or is it plainly not visible on the drive due encryption.
If its just hidden, it'd be very easy to find, and its not hard to notice that a drive has used space and no folders, and its simple as folder options- view- show hidden folders.
as for a password its a basic if statement (I'm kinda foggy with Turing's syntax but its all here in terms of logic]
Turing: |
loop
var password : [string for text int for numbers ]
put "what is the password"
get password
if password = "[what you want it to be]" then
put "correct"
else
put "incorrect"
delay (1000)
exit
%here is where you would put any following action but i do believe that insectoid is correct
end loop
|
|
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Krocker
|
Posted: Thu Mar 03, 2011 7:20 am Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
k, i have something like that, but the problem is trying to get the folder to open, the pasword works. the folder is hidden as an attribute not encrypted. so ya. |
|
|
|
|
 |
ecookman

|
Posted: Fri Mar 04, 2011 10:17 pm Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
Like the others I'm not sure that Turing can do that, BUT I know that using VB scrips you can. |
|
|
|
|
 |
mirhagk
|
Posted: Sun Mar 06, 2011 3:24 pm Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
Sys.Exec lets you do system commands, just sends a string to the operating system for it to run
for instance
Turing: |
if not Sys.Exec ("secret") then
%do some error handling or something
put "doesnt exist"
end if
|
will tell the operating system to run "secret".
If this is a program or a file, itll run or open the file. However if it is a folder, itll simply pop up a window with the folder's contents in it.
I've tested it out with the hidden file, and yes it works.
I'm pretty sure this is what your asking for.
EDIT: Again this is not a very secure way to do things, as you can view hidden folders if you have the option enabled. But on school computers you may not be able to, so it should suffice on school computers |
|
|
|
|
 |
Tony

|
Posted: Sun Mar 06, 2011 3:38 pm Post subject: Re: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
mirhagk @ Sun Mar 06, 2011 3:24 pm wrote: But on school computers you may not be able to
but school's system administrators can. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
 |
mirhagk
|
Posted: Sun Mar 06, 2011 4:23 pm Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
well yeah, but it's not a very secure thing like i said.
also there are many explorer programs that you can use that will disply hidden folder |
|
|
|
|
 |
Grim
|
Posted: Tue Mar 08, 2011 7:09 pm Post subject: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
I was also of the understanding that this forum had a strict "No System commands" policy.
As said before, you could do it, but there wouldn't be much point. You could hide the folder and run a saved script from Turing, but again, why bother? |
|
|
|
|
 |
Grim
|
Posted: Tue Mar 08, 2011 7:09 pm Post subject: Re: RE:Opening Folders using turing!!! plz help!!!!!!!!!!! |
|
|
Tony @ 6/3/2011, 15:38 wrote: mirhagk @ Sun Mar 06, 2011 3:24 pm wrote: But on school computers you may not be able to
but school's system administrators can.
If they know how to. |
|
|
|
|
 |
|