Terminal App inside a Bundle App
Terminal App inside a Bundle App
- Subject: Terminal App inside a Bundle App
- From: Yvan Richard <email@hidden>
- Date: Fri, 25 Jul 2003 04:09:58 +0200
Hello Everybody,
I think I am not in the good place to pose my question, but I don't
have knowledge of an other better place.
I have wrote a little app with RealBasic that convert an Image into
a desired PRN files. RealBasic doesn't support USB, so I wrote
a terminal app with ProjectBuilder to send my PRN files to the
desired printer by passing the path of the Prn files, the usbvendor
& usbproduct as argument.
In the way to be clean & to store my terminal usb app & prn files,
I convert my RealBasic app into a Bundle app. I create a folder
named Utiles inside my bundle at the same level of the Contents
Folder & I put my terminal app and an empty PRN files inside.
When my realbasic app run, I ask her to get her one absolutepath,
to know the path of my folder Utiles. With this path I send to my usb
terminal app using a shell class inside realbasic, the cmd :
"./pathUtiles/usbapp /pathUtiles/prnfiles usbvendor usbproduct"
The shell result return : Permission denied.
With an Utiles folder outside the bundle it work great.
How can I do to continue with my Utiles folder inside the Bundle app.
Thanks Everybody,
Yvan
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.