Search Results

Search: Posts Made By: mainegate
Forum: Web Development 11-18-2008
5,169
Posted By mainegate
php youtube style embed code
I'm looking to have a embed code for people be as short as possible. I'm trying to figure out how to do this. So something like...

<EMBED SRC="http://www.website.com/myembedscript.php?id=1"
...
Forum: Web Development 11-18-2008
7,232
Posted By mainegate
I fixed the issue by putting that it was an xml...
I fixed the issue by putting that it was an xml file in the header and was able to write it out into the xml file perfectly.
Forum: Web Development 11-18-2008
7,232
Posted By mainegate
PHP echo everything including brackets and quotes
How can I print exactly what I want in between my quotes? I have xml that I want to echo exactly and it is not printing out the brackets and gets hung up at the "<?" and all that. Is there a way I...
1,640
Posted By mainegate
Terminal to the front no matter what
Is there a way to bring the terminal script to the front? I am running this script through OMCEdit which is then running it through Terminal. I have some dialog boxes (using osascript) and the dialog...
2,003
Posted By mainegate
Thanks guys. I went with Chris's solution. It is...
Thanks guys. I went with Chris's solution. It is limited like you said Jim (you need to have exact syntax for it to work) but Jim your solution is way over my head for a beginner! For what I am doing...
2,003
Posted By mainegate
detecting the part of a filename
I like to have the date in the 2008-09-01 format at the beginning of my filenames. I then hyphenate after that and then have my filename.

I have a script that creates this for me. However, I may...
20,694
Posted By mainegate
lowercase basedir? get filename
Is there an equivalent of basedir in shell script? I have a file location and I want to lowercase just the filename not the path.
1,827
Posted By mainegate
Thanks to the both of you. zouhair...the fire one...
Thanks to the both of you. zouhair...the fire one (path one) echo'd the full path again...just an fyi.



THESE WORK:

1) filename - no path or extention ....so just....file
...
3,597
Posted By mainegate
O.K. I solved the beach ball problem. I have...
O.K. I solved the beach ball problem. I have OMCEdit which allows me to do the context menus and get the variables and that was running the script in silent mode(popen)...I changed it to do Shell...
1,733
Posted By mainegate
proper date and concatenation for filename
I'm trying to the date in the proper format so I can put it as a variable.

The format is: 2008-08-01

What I want is to have this date variable(2008-08-01) then concatenate other stuff to make a...
3,597
Posted By mainegate
It is a great thing to have a log file or else I...
It is a great thing to have a log file or else I never would have thought about that.

I'm confused to why the file is not created right away like it was before (even though it was not 100%)...
1,827
Posted By mainegate
stripping a variable down
I have a variable that has an absolute path for a file on my computer. This dynamically changes. Is there a way I can assign two new variables from that one?

variable:...
3,597
Posted By mainegate
I think it works now but I'm totally confused as...
I think it works now but I'm totally confused as to why it is behaving this way. The script below works...or at least once the file has encoded completely the QT movie opens...about 15 seconds or so...
23,528
Posted By mainegate
see if a file is open
I need to find out if a file is currently begin written to. I have read that you can use Stat in terminal and you can compare the Access/Modify. How would I go about doing this? I want to put it in a...
3,597
Posted By mainegate
Ya I put only one & and changed it to [ $? -eq 0...
Ya I put only one & and changed it to [ $? -eq 0 ] and QT pops up once the file is created but not when the file is complete. If you check the info of the file when converting it keeps adding to the...
3,597
Posted By mainegate
I have simplified it to just open the file after...
I have simplified it to just open the file after conversion. I think the problem is the script thinks it is done when the file is created like 30 seconds into encoding or so. However, the file is not...
3,597
Posted By mainegate
not waiting...why?
My shell script is not waiting. I right click on a file and say convert it to whatever and it runs this script. It converts it using Compressor but I want it to wait until it is 100% done before...
1,737
Posted By mainegate
It still doesn't wait. I think the problem is it...
It still doesn't wait. I think the problem is it creates a flv file when it is encoding so there technically is a file there. Any suggestions around this?
1,737
Posted By mainegate
not waiting
I have a script that runs Compressor and converts the file then I want it to inject the file with Flvtool2. My script works fine but the flvtool2 is starting too early. I have tried to put it in the...
1,762
Posted By mainegate
control click variables
I want to be able to control click (Mac) and be able to select from a context menu...run file....and have it dynamically run based on the control click.

How do I get the control click absolute...
5,162
Posted By mainegate
textbox and user interaction
I'm wanting to get user interaction...textbox or checkboxes would be great. I want to allow someone to enter data into textbox. (this is the time I want to grab a photo from) Then I want to be able...
31,347
Posted By mainegate
echo $0
I'm trying to figure out how to get the full path of a file. I found that typing:
echo $0 THEN I DRAG THE FILE INTO THE TERMINAL

That gets the full path but I can't figure out how to put that...
7,530
Posted By mainegate
get absolute filename
How would I get the absolute filename of a selected file...I want to control click...I already have the context menu all set to run a script...I just need to be able to get the file name of the file...
Showing results 1 to 23 of 23

 
All times are GMT -4. The time now is 10:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy